Raja Subramanian
80bd45f061
Some clean up ( #505 )
...
* WIP commit
* Refactor NTP time
* Clean up
* Update lk protocol
2022-03-11 22:40:49 +05:30
cnderrauber
4bc03d8435
Client configuration ( #452 )
...
* client configuration
* fix init roommanager
2022-03-03 18:26:14 +08:00
David Zhao
7a5b5dbc69
Pass back serverRegion in when participant's joining ( #479 )
...
* Pass back serverRegion in when participant's joining
* fix tests
* protocol update
2022-03-02 13:36:19 -08:00
shishirng
c3a3fb569d
add track publisher info in track subscribed event ( #473 )
...
* add track publisher info in track subscribed event
Signed-off-by: shishir gowda <shishir@livekit.io >
* update protocol ver
Signed-off-by: shishir gowda <shishir@livekit.io >
2022-02-28 13:48:02 -05:00
cnderrauber
c2d3e6e33e
create data channel from sync state ( #469 )
...
* create data channel from sync state
* fix fake type
2022-02-25 18:32:02 +08:00
Raja Subramanian
5a4181b581
Replacing hand rolled ion-sfu atomic with uber/atomic ( #465 )
...
* Replacing hand rolled ion-sfu atomic with uber/atomic
* Remove another hand rolled atomic
2022-02-25 11:57:09 +05:30
David Colburn
20f21cce2b
Egress ( #455 )
...
* egress updates
* pass egressInfo to delete
* update typefakes
* export StartEgress
* update protocol
* new rpc, rename stores
* add json tag
* update tests
* update protocol
2022-02-24 14:57:14 -08:00
shishirng
3e7fae96ea
Add telemetry method to capture max video_quality ( #457 )
...
* Add telemetry method to capture max video_quality
Signed-off-by: shishir gowda <shishir@livekit.io >
* Telemetry fakes
Signed-off-by: shishir gowda <shishir@livekit.io >
* Update go mod dep
Signed-off-by: shishir gowda <shishir@livekit.io >
2022-02-22 19:08:49 -05:00
Raja Subramanian
3f38172139
Types for ConnectionID, NodeID, ParticipantKey ( #450 )
...
* Types for ConnectionID, NodeID, ParticipantKey
* latest protocol version
2022-02-21 08:52:11 +05:30
cnderrauber
517312fb87
update to turn@v2.0.8 ( #445 )
2022-02-18 17:45:14 +08:00
shishirng
562546829b
handle remote ip address in case of forwarding ( #421 )
...
Signed-off-by: shishir gowda <shishir@livekit.io >
2022-02-08 16:13:55 -05:00
Raja Subramanian
941cac8dfc
set DTLS retransmit interval to 100 ms ( #414 )
2022-02-07 23:43:41 -08:00
Raja Subramanian
36289bbca7
FPS ( #410 )
...
* WIP commit
* WIP commit
* WIP commit
* WIP commit
* WIP commit
* WIP commit
* Clean up
* Clean up
* Store RTT in stats
* spelling mistake
* Make tests compile
* Fix test compilation error
* fix tests
* clone
* latest protocol
2022-02-08 12:53:14 +05:30
shishirng
32b56e0fd6
Add ParticipantActive telemetry method ( #411 )
...
* Add ParticipantActive telemetry method
Signed-off-by: shishir gowda <shishir@livekit.io >
* fix test
Signed-off-by: shishir gowda <shishir@livekit.io >
* Update go mod
Signed-off-by: shishir gowda <shishir@livekit.io >
2022-02-07 17:23:39 -05:00
Raja Subramanian
7f2a5ae036
latest DTLS to fix long delay connections ( #405 )
2022-02-05 13:14:06 +05:30
Raja Subramanian
9c3794144e
Force DTLS role client for the simulated client side peer connection ( #403 )
...
* Force DTLE role client for the simulated client side peer connection
during migration.
Without that, with remote side being ice-lite (i. e. server offer
is subscriber peer connection), pion chooses the server DTLS role
and both side end up being servers.
* pion/webrtc -> 3.1.21
* remove local reference
* Use setup from previous answer
* more comments
2022-02-04 23:11:27 +05:30
David Zhao
6f6d55345b
Use ParticipantInfo version to ensure consistency ( #399 )
...
* Use ParticipantInfo version to ensure consistency
Deprecating time.Time and avoid locking unnecessarily
* properly adjust ulimit. update protocol
* Save initial version from params
* get rid of metadata field, use grants copy
* fix test
2022-02-03 17:10:52 -08:00
David Zhao
a8d43aab67
Uses IceLite only for protocol 6 clients ( #397 )
...
* Update to Pion v3.1.20, with fixes DTLS role ambiguity
* Gate ice-lite on protocol version
Co-authored-by: boks1971 <raja.gobi@tutanota.com >
2022-02-02 21:16:08 -08:00
shishirng
7ac3631b6c
Get clients remote address from request ( #385 )
...
Signed-off-by: shishir gowda <shishir@livekit.io >
2022-01-29 10:51:21 -05:00
David Zhao
3430650d3e
Server-side parsing of UserAgent ( #387 )
2022-01-29 00:52:06 -08:00
shishirng
1e156025b4
Store client meta on participant join ( #380 )
...
* Store client meta on participant join
capture region, time_to_connect, ip, node
Signed-off-by: shishir gowda <shishir@livekit.io >
* Update proto dep
Signed-off-by: shishir gowda <shishir@livekit.io >
2022-01-27 15:44:03 -05:00
David Colburn
c92e0e38d5
Room closed fix ( #370 )
...
* Room closed fix
* switch to uber/atomic
* release after err check
2022-01-25 09:23:22 -07:00
shishirng
56ebd521f9
Telemetry capture published track updates ( #367 )
...
* Telemetry capture published track updates
Signed-off-by: shishir gowda <shishir@livekit.io >
* Updated OnVideoLayerUpdate to take slice of layers
Signed-off-by: shishir gowda <shishir@livekit.io >
* Update proto dep
Signed-off-by: shishir gowda <shishir@livekit.io >
2022-01-24 14:38:04 -05:00
David Zhao
52fc53d325
Issue updated tokens to clients. ( #365 )
...
This ensures client reconnect attempts would be successful for long running rooms. It also fixes inaccurate permissions that were set incorrectly when full reconnections take place.
2022-01-23 23:15:49 -08:00
Raja Subramanian
d1848ab218
Rename UpdateSubscriptionPermissions -> SubscriptionPermission and other renaming ( #363 )
...
* Store subscription permission in DB
* Comment out subscription permission to DB
* WIP commit
* Clean up
* clean up
* Latest protocol
2022-01-22 12:16:15 +05:30
shishirng
829e183863
pass client info object in participant joined request ( #358 )
...
* pass client info object in participant joined request
Signed-off-by: shishir gowda <shishir@livekit.io >
* Update tests
Signed-off-by: shishir gowda <shishir@livekit.io >
2022-01-20 15:29:34 -05:00
Raja Subramanian
0178a004dd
Compile in send-side bandwidth estimation. ( #351 )
...
Still not using it. But, now that Pion has merged the initial
version of GCC (Google Congestion Control) for send side bandwidth
estimation, we can integrate it.
We will enable once we have tested and feel comfortable.
2022-01-19 22:36:41 +05:30
Raja Subramanian
0e74ce89c5
Update pion/webrtc ( #346 )
...
Also use DTLSRoleServer in publisher peer connection to get around
potentially a Chrome browser issue in long latency links.
2022-01-18 11:26:57 +05:30
David Zhao
f2f776931f
Integrated logging with Pion ( #341 )
...
* Integrated logging with Pion
* handle nil logger
2022-01-14 17:44:28 -08:00
shishirng
cf830191e3
Add client info to participant_joined event ( #337 )
...
Signed-off-by: shishir gowda <shishir@livekit.io >
2022-01-13 17:45:21 -05:00
David Zhao
f9b2af0cf9
Use CORS middleware to allow RoomService use ( #335 )
2022-01-13 09:29:48 -08:00
David Zhao
29eb8d9dbf
Parse additional info parameters clients could send ( #336 )
2022-01-13 08:40:29 -08:00
David Zhao
b05d154d12
Handle simulated leave ( #333 )
2022-01-11 23:34:27 -08:00
David Zhao
c2ba26eee6
Handle SimulateScenario requests ( #330 )
...
* Handle SimulateScenario requests
* actually use sendLeave
* fix local test failures due to filehandle limit
2022-01-11 00:37:24 -08:00
cnderrauber
8582ca4c9b
Session migration ( #319 )
...
* migrate between nodes
* session migration
* bug fix
* use version instead of query parameter
* clean code
* clean
* merge master
* solve comments
* solve comment
* update go.mod
Co-authored-by: cnderrauber <zengjie9004@gmail.com >
2022-01-08 18:54:23 +08:00
Raja Subramanian
5064f35c29
Refactor media track subscriptions ( #314 )
...
* Refactor media track subscriptions
- To enable re-use of common bits
- Add max quality from other nodes
* Lock close handlers slice
* Reverting multiple on close handlers of downtrack, unclear if it is needed yet
* Make Logger a pointer
* audio level in MediaTrack like remote media track
* Cleanup
* Add a no subscribers callback
* Add method to update subscribed quality from another node
* loss proxying from remote node
* Address comments from David
* create subscriber node quality map
2022-01-06 09:02:11 +05:30
boks1971
973420faf5
Revert "Refactor media track subscriptions"
...
This reverts commit 9ca85454ed .
2022-01-04 16:57:49 +05:30
boks1971
9ca85454ed
Refactor media track subscriptions
...
- To enable re-use of common bits
- Add max quality from other nodes
2022-01-04 16:40:47 +05:30
Raja Subramanian
995c1e8676
type aliases -> type definitions ( #312 )
...
* type alias -> type definition
* participantSid -> participantID in a comment
* Update protocol
2022-01-03 12:43:58 +05:30
Raja Subramanian
3a9009ae12
type definition of room name ( #311 )
...
* WIP commit
* update protocol
* Fixing a test and catching one place where casting was missed
* Fix one more spot which need conversion from livekit.RoomName -> string
* do not covert list
2022-01-02 16:49:16 +05:30
shishirng
007177d095
room_sid to room_id update in analytics proto ( #306 )
...
Signed-off-by: shishir gowda <shishir@livekit.io >
2021-12-30 15:26:14 -05:00
Artur Shellunts
6f84b36ccf
Use RTT field in analytics stats ( #304 )
...
* Update protocol to v0.11.7
* Use RTT field in analytics stats
Instead of Delay
2021-12-30 13:13:40 +01:00
David Zhao
2d8106c3d7
go mod tidy
2021-12-29 22:04:46 -08:00
Raja Subramanian
dc385f5d24
Beginnings of typing for various ids. ( #287 )
...
* Beginnings of typing for various ids.
* trackSid/TrackSid -> trackID/TrackID
* update protocol
* Initial livekit.ParticipantID use
2021-12-29 14:46:32 +05:30
David Zhao
3108ef22ad
Ability to set name on Participant ( #293 )
2021-12-28 00:12:04 -08:00
David Zhao
15cd98be22
Enable Room.List to filter by specific names ( #290 )
2021-12-27 23:32:29 -08:00
Raja Subramanian
eae6eff6a3
Include participant_sid in UpdateSubscription. ( #279 )
...
* Include `participant_sid` in `UpdateSubscription`.
Prevents all publisher tracks to find a match.
* generate
* Update protocol version
2021-12-23 09:18:32 +05:30
David Zhao
7a54a810c9
Update pion/turn to fix TURN TLS termination with external LB
2021-12-22 14:56:18 -08:00
Raja Subramanian
1dcc62b569
SubscribedQualityUpdate message ( #270 )
...
* WIP commit
* SubscribedQualityUpdate message to send list of currently subscribed
qualities for a simulcast video publisher
* Correct subscriberID
* goimports
* Do quality update on add/remove of subscribed track
* do not update quality when admin mute is active
* update quality on admin unmute
* Update protocol version
* Simplify max subscribed quality loop per David's suggestion
2021-12-19 12:41:40 +05:30
Mathew Kamkar
bd42a39117
Include node ID with Prometheus metrics ( #251 )
...
* include node id in prometheus metrics
* static prom init and nodeID
* update protocol dep
2021-12-10 15:49:14 -08:00