David Colburn
6719a3c714
Updated egress rpc ( #1252 )
...
* updated egress rpc
* check if egress exists on stop
* fix static check
* remove old migration code
* rename
* regenerate, update test
* latest staticcheck
* update to psrpc 0.1.0
* fix tests
* dual write rpcs on running egress
* remove unused field
* fix race, change service for egress impl
* return nil if bus is nil
* id -> ids
* add affinityFunc to StartEgress
2022-12-22 21:03:27 -08:00
David Zhao
14de2bec9c
Fixed single-node routing breakage. ( #1209 )
...
* Fixed single-node routing breakage.
Due to a regression of a previous change, Redis was always enabled even
when no configuration was provided.
* updated go modules
2022-12-04 16:23:35 -08:00
David Zhao
12ae179be2
Configurable RoomService execution timeout ( #1206 )
...
* API execution timeout is now configurable
In certain environments, it can take longer than the default 2s to
fully execute API requests. Making execution timeout a configurable option.
* do not expose api to YAML. internal for now.
2022-12-04 10:13:09 -08:00
Tom Xiong
e5dabd466e
Support redis cluster mode ( #1181 )
...
* use redisConfig of protocol instead of redisConfig and use redis of protocol to create redis client to support redis cluster mode too
2022-11-22 10:36:43 -08:00
Benjamin Pracht
c735668f67
Use the redis.UniversalClient interface instead of *redis.Client when interacting with go-redis ( #1149 )
...
* Use the redis.UniversalClient interface instead of *redis.Client when interacting with go-redis
* Update protocol to v1.2.1
2022-11-07 17:27:28 -08:00
David Colburn
803046b882
Auto egress ( #1011 )
...
* auto egress
* fix room service test
* reuse StartTrackEgress
* add timestamp
* update prefixed filename explicitly
* update protocol
* clean up telemetry
* fix telemetry tests
* separate room internal storage
* auto participant egress
* remove custom template url
* fix internal key
* use map for stats workers
* remove sync.Map
* remove participant composite
2022-09-21 12:04:19 -07:00
Benjamin Pracht
d8edb9b2e7
Adopt Ingress RPC interface changes ( #972 )
2022-08-31 14:14:40 -07:00
cnderrauber
c401ca58af
turn packet and bytes stats used for telemetry and load control ( #969 )
...
* stats for turn
* add connections stats
* stats for standalone turn server only
* wire update
2022-08-31 11:00:27 +08:00
Benjamin Pracht
c333b7a026
Add support for Ingress service ( #868 )
...
Also check for Join permission on ingress API calls
2022-08-04 09:48:53 -07:00
David Colburn
7aa5888338
Keep egress info for 24h ( #856 )
...
* Keep egress info for 24h
* updates
* better version comparison
* fix test
* duplicated if
2022-07-28 20:27:59 -05:00
David Colburn
0ab4379c5c
Separate egress/ingress storage ( #855 )
2022-07-28 17:01:33 -05:00
David Zhao
53f51c8cb0
Logging cleanup ( #843 )
...
* Logging cleanup
Changes log levels to better match significance
* fix lock
2022-07-21 00:39:49 -07:00
David Colburn
fbbcbe77df
Remove recording ( #811 )
...
* remove recorder service
* update protocol
2022-07-05 18:39:32 -07:00
David Colburn
4be096cf74
Update egress RPC handler ( #759 )
...
* egress rpc handler
* add egress statuses
* nil redis client
* update protocol
2022-06-13 12:18:17 -07:00
Brint E. Kriebel
5a74c1695d
Add support for Redis Sentinel ( #707 )
2022-05-28 10:26:58 -07:00
cnderrauber
3352ee6b79
add size limit to metadata of room & participant ( #566 )
...
* add size limit to metadata of room & participant
* description in config-sample
* solve comments
2022-03-25 12:48:11 +08:00
David Colburn
13c91678bf
Remove egress store ( #552 )
...
* Remove egress store
* fix imports
2022-03-22 12:37:31 -07:00
cnderrauber
4bc03d8435
Client configuration ( #452 )
...
* client configuration
* fix init roommanager
2022-03-03 18:26:14 +08:00
Alex Beattie
96654e164a
support Redis TLS Connection ( #482 )
...
* Add TLS for Redis connection
* Update to add tls flag
2022-03-02 22:17:29 -08:00
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
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
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
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 Zhao
c00d799ac6
Fixed permission handling with room deletion ( #233 )
2021-12-03 14:27:13 -08:00
David Colburn
991c334d2d
telemetry interfaces ( #210 )
...
* telemetry interfaces
* move AddUptrack under stats
* regenerate
* a space
* consistency
* fix test
2021-11-24 17:58:04 -08:00
David Colburn
95e29d3766
Interface updates ( #194 )
...
* update interfaces, a bit of cleaning
* regenerate
* return interface for RoomService
* export packetBufferSize
* update router interface
* move participant key into router
* change locks back
* read only room store
* fix server rm locks
* update SendJoinResponse
* clean up imports
* update room messaging
* regenerate
2021-11-15 15:25:50 -06:00
David Colburn
289ebd32ff
Telemetry refactor ( #172 )
...
* telemetry refactor
* fix imports
* update protocol
2021-11-08 20:00:34 -06:00
Mathew Kamkar
f3e916e2fe
Room Allocator Interface ( #161 )
...
* room allocator interface
* remove wire bind
* fix test
2021-10-28 21:02:17 -07:00
David Colburn
0c8fe361b2
Small refactor ( #148 )
...
* small refactor
* extra line
* fix room allocator test
* selector fakes not used
* keep decisions out of router
* put nodeId logic back
* fix room allocator test
2021-10-18 21:49:16 -05:00
David Colburn
2fd61531d2
small refactor ( #104 )
2021-08-30 18:22:11 -05:00
Mathew Kamkar and David Zhao
c437152e2b
NodeSelector using system load metric ( #94 )
...
* use load when selecting nodes
* Apply suggestions from code review
Co-authored-by: David Zhao <david@davidzhao.com >
* sysload selector test
* wire nodeSelectorFromConfig
* fix tests
* Update pkg/routing/selectorsystemload_test.go
Co-authored-by: David Zhao <david@davidzhao.com >
* dz review: nits
Co-authored-by: David Zhao <david@davidzhao.com >
2021-08-26 15:24:39 -07:00
Mathew Kamkar
f5466c74e6
list-nodes command action ( #87 )
...
* list-nodes command action
* refactor stats into a package
* store existing stats in redis, more refactoring
* dz review: atomic load
2021-08-24 10:14:39 -07:00
David Colburn
b00d5a02cb
RoomRecorder ( #70 )
2021-07-27 00:39:48 -05:00
David Zhao
7d02c01fd8
refactor - moved common code to livekit/protocol
2021-03-13 22:01:51 -08:00
David Zhao
03d0a8c047
updated to ion-sfu v1.9.1, removed package bufferFactory
2021-03-01 14:49:46 -08:00
David Zhao
71b4673a0a
cleanup room state, proper participant termination
2021-01-18 23:44:59 -08:00
David Zhao
9064f6ade1
decouple websocket and RTC nodes, prep for distributed
2021-01-16 10:37:38 -08:00
David Zhao
09e5a37c75
refactoring to prep for integration tests
2021-01-13 00:04:36 -08:00