2754 Commits

Author SHA1 Message Date
boks1971
2b73e7cac5 Merge remote-tracking branch 'origin/master' into raja_pc 2025-08-21 15:38:36 +05:30
Raja Subramanian
d62336e1a6 Remove unnecessary check (#3870) 2025-08-20 09:24:13 +05:30
boks1971
3c3d82eea8 WIP 2025-08-19 23:59:31 +05:30
boks1971
b3de96ccc2 publisher check 2025-08-19 00:32:48 +05:30
boks1971
eb156d2f8c use the available peer connection 2025-08-18 08:55:48 +05:30
cnderrauber
b660c3b582 Extract video size from media stream (#3856)
* Extract video size from media stream

* fix test
2025-08-18 09:06:57 +08:00
boks1971
435d883133 Anunay feedback 2025-08-17 22:38:46 +05:30
boks1971
4eb5912009 don't need to copy 2025-08-17 16:40:18 +05:30
boks1971
6dd92649ea Merge remote-tracking branch 'origin/master' into raja_pc 2025-08-17 13:20:51 +05:30
boks1971
75d960aeab dtx 2025-08-17 13:19:40 +05:30
Raja Subramanian
456b870936 Fix missed unlock (#3861)
* Fix missed unlock

* select alternative codec if no codec specified
2025-08-17 13:08:45 +05:30
boks1971
e5f729aeff alternative audio codec 2025-08-17 12:35:26 +05:30
boks1971
5c03312b99 clean up 2025-08-16 21:06:48 +05:30
boks1971
2e0bbb97de clean up 2025-08-16 20:21:43 +05:30
boks1971
e89f30e945 clean up 2025-08-16 20:09:47 +05:30
boks1971
22befff6c1 limit to receive only 2025-08-16 20:06:48 +05:30
boks1971
5ffbd82cb2 populate mid 2025-08-16 19:52:26 +05:30
boks1971
936ce36f29 combined config 2025-08-16 16:54:00 +05:30
boks1971
27bca60bb2 munges 2025-08-16 15:05:19 +05:30
boks1971
ae5b90c60e todo 2025-08-16 13:31:09 +05:30
boks1971
2c3aa7a208 Merge remote-tracking branch 'origin/master' into raja_pc 2025-08-16 13:18:05 +05:30
boks1971
9e11ac0095 test 2025-08-16 13:15:02 +05:30
boks1971
15f10f3590 type check 2025-08-16 12:47:53 +05:30
boks1971
67cafe402a test 2025-08-16 12:44:17 +05:30
boks1971
d39e47b469 test 2025-08-16 10:04:51 +05:30
boks1971
19396d57cc test 2025-08-16 10:01:51 +05:30
Raja Subramanian
d500806eed Handle no codecs in track info. (#3859)
* Handle no codecs in track info.

Not sure how it happens, but seeing a panic caused by no codecs in track
info. Avoiding that and logging information when it happens.

* log request
2025-08-16 00:18:38 +05:30
boks1971
8aaac9b397 tests for both dual and single peer connection 2025-08-15 16:30:42 +05:30
boks1971
7183dcaad3 conditional checks 2025-08-15 12:58:55 +05:30
boks1971
c84ec9dc24 clean up 2025-08-15 12:22:21 +05:30
boks1971
15d99570e9 clean up 2025-08-15 12:15:24 +05:30
boks1971
4ae9c5b818 clean up 2025-08-15 12:04:13 +05:30
boks1971
0e46733e36 fixes 2025-08-15 11:52:25 +05:30
boks1971
bd621290c2 clean up 2025-08-15 11:34:00 +05:30
boks1971
cdc5628d1f clean up 2025-08-15 10:43:17 +05:30
boks1971
0f746fe265 test 2025-08-15 02:49:53 +05:30
boks1971
3842882a04 WIP 2025-08-15 02:16:15 +05:30
boks1971
94b4a72b49 Merge remote-tracking branch 'origin/master' into raja_pc 2025-08-14 20:29:16 +05:30
Raja Subramanian
11b240d67d Log track settings more. (#3853) 2025-08-14 20:26:15 +05:30
boks1971
cde5fc119d WIP 2025-08-14 19:52:24 +05:30
Raja Subramanian
1aa0f96374 Log signal messages on media node. (#3852) 2025-08-14 18:12:17 +05:30
Raja Subramanian
b182d07bac Log signal messages as debug. (#3851) 2025-08-14 16:17:45 +05:30
boks1971
dc576a5c80 sdp cid argument 2025-08-14 12:54:05 +05:30
boks1971
1b03d382fa WIP 2025-08-14 09:48:30 +05:30
Raja Subramanian
a370bb2054 Support G.711 A-law and U-law (#3849)
* More codecs

* clean up

* clean up

* add to unprocessed for nil mime type

* enhance tests to check for audio codec preferences also
2025-08-13 14:49:07 +05:30
Raja Subramanian
fa5f4ef33c Populate SDP cid in track info when available. (#3845)
* Populate SDP cid in track info when available.

- Adding SDP cid to TrackInfo. Browsers like FF uses a different stream
  id for AddTrack and actual SDP offer. So, have to look up using both
  on server side. To make it easier, store both (only if different) in
  TrackInfo.
- Use a codec in TrackInfo for audio also. There is some discussion
  around doing simulcast codec for audio so that something like PSTN can
  use G.711 without any transcoding. So, just keep it consistent between
  audio and video.
- Populate SDP cid when SDP offer is received. It could populate a
  pending track or an already published track if the new offer is for a
  back up codec where the primary codec is already published.
- Passed around parsed offer to more places to avoid parsing multiple
  times.
- Clean up MediaTrack interface a bit and remove unneeded methods.

* WIP

* WIP

* deps

* stream allocator mime aware

* clean up

* populate SDP cid before munging

* interface methods
2025-08-13 10:53:16 +05:30
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
Raja Subramanian
1b2289137d Support video layer mode from client and make most of the code mime aware (#3843) 2025-08-09 21:26:11 +05:30
Raja Subramanian
f2da4444b4 Support per simulcast codec layers. (#3840)
* different layers

* deps
2025-08-08 19:53:38 +05:30
Raja Subramanian
f275f592ed handle SyncState in join request (#3839)
* handle SyncState in join request

* check for nil in function
2025-08-08 10:14:02 +05:30