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
Raja Subramanian
5223c8292e
Attempt to fix CI UT ( #954 )
...
I don't like using `Target` as direction.
There is one place in code that depends on it.
I am thinking we should add a params `IsOfferer` or something to make it
explicit.
2022-08-24 22:31:18 +05:30
Raja Subramanian
34bab018dc
Do not initialize subscription version until explicitly set. ( #951 )
...
Initializing with current time means some updates are ignored.
Do not initialize until explicitly set.
2022-08-24 20:50:23 +05:30
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
Raja Subramanian
fae3857800
Log errors on sending offer/answer ( #933 )
...
* Log errors on sending offer/answer
* minor clean up
* remove unneeded logs
* fix test
2022-08-19 17:54:27 +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
Raja Subramanian
4703e30047
Use constants ( #875 )
2022-08-06 00:15:00 +05:30
Raja Subramanian
ab4d57ab5b
Filter out UDP candidates from SDP if allowing only TCP. ( #874 )
...
* Filter out UDP candidates from SDP if allowing only TCP.
* Do it properly
* static check
* Adding TCP candidates to test
2022-08-05 23:11:07 +05:30
cnderrauber
f17ed9b925
refine negotiation process ( #807 )
...
* refine negotiation process
* not restart during ice gathering
* fix test case
2022-07-04 17:11:09 +08:00
David Zhao
57e2321a18
Expose Participant.IsPublisher to differentiate pubs from subs ( #643 )
2022-04-21 22:15:01 -07:00
David Colburn
0b8a180554
Code inspection ( #581 )
...
* Code inspection
* fix [4]int64 conversiong
2022-03-30 13:49:53 -07:00
Raja Subramanian
2706dc130f
Replace sync/atomic usage with uber/atomic ( #471 )
2022-02-28 09:57:17 +05:30
David Zhao
6af6eefb8c
Improve readability of test failures ( #386 )
2022-01-28 21:34:21 -08:00
David Colburn
faa870de3d
Move callbacks out of messageRouter ( #269 )
...
* move callbacks out of messageRouter
* OCD
* more OCD
* fix forwarder test
* even more OCD
* maximum OCD
* package name collision, copy lock by value
2021-12-17 13:19:23 -08:00
David Zhao
2d93ccd668
Updated protocol from protocol/proto -> protocol/livekit ( #242 )
...
* Updated protocol from protocol/proto -> protocol/livekit
* separate MediaTrack from PublishedTrack
2021-12-08 13:58:38 -08:00
David Colburn
289ebd32ff
Telemetry refactor ( #172 )
...
* telemetry refactor
* fix imports
* update protocol
2021-11-08 20:00:34 -06:00
David Colburn
8a44fad307
protocol 0.8 ( #95 )
...
* protocol 0.8
* merge new selector
2021-08-27 13:16:33 -05:00
David Colburn
089d1d366d
move createOffer to goroutine
2021-06-17 22:33:26 -07:00
David Zhao
0cecd81906
fix negotiation timing issue, potential deadlock in ICE restart
2021-06-09 17:50:12 -07:00
David Zhao
b3e6bd10cf
fixed potentially skipping offer in PCTransport
...
this could explain the "missing" track problem when the server fails to send some tracks to some of the subscribers
2021-06-09 16:06:10 -07:00
David Zhao
c510ea2e1a
Fix race condition with Transport negotiations
2021-06-04 12:26:23 -07:00
David Zhao
24919d8ccb
working CI test workflow, more reliable transport_test
2021-06-03 22:35:39 -07:00
David Zhao
0900054c24
ability to disable auto subscribe per participant
2021-05-22 22:54:47 -07:00
David Zhao
ccb322c9c2
more reliable handling of ICE restart
2021-05-14 22:03:08 -07:00