Benjamin Pracht
d6e32e3c1d
WiP
2022-08-05 16:59:55 -07:00
Benjamin Pracht
80f5715d9c
WiP
2022-08-05 16:16:48 -07:00
Benjamin Pracht
875d5d03a3
Merge remote-tracking branch 'origin/master' into benjamin/state_storage
2022-08-05 11:32:17 -07:00
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
Raja Subramanian
c75090a0fe
Use a TTL of 1 hour for ICE config cache ( #873 )
2022-08-05 17:31:28 +05:30
Raja Subramanian
3f16018b62
Cache ICE config in room manager. ( #872 )
...
* Cache ICE config in room manager.
* mage generate
* Read ICE config within lock
2022-08-05 12:49:19 +05:30
Benjamin Pracht
0cffbe69e9
Fix ingress stream key lookup and avoid nil dereference when room in auth claims doesn't match ( #869 )
2022-08-04 16:22:55 -07: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
Benjamin Pracht
0898912d78
WiP
2022-08-02 19:21:51 -07:00
Benjamin Pracht
5558aa5228
Make sure CreateIngest populates the stream_key and URL fields ( #861 )
2022-08-01 11:35:30 -07:00
Raja Subramanian
a393d64ccc
Do not re-use transceiver when negotiation is pending. ( #862 )
2022-07-31 10:50:55 +05:30
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
7a2eac8e86
Initial Ingress support in API ( #852 )
...
This adds support for the Ingress related endpoints to LiveKit server. This currently doesn't handle reconnections safely.
2022-07-28 09:49:54 -07: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
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
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 Zhao
a2bf32797b
Allow binding HTTP server to specific address ( #831 )
...
Improves security when running with placeholder keys. Only allowing
access from loopback by default.
2022-07-13 23:58:33 -07:00
Raja Subramanian
52aed86080
Add remote participant context to logger ( #815 )
2022-07-07 10:44:10 +05:30
David Colburn
fbbcbe77df
Remove recording ( #811 )
...
* remove recorder service
* update protocol
2022-07-05 18:39:32 -07:00
David Zhao
e30046f537
Delay room manager close to ensure correct DisconnectReason is sent ( #806 )
2022-07-03 23:38:59 -07:00
David Zhao
f1f62ddda5
Sends disconnect reason when server sends Leave request ( #801 )
...
* Sends disconnect reason when server sends Leave request
* update go.mod
2022-07-02 21:22:26 -07:00
David Colburn
407996702b
update participant grants ( #782 )
2022-06-24 09:29:04 -07:00
Raja Subramanian
47b89c155f
Log reason for participant close ( #776 )
...
* Log reason for participant close
Please suggest better naming for different scenarios if something comes
to mind.
* group service requests
* incorporate feedback
* Change names in tests
2022-06-22 10:32:22 +05:30
Alessio
558be854be
Add turn relay start and end port configuration ( #733 )
2022-06-13 15:03:12 -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
David Zhao
73808a1623
Remove TrackSender.ParticipantIdentity since it's unused ( #738 )
...
Just introduced this in #736 and realized the interface change comes
with a bunch of unintended consequences, so reverting this addition.
2022-05-29 23:22:03 -07:00
Brint E. Kriebel
5a74c1695d
Add support for Redis Sentinel ( #707 )
2022-05-28 10:26:58 -07:00
David Colburn
f181b24b06
fix list-egress ( #722 )
2022-05-27 13:17:53 -07:00
Dan McFaul
aa0df2813f
deleting nonRtc rooms and fixing race when deleting rooms ( #721 )
2022-05-27 09:45:22 -06:00
Raja Subramanian
11fb079a4f
Catching a few more races reported by go test -race ./... ( #713 )
...
* Fix a few more races
* Make sure room store on leave has correct count
* Revert logger change to reduce diff
2022-05-25 07:32:25 +05:30
Dan McFaul
0589d757cd
in some implementations of Store, particpant and their tracks may not yet have been persisted when a mute event is received, don't want to error in that case ( #714 )
2022-05-24 12:30:09 -06:00
David Zhao
a933f1513f
Add pprof endpoint when running in dev mode ( #708 )
2022-05-23 00:34:16 -07:00
Russ d'Sa
1d03843b3f
Update README.md ( #696 )
...
* Update README.md
Community URL somehow expired, updating it here.
* fix static check
Co-authored-by: David Zhao <dz@livekit.io >
2022-05-18 21:01:21 -07:00
David Colburn
a8ff70f63a
Update egress info ( #694 )
2022-05-18 11:30:25 -07:00
David Zhao
b9ee0b5800
Skip loading of participant before writing messages to them. ( #654 )
...
In some implementations of the Store interface, it's possible that the
media node has not yet persisted the participant when we are trying to
send it messages. In which case we should not error on loading of the
participant.
2022-04-24 23:09:06 -07:00
David Zhao
b7d22c4f34
Fix MessageChannel leaks ( #646 )
2022-04-22 10:53:20 -07:00
cnderrauber
3f9d6c11bc
add log info for client closed websocket ( #640 )
2022-04-21 12:44:43 +08:00
David Zhao
b821a0997d
Use common logging init functions ( #633 )
...
* Use common logging init functions
* update protocol commit
* fix tests
2022-04-20 00:15:11 -07:00
David Zhao
282e2aed49
Increase frequency of status updates and longer availability threshold ( #628 )
...
* Increase frequency of status updates and longer avail. threshold.
* better fix.
* fix room close test failure due to slow peer connection Close
* Perform avg computation more frequently if data has changed
2022-04-19 22:18:00 -07:00
Raja Subramanian
cf627d8bbe
Send adaptive stream param in join ( #626 )
2022-04-19 16:45:35 +05:30
cnderrauber
f74144846b
create new subscriber datatrack after migration ( #600 )
...
* use negotiated data channel in migration case
* create subscriber data track after migration
* fix participant state update
* add participant leave log
* update protocol
2022-04-07 15:43:24 +08:00
Raja Subramanian
92009b6428
Consistently stop tickers ( #593 )
2022-04-05 20:42:06 +05:30
Raja Subramanian
4696503790
Include region in ParticipantInfo ( #585 )
2022-03-31 14:57:55 +05:30
David Colburn
7dc90e805c
Update protocol ( #582 )
2022-03-30 16:38:38 -07:00
David Colburn
0b8a180554
Code inspection ( #581 )
...
* Code inspection
* fix [4]int64 conversiong
2022-03-30 13:49:53 -07:00
David Colburn
26f7bb498a
Identity cannot be empty ( #580 )
2022-03-30 12:53:32 -07:00
David Zhao
f2556483a3
Re-issue tokens when clients initially connect. ( #569 )
...
This ensures if they are disconnected before token is refreshed, they
could reconnect back with a valid token.
2022-03-25 23:55:19 -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