Omar Pakker
e9b113c8f2
Make the TURN bind address configurable and allow for multiple addresses. ( #4315 )
2026-03-30 14:46:10 +08:00
Raja Subramanian
4bc5e6bbef
Address malformed H264/H265 parsing issues. ( #4407 )
...
* Address malformed H264/H265 parsing issues.
Thank you for the report in
https://github.com/livekit/livekit/security/advisories/GHSA-qxj9-fmqx-r7j8#advisory-comment-179701
with examples. Addressing the parsing issues.
* early continue
2026-03-30 09:30:58 +05:30
Raja Subramanian
77a0a4fcc7
AV1 parser overflow fix. ( #4405 )
...
Upstream had patched this a while back -
c0b755f82f .
Addresses https://github.com/livekit/livekit/security/advisories/GHSA-qxj9-fmqx-r7j8
2026-03-29 09:53:15 +05:30
Anunay Maheshwari
ff7fd7ed56
feat(agent-dispatch): add job restart policy ( #4401 )
...
* feat(agent-dispatch): add job restart policy
* deps
2026-03-27 21:32:04 +05:30
Raja Subramanian
34bd1e0851
do not log roll over for padding only packets ( #4396 )
...
* do not log roll over for padding only packets
* calculated expected earlier
2026-03-26 11:47:29 +05:30
Paul Wells
13d02ee9a8
add deadline to dtls connect context ( #4395 )
2026-03-25 21:13:23 -07:00
Raja Subramanian
9055a34981
Path check helpers ( #4392 )
...
* Path check helpers
* remove trailing slash
2026-03-25 10:53:07 +05:30
cnderrauber
1f1eeb6832
Fallback to servicestore if rpc is unavailable ( #4391 )
...
* Fallback to servicestore if rpc is unavailable
compatibility mode for #4387
* conf
2026-03-25 11:09:52 +08:00
Raja Subramanian
59e9bb41b9
Fix TURN server URL ( #4389 )
...
Addresses https://github.com/livekit/livekit/issues/4384
2026-03-24 15:52:05 +05:30
Raja Subramanian
9e0a7e545f
Close both peer connections to aid migration. ( #4382 )
...
* Close both peer connections to aid migration.
In single peer connection case, that would close publisher peer
connection.
@cnderrauber I don't remember why we only closed subscriber peer
connection. I am thinking it is okay to close both (or the publisher
peer connection in single peer connection mode). Please let me know if I
am missing something.
* log change only
2026-03-24 14:19:46 +05:30
cnderrauber
9474c807c0
route participant reads through PSRPC instead of Redis ( #4387 )
...
rel: #4373
2026-03-24 16:25:11 +08:00
David Chen
a5333a86bb
add packet trailer stripping support ( #4361 )
...
* bump protocol version to 17 to enable packet trailer stripping functionality
* check subscriber protocol version for trailer stripping
2026-03-23 13:33:42 -07:00
Charlie Tonneslan
8cdd6f4cc7
Replace deprecated io/ioutil with io in whipservice ( #4375 )
...
ioutil.ReadAll has been deprecated since Go 1.16 in favor of io.ReadAll.
This was the last remaining io/ioutil usage in the codebase.
2026-03-21 10:01:30 -07:00
Théo Monnom
89410df74c
handle AGENT_ERROR disconnect reason ( #4339 )
2026-03-17 23:00:16 -07:00
Raja Subramanian
8f984c770a
Fix repair stream ID reporting for RTX pairing. ( #4369 )
...
If RTX stream got a packet before primary stream, the pairing was not
getting set up properly.
2026-03-17 15:06:57 +05:30
Raja Subramanian
cdfaacfca3
Restart nacker on OOB sequence number restart. ( #4368 )
...
Clears NACKs based on old sequence number base and restarts it.
Also rename the function to be more reflective of what stats lite is
for.
2026-03-17 09:16:08 +05:30
Raja Subramanian
750d5904f0
Add API to restart lite stats. ( #4366 )
2026-03-16 15:20:13 +05:30
Paul Wells
c8bb2578be
Rename log field "pID" to "participantID" for consistency ( #4365 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-15 04:32:02 -07:00
Raja Subramanian
77fc74a727
Do not block all ext ID determination on stream allocator listener ( #4364 )
...
availability.
Added checks for unexpected changes.
2026-03-15 14:30:47 +05:30
Raja Subramanian
90a46fabb1
Do not kick off migration of closed participant ( #4363 )
2026-03-15 10:39:55 +05:30
Raja Subramanian
5dc2e7b180
Switch data track extension to 1-byte ID/length. ( #4362 )
...
And match design to RTP header extension, i. e. the padding for
extensions is not at per extension level (which was the case before),
but has been changed to padding the aggregate of all extensions in this
PR.
2026-03-14 13:29:40 +05:30
Raja Subramanian
7323ad02b7
Sample data send error logging. ( #4358 )
...
There are cases where data channel is not created potentially and
logging on every one of those errors is verbose.
2026-03-12 12:02:18 +05:30
Raja Subramanian
0d34e45572
Add option to not re-use transceiver in e2ee. ( #4356 )
2026-03-11 17:41:13 +05:30
cnderrauber
95225ff2e1
don't require media section for dual peerconnection mode ( #4354 )
2026-03-09 20:56:55 +08:00
cnderrauber
e963953817
Refine ipv6 support ( #4352 )
...
* Refine ipv6 support
* go mod
* check ipv4 is set in turn
2026-03-09 20:43:00 +08:00
Milos Pesic
b34b047247
Add StopEgress function to the EgressLauncher interface ( #4353 )
...
This allows for abstracting away how the stop is implemented - default implementation stays the same - the existing OSS egress launcher just calls the existing Stop method on the client.
2026-03-09 13:17:05 +01:00
Raja Subramanian
db1a804696
defensive check for peer connection instance ( #4350 )
2026-03-08 08:34:53 +05:30
He Chen
cb7dc2d02a
TEL-405: support originating calls from custom domains ( #4349 )
2026-03-06 12:25:40 -08:00
Raja Subramanian
7eaaaada5d
Mark last run of grow bucket outside goroutine. ( #4348 )
...
* straem tracker debug logging
* tracker
* debug
* clean up
2026-03-06 19:36:13 +05:30
cnderrauber
caa47522fb
Add option to require media sections when participant joining ( #4347 )
...
Negotiate media tracks at first sdp round
2026-03-06 03:59:00 +08:00
Denys Smirnov
493e87dfd4
Fix SIP client timeout. ( #4345 )
2026-03-05 19:09:17 +02:00
Raja Subramanian
52c28a938d
Log a bit more details of out-of-order TWCC feedback report. ( #4343 )
...
* Log a bit more details of out-of-order TWCC feedback report.
* Revert to mono.Now()
2026-03-05 11:55:13 +05:30
Raja Subramanian
516aeabf45
Use ParticipantTelemetryListener of LocalParticipant. ( #4342 )
...
Had made a change in remote participant case to not have telemetry
listener as telemetry does not apply to remote participant. But, that
listener ended up getting used for subscriber and became a null
listener. Use the listener of the subscriber participant for subscribed
tracks.
2026-03-05 11:24:48 +05:30
cnderrauber
b35105656c
Exclude ice restart case from offer answer id mismatch warning ( #4341 )
2026-03-05 13:05:37 +08:00
cnderrauber
9d418689c6
Send participant left event after track unpublished for moved ( #4334 )
...
participant
2026-02-25 13:22:33 +08:00
Raja Subramanian
bab9186840
do not discount packets lost on duplicate packets ( #4333 )
2026-02-23 23:55:56 +05:30
Raja Subramanian
939794cf47
mark + restart ( #4329 )
2026-02-21 15:12:13 +05:30
Raja Subramanian
75f9c462be
Add debug for receiver restart. ( #4328 )
...
* Add debug for receiver restart.
Have a suspicion that something is deadlocking between restart receiver
and buffer bind during replay. Adding debug to get a better picture of
state of receiver restart.
* consistent logging
2026-02-20 01:44:59 +05:30
Raja Subramanian
74891f30fe
Protect against incorrect temporal layer. ( #4327 )
...
Seeing some tracks with temporal layer higher than array bounds.
Protect against it and log some info to understand better.
2026-02-19 23:57:58 +05:30
Raja Subramanian
b81bac0ec3
Key telemetry stats worker using combination of roomID, participantID ( #4323 )
...
Test / test (push) Failing after 17s
Release to Docker / docker (push) Failing after 3m42s
* Key telemetry stats work using combination of roomID, participantID
With forwarded participant, the same participantID can existing in two
rooms.
NOTE: This does not yet allow a participant session to report its
events/track stats into multiple rooms. That would require regitering
multiple listeners (from rooms a participant is forwarded to).
* missed file
* data channel stats
* PR comments + pass in room name so that telemetry events have proper room name also
2026-02-16 13:56:13 +05:30
Benjamin Pracht
03e90dd762
Fix for some CodeQL reported issues ( #4314 )
...
One of the fix is in updated protocol (logging of a request message that includes the turn server settings, including password).
2026-02-11 10:15:12 -08:00
Raja Subramanian
77c858f001
Log stats worker when it not closable. ( #4313 )
2026-02-11 13:18:34 +05:30
Jacob Gelman
a6035212f5
ESP32 client info ( #4267 )
2026-02-11 16:25:02 +11:00
Raja Subramanian
a9b8d40de4
Publish is always on publisher peer connection. ( #4307 )
2026-02-10 13:43:30 +05:30
cnderrauber
8ae564065e
generate & log egressID for start egress request ( #4303 )
...
* generate & log egressID for start egress request
* seprate method
* use ctx value instead of metadata
* comment
2026-02-10 09:34:56 +08:00
Raja Subramanian
35d7ef88c2
Avoid alloc in RTPStatsReceiver.Update ( #4302 )
...
Using a pointer to the logging context was doing allocations.
2026-02-09 11:53:17 +05:30
Raja Subramanian
bb744916fd
More optimisation in RTPStats module. ( #4298 )
...
Was hoping for more hidden bits to optimise, but oh well.
2026-02-06 21:33:41 +05:30
Raja Subramanian
cefd5da940
Optimise some bits in rtpstats_receiver ( #4297 )
...
* Optimise some bits in rtpstats_receiver
RTPStatsReceiver.Update is one of the high CPU bits. Taking some
suggestions from Cursor. Makes the `Update` function verbose though :-(
* zap.Inline logging fields
* rename
2026-02-06 21:26:30 +05:30
Raja Subramanian
52a4b848a4
Read client protocol from query param ( #4294 )
...
* Read client protocol from query param
* Atoi -> ParseInt
2026-02-06 11:33:13 +05:30
Raja Subramanian
195b17f62f
Populate client_protocol field in ParticipantInfo ( #4293 )
2026-02-06 00:34:56 +05:30