cnderrauber
f7a1776f4c
Add control of playout delay ( #1838 )
...
* Add control of playout delay
Add config to enable playout delay. The delay will be limited by
[min,max] in the config option and calculated by upstream & downstream
RTT.
* check protocol version to enable playout delay
* Move config to room, limit playout-delay update interval, solve comments
* Remove adaptive playout-delay
* Remove unused config
2023-08-02 16:12:23 +08:00
David Zhao
981fb7cac7
Adding license notices ( #1913 )
...
* Adding license notices
* remove from config
2023-07-27 16:43:19 -07:00
David Zhao
0586009e0d
Do not send hidden participants after resume ( #1689 )
2023-05-05 22:38:17 -07:00
David Zhao
1cb6cc3ed7
Do not sample per participant to reduce memory usage ( #1576 )
2023-04-03 15:24:53 -07:00
Dan McFaul
ad7e075c18
exit after panic ( #1392 )
...
* let panics crash
* Revert "let panics crash"
This reverts commit 8027cccadd .
* catch and log panics then os.Exit
* Recover only recovers, caller can exit
* only exit on pacic, still need Recover calls in goroutines
2023-02-09 16:33:22 -07:00
David Zhao
be4764b93b
Improve panic recovery to use participant logger. ( #1375 )
...
Also made IssueFullReconnect public
2023-02-02 14:55:50 -08:00
David Zhao
5af442ac10
Enable item sampler for Room logger ( #1222 )
2022-12-10 20:07:16 -08:00
David Zhao
7a1273151f
Update to new logging library, using sampling participant logger ( #1219 )
2022-12-09 00:09:03 -08:00
Raja Subramanian
573850261a
Cache RTPStats and seed on re-use ( #1080 )
...
* Cache RTPStats and seed on re-use
When a cached down track is re-used, RTPStats was not cached.
This caused sender reports getting out-of-sync with the remote side.
Cache RTPStats and seed it on re-use.
* staticcheck
2022-10-12 09:10:17 +05:30
Raja Subramanian
52aed86080
Add remote participant context to logger ( #815 )
2022-07-07 10:44:10 +05:30
David Zhao
7ad51f49f1
Fixed unclean DownTrack close when removed before bound. ( #736 )
...
* Fixed unclean DownTrack close when removed before bound.
When a DownTrack is closed before it had a chance to be bound to a
transceiver, we'd skip close and leave it hanging. This is unlikely in
normal operations. However, it can be seen with permissions and
subscription APIs.
* remove remaining peerID references
2022-05-29 22:09:02 -07:00
cnderrauber
fa53da18e7
update pion, export vp8munger header ( #684 )
...
* update pion, export vp8munger header
* fix test
2022-05-13 17:20:52 +08:00
cnderrauber
07b93e2e5b
add support for av1 svc ( #669 )
...
* add support for av1 svc
2022-05-06 18:24:29 +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 Colburn
0b8a180554
Code inspection ( #581 )
...
* Code inspection
* fix [4]int64 conversiong
2022-03-30 13:49:53 -07:00
cnderrauber
832f3fd124
filter unused candidate and refine log ( #528 )
...
* filter unused candidate and refine log
* fix test
2022-03-18 12:57:33 +08:00
cnderrauber
61ac44e5f7
Revert data track change ( #513 )
...
* Revert data track change
* clean code
2022-03-15 19:30:10 +08: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
Raja Subramanian
5b57522c05
Refactoring connection stats ( #384 )
2022-01-29 00:55:00 +05:30
Raja Subramanian
45b07e2b3f
Add trackID to logger context ( #375 )
2022-01-26 13:23:38 +05:30
Raja Subramanian
f662119ca4
Add roomID to logger util ( #345 )
2022-01-17 16:36:10 +05:30
Raja Subramanian
e67db84b3b
Remove stubs ( #331 )
...
* WIP commit
* Use LocalParticipant interface
* Remove no-op local participant
* Remove localparticipant
* Remove no-op stubs
* Consolidate PublishedTrack into MediaTrack
2022-01-12 00:11:48 +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
9d78619ca3
Catching a few more files with types ( #299 )
...
* Use types in mediatrack.go
* A bunch more files get types
* One more file
2021-12-29 23:51:06 +05:30
David Zhao
8abd734d16
Use participant and room specific loggers ( #252 )
2021-12-10 15:51:05 -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
aa9534b7fb
Server-driven connection quality detection ( #167 )
2021-11-03 21:05:20 -07:00
David Colburn
2a3fb5f0e7
move logging to protocol ( #109 )
2021-09-09 00:45:42 -07:00
David Colburn
8a44fad307
protocol 0.8 ( #95 )
...
* protocol 0.8
* merge new selector
2021-08-27 13:16:33 -05:00
hn8
99e9997d0a
feat: support SetLogger & SetLoggerFactory ( #57 )
...
* upgrade logr to stable release v1.0.0
* feat: support SetLogger & SetLoggerFactory
2021-07-18 21:28:09 -07:00
David Zhao
38c81e5645
Support for video dimensions in publications ( #36 )
...
* send back video dimensions
* Store video dimensions in MediaTrack and forward in TrackInfo
* use committed protocol
2021-06-18 21:05:56 -07:00
David Zhao
abedc05ce5
Improve logging, hook up ion with zap logger
2021-06-09 12:31:29 -07:00
David Zhao
681010072c
support for exposing stats via prometheus
2021-05-11 22:04:59 -07:00
David Zhao
f60b356807
don't hide trickle decode errors
2021-05-06 00:10:23 -07:00
David Zhao
6b63cd5b31
Revamp data channels ( #32 )
...
* support for built-in data channels. active speaker updates via data channel
* fixed tests
* update to Pion 3.0.27
2021-04-27 22:02:59 -07:00
David Zhao
93d10b2640
Manual negotiation and plan-b support
2021-04-16 00:56:25 -07: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
9064f6ade1
decouple websocket and RTC nodes, prep for distributed
2021-01-16 10:37:38 -08:00
David Zhao
21ac2413a2
catch panics to ensure reliability
2021-01-11 00:07:11 -08:00
David Zhao
258f5add2d
protocol update: explicit AddTrack to move negotiation initiation to server side.
...
In order to avoid race conditions with WebRTC, where either side could initiate an offer when tracks have changes, we'll always initiate them from the SFU side.
2021-01-09 23:40:29 -08:00
David Zhao
0336e9d92f
tests for MediaTrack, moving interfaces to new package
2020-12-31 23:24:45 -08:00
David Zhao
313236e3d3
server to support mutes
2020-12-31 14:21:19 -08:00
David Zhao
2a79bdb678
switch participant to interface
2020-12-21 23:00:48 -08:00
David Zhao
684099d653
slight refactoring, WS sends periodic ping
2020-12-20 16:13:12 -08:00
David Zhao
f753172308
datatrack implementation
2020-12-19 16:13:56 -08:00
David Zhao
c64ecc4603
use full candidateInit, update encoding
2020-12-03 21:58:25 -08:00
David Zhao
a6c4db2cb3
refactoring, enabling sending out room updates
2020-12-01 23:32:15 -08:00
David Zhao
bea1a87cb8
updated flow, room & participant id created by server
2020-11-28 00:18:34 -08:00
David Zhao
e611020824
make reception report public
2020-11-15 22:11:52 -10:00