David Zhao
c1d7dbd4fc
Tweaks to prometheus participant counter ( #1240 )
...
* Tweaks to prometheus participant counter
Ensure that we don't miss adding a count in migration scenarios
* avoid nil ICEConfig
2022-12-19 14:30:14 -08:00
Raja Subramanian
241a7120f5
ICE config using protocol model ( #1233 )
...
* ICE config using protocol model
* use pointers consistently
* protocol pointer
* mage generate
2022-12-19 10:25:08 +05:30
David Zhao
7a1273151f
Update to new logging library, using sampling participant logger ( #1219 )
2022-12-09 00:09:03 -08:00
cnderrauber
3c907ed460
Add stats for data channel and signal ( #1198 )
...
* Add stats for data channel and signal
* Solve comment
2022-11-30 14:53:19 +08:00
cnderrauber
5a8a6d11b2
Set track level codec settings for all pending tracks ( #1148 )
2022-11-07 17:45:23 +08:00
cnderrauber
5edb42a9fd
experiment fallback to tcp when udp unstable ( #1119 )
...
* fallback to tcp when udp unstable
2022-10-31 09:40:20 +08:00
Raja Subramanian
2fb744c36f
Prevent multiple transport fallback in same session. ( #1090 )
2022-10-17 10:10:31 +05:30
cnderrauber
8fd3e8fe2d
Support track level stereo and red setting ( #1086 )
...
* Support track level stereo and red setting
* fix test client
2022-10-17 10:48:11 +08:00
Raja Subramanian
a5bed14d02
Allow TCP fallback on multiple failures. ( #1077 )
2022-10-10 09:29:29 +05:30
David Zhao
7e3155dcd6
ForceTCP only for supported clients ( #997 )
...
* ForceTCP only for supported clients
Revert back to standard if forceRelay with TLS fails
Don't force TLS unless it's configured
* fix lint
2022-09-09 18:14:36 -07:00
cnderrauber
f1915feb1a
keep mid unchange after migration for subscribed track ( #995 )
2022-09-09 17:39:09 +08:00
Raja Subramanian
d13c4be923
Close subscriber PC after a wait to aid in migration. ( #979 )
...
* Close subscriber PC after a wait to aid in migration.
* mage generate
2022-09-03 01:16:51 +05:30
David Zhao
69bf31944e
Send connection type to telemetry ( #964 )
...
* Send connection type to telemetry
When connected, determine how the participant's primary connection is
connected and report it in ParticipantActive event.
* address feedback
* fixed case where prflx is reported instead of relay
* incorporate comments
2022-08-29 23:17:13 -07:00
Raja Subramanian
06a46d5de0
Replace Target with params to indicate direction ( #955 )
...
* Replace Target with params to indicate direction
* Add missed send answer call
2022-08-25 08:33:06 +05:30
cnderrauber
1350400c3a
fallback to turn over tls when tcp short connection happen ( #950 )
...
* fallback to tls when tcp failed
* go mod
* magefile
2022-08-24 20:42:56 +08:00
Raja Subramanian
aaa3a5b46e
Transport restructure ( #944 )
...
* WIP commit
* WIP commit
* fix copy pasta
* setting PC with previous answer has to happen synchronously
* static check
* WIP commit
* WIP commit
* fixing transport tests
* fix tests and clean up
* minor renaming
* FIx test race
* log event when channel is full
2022-08-24 14:31:45 +05:30
cnderrauber
a118d21af0
add red codec for opus ( #938 )
...
* opus/red codec
* panic
* forward red track to nonred subscriber
* config
* clean code
* solve comments
2022-08-22 12:32:27 +08:00
Raja Subramanian
0cd9c87dc9
Misc clean up ( #931 )
...
* Start RTCP workers after peer connection connects
* Move more things into transport module
* Start RTCP workers only on connected
* Test needs PeerConnection() method
* adjust comment
2022-08-19 11:49:12 +05:30
David Zhao
1d199d1efa
Populate network field when set by clients ( #919 )
2022-08-15 23:28:15 -07:00
cnderrauber
c38d4df52f
server side codec preference for publish ( #916 )
2022-08-15 18:46:24 +08:00
Raja Subramanian
b7c44f1ecd
Move reset of local description sent on ICE restart internally ( #909 )
2022-08-12 13:04:06 +05:30
Raja Subramanian
692c4d804f
Cache local candidates till local description is sent ( #908 )
2022-08-12 12:31:26 +05:30
Raja Subramanian
641f8d4519
Transport refactor ( #907 )
...
* WIP commit
* WIP commit
* WIP commit
* WIP commit
* WIP commit
* Clean up
* fix tests
* debug logs
* Remove comments
* Fix data channel creation on migration and clean up unused stuff
* log offer/answer send/receive
2022-08-12 11:20:54 +05:30