Sean DuBois
702e562f9f
Add SIP Support ( #2240 )
2023-11-14 14:24:54 -05:00
David Colburn
60374c6402
Agents ( #2203 )
...
* agents
* add test
* undo name changes
* remove debug logs
* fixes
* fix data race in test
2023-11-03 11:43:35 -07:00
David Colburn
b8ac836b9b
Only launch room egress once ( #2175 )
...
* only launch room egress once
* regenerate fakes
2023-10-24 13:05:23 -07:00
David Colburn
62b057b4c1
Egress store/IO cleanup ( #2152 )
...
* egress store cleanup
* client wrapper, regenerate
* put WithClusterID back
* rename clent
* infinite loops
* client wrapper -> interface
* remove StopEgress update
* remove Update from IOClient
* avoid duplicate EgressStarted events
* update protocol
2023-10-18 14:48:51 -07:00
David Zhao
981fb7cac7
Adding license notices ( #1913 )
...
* Adding license notices
* remove from config
2023-07-27 16:43:19 -07:00
David Colburn
b23a0e7f39
add active filter to ListEgress ( #1517 )
...
* add active filter to ListEgress
* update test
* missed a filter
2023-03-14 13:07:00 -07:00
David Zhao
9a1f4ab18b
Allow /rtc/validate to return room not found message ( #1344 )
...
It's not always possible for WebSocket clients to obtain status code or
error messages returned during WS Upgrade. Moving autocreation validation
to an explicit interface in the validation step so the /rtc/validate
would be able to return an appropriate message.
2023-01-29 21:41:44 -08:00
Benjamin Pracht
7778cdf2cd
Do not use the egress version stored in redis to decide whether to enable PsRPC. Use a conf entry instead ( #1262 )
2022-12-30 09:32:55 +13:00
David Colburn
976d4ea9db
Update psrpc, egressStore interface ( #1256 )
...
* Update psrpc, egressStore interface
* psrpc v0.2.0
2022-12-24 00:49:31 -08:00
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
Benjamin Pracht
8cf0872ec1
Adopt updated ingress RPC API ( #1068 )
2022-10-03 11:31:55 -07:00
David Colburn
b97d59b8db
consolidate room internal ( #1030 )
...
* consolidate room internal
* create room internal map
* pipelined room read
* check error
* fix pipelined reads
* clean up after test
2022-09-22 15:59:27 -07: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
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
Benjamin Pracht
188f9c675e
Add support for Ingress in store interface ( #849 )
2022-07-26 16:55:03 -07:00
Raja Subramanian
e624604453
Revert "ListRooms using sid ( #842 )" ( #845 )
...
This reverts commit f2e1e67e58 .
2022-07-21 14:49:41 +05:30
Raja Subramanian
f2e1e67e58
ListRooms using sid ( #842 )
...
* ListRooms using `sid`
* correct field name
* Remove contains and latest protocol
2022-07-21 11:05:33 +05:30
David Colburn
13c91678bf
Remove egress store ( #552 )
...
* Remove egress store
* fix imports
2022-03-22 12:37:31 -07: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
Raja Subramanian
07db1ba726
Some more files with types ( #302 )
2021-12-30 16:43:20 +05:30
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
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
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
862a212b93
idOrName -> name ( #169 )
2021-11-03 15:11:44 -05:00
Mathew Kamkar
f3e916e2fe
Room Allocator Interface ( #161 )
...
* room allocator interface
* remove wire bind
* fix test
2021-10-28 21:02:17 -07:00
Raja Subramanian
4789ae4c7d
Fix interface duplicate definition. ( #157 )
...
Got the following error on a fresh install
```
wire: /root/ws/livekit-server/pkg/service/interfaces.go:35:2: DeleteRoom redeclared
wire: /root/ws/livekit-server/pkg/service/interfaces.go:38:2: other declaration of DeleteRoom
wire: generate failed
Error: exit status 1
```
Probably something from the latest `wire` version.
After consulting David, removing the duplicate.
Testing:
--------
- Server builds and runs. Client is able to connect.
2021-10-25 21:25:46 +05:30
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
abde72a907
Remove room manager from room service ( #119 )
...
* start splitting
* room allocator
* remove room manager
* Update pkg/service/roomallocator.go
Co-authored-by: David Zhao <david@davidzhao.com >
Co-authored-by: David Zhao <david@davidzhao.com >
2021-09-17 01:29:29 -05:00
Mathew Kamkar
700a879c0b
Redis Router graceful stop ( #116 )
...
* prestop and hasparticipants in interface
* add prestop function to existing routers
* fakerouter prestop
* update protocol version
* read lock
* redis router graceful stop
* test fix
* force stop
2021-09-15 13:07:44 -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 Colburn
69c1d4c295
Interfaces ( #97 )
...
* create interface
* move room manager to interface
* interfaces
* updates
* fix loop
* fix fakes
* remove node types
2021-08-28 18:28:08 -05:00