David Zhao
ab1ccae0c7
Respond to signal ping / pong ( #871 )
...
* Respond to signal ping / pong
* Pass back 1 for pong for now, we don't need the timestamp
* update protocol
2022-08-05 09:24:47 -07:00
Dan McFaul
aa0df2813f
deleting nonRtc rooms and fixing race when deleting rooms ( #721 )
2022-05-27 09:45:22 -06:00
David Colburn
0b8a180554
Code inspection ( #581 )
...
* Code inspection
* fix [4]int64 conversiong
2022-03-30 13:49:53 -07:00
cnderrauber
128199e634
don't send datatrack info to client ( #492 )
...
* don't send datatrack info to client
2022-03-08 17:05:26 +08:00
cnderrauber
913ef3a646
Datatrack for data channel ( #476 )
...
* data track
2022-03-01 15:48:20 +08:00
David Zhao
7eb2fecadd
Close websocket connection upon join failure ( #458 )
...
* Close websocket connection on join failure to avoid hang
* fix auto creation bug
2022-02-22 17:43:25 -08:00
David Colburn
7bbd238188
clean up logs and imports ( #400 )
2022-02-03 14:20:19 -07:00
David Zhao
6af6eefb8c
Improve readability of test failures ( #386 )
2022-01-28 21:34:21 -08:00
David Zhao
9747243ce2
Honor autoSubscribe when subscription permissions are granted later ( #381 )
...
* Ensure autosubscribe is honored when subscription permissions were granted later
* negotiate even if no media has been added
* don't double-negotiate
2022-01-28 09:55:10 -08:00
David Zhao
126bb8867b
Ability to disable auto-create ( #361 )
...
* setting to disable autocreate
* improve test reliability
* update comment
* update to address feedback
2022-01-21 09:57:36 -08:00
David Colburn
5bea9debb7
Code cleanup ( #353 )
2022-01-19 02:13:06 -08:00
David Zhao
cd9c125414
Also allow headers with CORS ( #339 )
2022-01-14 10:13:11 -08:00
David Zhao
f9b2af0cf9
Use CORS middleware to allow RoomService use ( #335 )
2022-01-13 09:29:48 -08:00
David Zhao
b747cdb822
Pass along mime type with TrackInfo ( #292 )
2021-12-27 23:43:30 -08:00
David Zhao
15cd98be22
Enable Room.List to filter by specific names ( #290 )
2021-12-27 23:32:29 -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
shishirng
461f29c097
Allow participants to create new connection for publishing new tracks ( #224 )
...
* Allow participants to create new connection for publishing new tracks
new param 'publish=<name>' enables publishing new connection with publish
only grants. Also, identity is appended with '#<name>'
* Add integration test to duplicate publish only connection
Signed-off-by: shishir gowda <shishir@livekit.io >
* Reuse token in test and set subscribeGrant to false on publish param
Signed-off-by: shishir gowda <shishir@livekit.io >
* create auth token with grants
Signed-off-by: shishir gowda <shishir@livekit.io >
* Signal ice on negotiate in test client
Signed-off-by: shishir gowda <shishir@livekit.io >
* Update pkg/service/rtcservice.go
Co-authored-by: David Zhao <david@davidzhao.com >
Co-authored-by: David Zhao <david@davidzhao.com >
2021-12-07 16:23:16 -05:00
cnderrauber
b7f32dfffd
Handle multiple codecs in renegotiation ( #191 )
...
* Handle multiple codecs in renegotiation
update pion to v3.1.9 for answer same order of codec as publisher.
register enable codecs in subscriber peerconnectin created.
add codec parameter to buffer.bind
buffer should use the codec of TrackRemote as it's codec mime.
sent h264blankframe when DownTrack closing
2021-11-17 21:18:43 +08:00
Artur Shellunts
03342efe4f
Test improvements ( #136 )
...
* Fix "ineffectual assignment" linter warning
* Simplify TestClientCouldConnect
* Simplify range expression
2021-10-10 22:37:31 -07:00
Artur Shellunts
1c12272927
Refactor singlenode_test.go ( #131 )
...
* Fix typo
* test: move client creation to where it is used
* Refactor TestAutoSubDisabled
2021-10-04 13:07:38 -07:00
David Zhao
1bcaf9d0ea
update test client to use protocol 3
2021-09-10 20:58:33 -07:00
David Colburn
1f1eea383f
add ctx to interfaces ( #105 )
...
* add ctx to interfaces
* use existing context
2021-08-30 20:31:24 -05:00
David Zhao
c510ea2e1a
Fix race condition with Transport negotiations
2021-06-04 12:26:23 -07:00
David Zhao
bf281b1994
Simplify test helpers, cleanup redis between tests
2021-06-04 11:22:08 -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
c76cdf11c2
add tests to ensure subscriber cleanup
2021-05-12 23:52:41 -07:00
David Zhao
99baeb38e4
fix bugs with websocket reconnection, don't re-use redis sinks ( #22 )
2021-02-15 17:57:01 -08:00
David Zhao
61b9569e38
fix: use track SID instead of source ID
2021-02-08 16:45:18 -08:00
David Zhao
f004aa2952
auto-create rooms upon creation
2021-01-24 23:47:24 -08:00
David Zhao
c04fd86f9c
multi-node integration tests
2021-01-19 20:34:11 -08:00