Commit Graph

892 Commits

Author SHA1 Message Date
Raja Subramanian
ebdcead511 Update mediatransportutil to get bucket packet size limit. (#4120) 2025-12-01 11:31:37 +05:30
Raja Subramanian
411b09f6ca Release v1.9.5 (#4119) 2025-12-01 10:51:07 +05:30
Raja Subramanian
8dcf235a02 Update pion/ice - attempt to address tcp packet conn close hang (#4116) 2025-11-30 20:06:19 +05:30
Raja Subramanian
64c651431e Update mediatransportutil (#4115)
- New bucket API to pass in max packet size and sequence number offset
  and seequence number size generic type
- Move OWD estimator to mediatransportutil.
2025-11-28 21:51:53 +05:30
Raja Subramanian
9c483a693a Use released version v1.8.41 of pion/sctp (#4113) 2025-11-27 21:01:00 +05:30
Raja Subramanian
35c79a57d7 Update SCTP hash, had the wrong one in previous PR (#4111) 2025-11-27 15:52:45 +05:30
Raja Subramanian
e0fbbef1cd Update pion/sctp with RFC9260 revert (#4110) 2025-11-27 15:32:10 +05:30
Raja Subramanian
f3c8091797 Try SCTP with read deadline to unblock abort. (#4109) 2025-11-27 13:18:06 +05:30
Raja Subramanian
6d4154b8a7 Update pion/ice. (#4107)
Hopefully this solves the peer connection close hang.
2025-11-27 00:54:49 +05:30
Raja Subramanian
7f10e18bac Record join/publish/subscribe cancellations. (#4102)
To get better picture of success/failure rate.
2025-11-25 14:06:02 +05:30
Raja Subramanian
37a06821e2 logger proto redaction. (#4090)
Unfortunately, this could not be used for twirp/analytics redaction.

Probably worth writing a proto clone utility which will filter out based
on tags.
2025-11-18 14:15:17 +05:30
Raja Subramanian
5175c1afa1 Lock x/tools at 0.37.0 (#4085) 2025-11-15 19:14:03 +05:30
Raja Subramanian
d510fff1e7 Downgrade x/tools to be able to make a release (#4084) 2025-11-15 18:56:22 +05:30
Raja Subramanian
c3ea5890d5 Prepare release v1.9.4. (#4083)
- Removing x/tools replace for release script to work. Will add it after
  the release.
2025-11-15 17:08:17 +05:30
Alex
3a128e61c1 protocol bump for SIP error mapping and validation (#4081) 2025-11-14 10:54:26 -08:00
Raja Subramanian
f4929f099e Revert "Revert pion/transpor to v3.0.8 (#4073)" (#4074)
This reverts commit a04d9c48a5.
2025-11-12 13:10:05 +05:30
Raja Subramanian
a04d9c48a5 Revert pion/transpor to v3.0.8 (#4073)
Will put this back after propagating some other changes without this
change as this is core and needs more soak time.
2025-11-12 12:49:28 +05:30
cnderrauber
2d5054ad01 kind details for connector (#4072) 2025-11-11 21:50:48 +08:00
Raja Subramanian
b9b4eec991 Update pion/transport to v3.1.1 (#4070)
To pick up ping-pong batch write.
2025-11-11 10:55:01 +05:30
Paul Wells
b23d093c2f update protocol (#4069)
* update protocol

* deps
2025-11-09 19:42:08 -08:00
renovate[bot]
858db7ab7a fix(deps): update module github.com/livekit/protocol to v1.43.0 (#4015)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-08 01:50:43 -08:00
Raja Subramanian
f6909192bb Update PsRPC to get redis pipeliner implementation. (#4055)
* Update PsRPC to get redis pipeliner implementation.

* clean up
2025-11-05 22:42:21 +05:30
Raja Subramanian
9ca6ee0077 Use replace so that x/tools does not get overridden (#4048) 2025-11-02 17:58:01 +05:30
Anunay Maheshwari
b9323eab39 chore(deps): downgrade x/tools for counterfeiter (#4047) 2025-11-02 17:16:06 +05:30
Raja Subramanian
5042c06cb2 Use rtp converter from protocol/utils/rtputil (#4020)
* Use rtp converter from protocol/utils/rtputil

* lock x/tools as counterfeiter needs it
2025-10-22 15:15:46 +05:30
Raja Subramanian
5a426d15e1 Use rtp converter from protocol/utils (#4019) 2025-10-22 14:09:33 +05:30
Raja Subramanian
ad074ed2a5 counterfeiter needs an older version of x/tools (#4009) 2025-10-16 09:54:44 +05:30
Raja Subramanian
e63e8b6f2d Include mid -> trackID in both SDP offer and answer. (#4007)
This can be used by dual peer connection clients also.
2025-10-16 09:19:13 +05:30
Raja Subramanian
69ff25a055 Use answer with mid -> trackID mapping when in single peer connection (#4005)
* Use answer with mid -> trackID mapping when in single peer connection
mode.

* mage generate

* staticcheck

* handle mapped answer in tests
2025-10-15 19:36:22 +05:30
Raja Subramanian
fe912acf37 Update pion/webrtc to prevent GetStats panic. (#4004)
Also, closing all data channels before closing peer connection.
2025-10-15 13:11:14 +05:30
Nishad
100bb46af3 Adding ProviderInfo to GetSIPTrunkAuthenticationResponse (#3993) 2025-10-12 15:40:32 +05:30
Benjamin Pracht
be018f97b6 Provide the InputVideo/AudioState to Ingress in WHIPRTCConnectionNotify (#3982) 2025-10-06 14:16:35 -07:00
cnderrauber
89a2f46cbf Update deps to fix redis issue when 1 cluster address is provided (#3969)
Fix #3957
2025-09-30 11:48:08 +08:00
Paul Wells
060719d17d add config for user data recording (#3966)
* add config for user data recording

* missing file

* wire

* deps
2025-09-29 14:01:39 -07:00
Raja Subramanian
735c663adc Update protocol for EventKey helper. (#3963) 2025-09-29 11:42:18 +05:30
Anunay Maheshwari
990c5fafbb feat: server rpc apis (#3904)
* feat: server rpc apis

* fix: cleanup

* fix: move rpc impl to participant

* cleanup

* cleanup, psrpc errors

* remove TODO comment

* update protocol, handle participant disconnect case

* add ephemeral participant identity to rpc data packet

* fix: panic

* chore(deps): bump proto
2025-09-24 13:16:27 +05:30
Raja Subramanian
856e0871bc mediatransportutil to log local address when validating external IP (#3942) 2025-09-22 23:52:16 +05:30
Alex
40101cf7dd Update protocol for SipCreateParticipant (#3939) 2025-09-19 10:47:11 -07:00
Raja Subramanian
dc6825c010 mediatransportutil crash fix for logging local address (#3930) 2025-09-16 19:15:49 +05:30
Raja Subramanian
d6f0588fb2 Update mediatransportutil to log external IP found via STUN. (#3929) 2025-09-16 16:34:23 +05:30
Raja Subramanian
798fa76110 Support simulcasting of audio (#3920)
* WIP

* WIP

* new files

* clean up

* test

* Deps

* clean up

* clean up

* goimports latest
2025-09-12 10:20:04 +05:30
Paul Wells
782a35e801 update protocol for psrpc (#3915) 2025-09-10 21:01:28 -07:00
cnderrauber
76645fad5e Rpcs for ingress proxy WHIP (#3911)
See https://github.com/livekit/protocol/pull/1194
2025-09-09 22:49:42 +08:00
Paul Wells
17c349210d update protocol for sip api change (#3902) 2025-09-06 12:00:22 -07:00
Raja Subramanian
07c40cf349 Use RequestResponse to report protocol handling errors (#3895)
* Send errors as necessary

* WIP

* WIP

* WIP

* WIP

* deps

* static check

* fix test

* test

* test

* logs
2025-09-04 11:27:07 +05:30
Raja Subramanian
890fd94249 Single peer connection mode (#3873)
* WIP

* check using protocol version

* revert

* clean up

* sdp cid argument

* WIP

* WIP

* test

* clean up

* clean up

* fixes

* clean up

* clean up

* clean up

* conditional checks

* tests for both dual and single peer connection

* test

* test

* test

* type check

* test

* todo

* munges

* combined config

* populate mid

* limit to receive only

* clean up

* clean up

* clean up

* older test

* clean up

* alternative audio codec

* dtx

* don't need to copy

* Anunay feedback

* use the available peer connection

* publisher check

* WIP

* WIP

* WIP

* no mid

* media sections requirement

* mage generate

* WIP

* WIP

* set data channel receive size for test

* handle early media better

* WIP

* do not do ICERestart if no subscriber

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* start up subscriber RTCP worker

* WIP

* WIP

* clean up

* clean up

* flag to indicate use of single peer connection

* remove unused interface method

* clean up

* clean up

* Jie feedback #1

* deps

* do not access subscriber in one shot mode

* more places for one shot mode

* more one shot fixes

* deps

* deps

* test
2025-08-28 12:16:18 +05:30
cnderrauber
b4e146c5cb update mediatransport util for ice port 3478 (#3877) 2025-08-26 10:35:10 +08:00
renovate[bot]
98d577eed9 Update module github.com/livekit/protocol to v1.40.0 (#3865)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-17 20:41:35 -07:00
renovate[bot]
afbf541ee2 Update pion deps (#3863)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-17 20:34:44 -07:00
Raja Subramanian
eed27885e5 Send participant_connection_aborted when participant session is closed (#3848)
* Send `participant_connection_aborted` when participant session is closed
without becoming `ACTIVE`.

There is one sticky case. If there is a migration and the migration
fails, this will send `participant_connection_aborted` even though the
participant may have connected properly on the previous node.

* depsg
2025-08-13 10:36:31 +05:30