cnderrauber
83111eee48
Don't filter out ipv6 address ( #1963 )
2023-08-14 11:53:01 +08:00
cnderrauber
d5a180d167
Add option to advertise external ip only ( #1962 )
2023-08-14 10:35:09 +08:00
cnderrauber
42a8ab232d
Never use dd tracker for non-svc codec ( #1952 )
2023-08-10 23:06:09 +08:00
cnderrauber
80832a83db
Fix panic when format DependencyDescriptor ( #1941 )
2023-08-08 10:02:53 +08:00
cnderrauber
eadc910bff
Add PlayoutDelay to CreateRoomRequest ( #1930 )
...
* Add PlayoutDelay to CreateRoomRequest
* Remove max delay from palyoutdelay
2023-08-03 16:32:59 +08:00
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
cnderrauber
a87232f42a
Frame integrity check for svc codec ( #1914 )
...
* Frame integrity check for svc codec
* Fix test
* Spell
2023-07-28 14:40:33 +08:00
cnderrauber
873c87f24b
Fix nack issue for svc codecs ( #1856 )
...
* Fix nack issue for svc codecs
* Fix test
2023-07-07 15:46:18 +08:00
cnderrauber
5b975af55f
Refine dependency descriptor based selection forwarder ( #1808 )
...
* Don't update dependency info if unordered packet received
* Trace all active svc chains for downtrack
* Try to keep lower decode target decodable
* remove comments
* Test case
* clean code
* solve comments
2023-06-27 15:11:06 +08:00
cnderrauber
c91889edfd
Add dependency descriptor stream tracker for svc codecs ( #1788 )
...
* Add dependency descriptor stream tracker for svc codecs
* Solve comments
2023-06-12 15:07:47 +08:00
cnderrauber
c1842cb54f
Avoid reconnect loop for unsupported downtrack ( #1754 )
...
* Avoid reconnect loop for unsupported downtrack
If the client subscribes to a track which codec is unsupported by the
client, sfu will trigger negotiation failed and issue a full reconnect
after received client answer. If the client try to subscribe that track
then it will got full reconnect again. That will cause a infinite
reconnect loop until the client don't subscribe that track. This PR
will unsubscribe the error track for the client and send a
SubscriptionResponse that contain the reason to indicates the track's
codec is not supported to avoid the reconnect loop.
2023-05-31 11:41:22 +08:00
cnderrauber
fc8375f150
Fix dynacast for svc codec ( #1742 )
2023-05-26 14:34:35 +08:00
cnderrauber
1c88a03366
Don't add nack if it is already present in track codec ( #1714 )
2023-05-17 18:48:54 +08:00
cnderrauber
298ebaee78
Suppress error log of setPrefferedCodec for simulcast codec track ( #1682 )
2023-05-04 15:14:20 +08:00
cnderrauber
09af509edb
Add subscription limits ( #1629 )
...
* Add subscription limits
* Add limit to ParticipantParams
* Don't change desired of subscription when reaching limits
* Add subscription limits config
* Revert comment
* solve comments
2023-04-20 14:15:30 +08:00
cnderrauber
ab42aed360
Add flag to control candidate fallback when udp unstable ( #1630 )
...
* Add flag to control candidate fallback when udp unstable
* Don't close rtcpreader if downtrack will be resumed
2023-04-19 14:56:16 +08:00
cnderrauber
4bd0646fdc
Don't close rtcpreader if downtrack will be resumed ( #1632 )
2023-04-19 13:57:18 +08:00
cnderrauber
d9cd07c4b1
Return chosen codec for simulcast codecs ( #1624 )
...
* Return chosen codec for simulcast codecs
* Increase timeout for subscription test
2023-04-17 15:31:28 +08:00
cnderrauber
0ce3ba418f
Update pion to parse multiple simulcast sdp correctly ( #1621 )
2023-04-17 10:41:07 +08:00
cnderrauber
c70a5c831f
Refine transport fallback for client resuming ( #1597 )
...
* reset fallback after ice restart
* Configure ice for reconnect before send response
2023-04-10 15:12:05 +08:00
cnderrauber
fb301e6e75
Add vp9 svc support by Dependency Descriptor ( #1586 )
...
* Add VP9 SVC support
* Fix preferred fps does not work
* Fix forwarder test
2023-04-06 21:51:33 +08:00
cnderrauber
8cfba1308b
Add test case for munged sdp ( #1574 )
...
* Add test case for munged sdp
* clean code
2023-04-04 09:28:47 +08:00
cnderrauber
1a78dba3e0
Detect client short ice connection ( #1532 )
2023-03-21 09:50:43 +08:00
cnderrauber
11ae7fdbb6
Don't switch candidate if signal closed when pc failed ( #1498 )
...
* Don't switch candidate if signal closed when pc failed
* change comment
* test case
2023-03-08 15:16:40 +08:00
cnderrauber
38deab8991
Send room update while client reconnecting ( #1499 )
2023-03-07 15:59:40 +08:00
cnderrauber
48cf30ba23
Send disconnected participant update for reconnecting user ( #1495 )
...
* Send disconnected participant update for reconnecting user
* clean code
2023-03-07 09:13:15 +08:00
cnderrauber
4277699600
Add option to enable skip tcp ice if tcp rtt is high ( #1484 )
...
* Add option to switch tcp ice only if tcp works well
* solve comment
* rename and remove config change
2023-03-01 16:45:39 +08:00
cnderrauber
29fa61068e
enable nack if red encoding disabled ( #1477 )
2023-02-28 12:44:25 +08:00
cnderrauber
c367c36d8f
Add config for active red encoding ( #1476 )
2023-02-28 10:44:47 +08:00
cnderrauber
dbb2cdf2b6
switch to tls if tcp ice dose not work well ( #1458 )
...
* switch to tls if tcp ice don't work well
* ignore tcp quality too bad
2023-02-23 14:07:50 +08:00
cnderrauber
1b3d6fad54
update to utils parallel execute ( #1450 )
...
* log change
* remove identity field
* update to protocol parallel execute
* update protocol
2023-02-22 11:09:32 +08:00
cnderrauber
6d16f061de
Suppress negotiation timout log if signal disconnect ( #1433 )
...
* Suppress negotiation timout log if signal disconnect
* solve comment
2023-02-17 15:40:35 +08:00
cnderrauber
30834791fa
Fix data stats bitrate calculate ( #1432 )
2023-02-17 12:33:28 +08:00
cnderrauber
4367e93855
parallel writing for data packet broadcast ( #1425 )
2023-02-15 17:18:43 +08:00
cnderrauber
e6eabb3a03
Prevent force tcp when client left between ice and dtls ( #1414 )
2023-02-13 13:57:50 +08:00
cnderrauber
a04e7ce647
Fix panic by CreateSenderReport before bind completed ( #1397 )
2023-02-08 17:02:19 +08:00
cnderrauber
5161dba873
Filter mdns candidate if not mdns not enabled ( #1393 )
...
* Filter mdns candidate if not mdns not enabled
* log target
2023-02-08 10:27:24 +08:00
cnderrauber
2393a559c4
ensuare onPacket is not nil in rtcpreader callback ( #1390 )
2023-02-07 15:49:32 +08:00
cnderrauber
524e8985c6
silent frame for muted audio downtrack ( #1389 )
...
send silent frame for subscribe to a muted audio downtrack (opus)
write blank frames for red audio track
2023-02-07 15:29:38 +08:00
cnderrauber
470a6fc9f1
Revert "Send silent frame for muted audio downtrack ( #1385 )" ( #1387 )
...
This reverts commit 0e699d6ed0 .
2023-02-07 14:10:39 +08:00
cnderrauber
0e699d6ed0
Send silent frame for muted audio downtrack ( #1385 )
...
* Send silent frame for muted audio downtrack
* Don't drop audio packets on pub muted
* don't inject blank audio frames for muted track
2023-02-07 13:12:50 +08:00
cnderrauber
8b6dab780c
Add reconnect reason and signal rtt calculation ( #1381 )
...
* Add connect reason and signal rtt calculate
* Update protocol
* solve comment
2023-02-06 11:12:25 +08:00
cnderrauber
7e5ba6a3b0
Improve connectivity check ( #1366 )
...
* Add Timer to detect dtls failure quickly
* Fix pc state check in timeout after ice
* More strict conditions to switch candidate type
* log for signal interuppt
* typo
2023-02-01 20:00:34 +08:00
cnderrauber
3a4a294a92
Enable upstream nack for opus only audio track ( #1343 )
2023-01-28 16:02:38 +08:00
cnderrauber and David Zhao
bccf7a6842
Add ice mdns config ( #1311 )
...
* Add use_mdns config
* Update config-sample.yaml
Co-authored-by: David Zhao <dz@livekit.io >
Co-authored-by: David Zhao <dz@livekit.io >
2023-01-18 16:51:49 +08:00
cnderrauber
55962e300c
enable track level audo nack config ( #1306 )
2023-01-13 17:07:06 +08:00
cnderrauber
81fb1c5ef0
Add idle check for participant ( #1303 )
2023-01-12 17:26:53 +08:00
cnderrauber
25debc6d35
add reconnect response to update configuration while reconnecting ( #1300 )
...
* add reconnect response to update configuration while reconnecting
* fix test
2023-01-11 17:40:12 +08:00
cnderrauber
fe4da84ee9
send padding packets of muted uptrack for go sdk ( #1283 )
2023-01-04 16:01:04 +08:00
cnderrauber
c393a5f8dd
Add interface and ipfilter to udpmux option ( #1270 )
...
* Add interface and ipfilter to udpmux option
* validate external ip is accessable by client
* add context
* use external ip only for firefox
* fix mapping error
* Update pion/ice and use external ip only for firefox
* Use single external ip for NAT1To1Ips if validate failed
* update pion/ice
2022-12-30 16:01:12 +08:00
cnderrauber
05132799a5
config for streamtracker ( #1255 )
2022-12-23 09:48:56 +08:00
cnderrauber
090c35ddfd
change no response sink to info and not return ( #1228 )
2022-12-14 11:22:23 +08:00
cnderrauber
da829fcf8e
diable prflx over relay for firefox ( #1226 )
...
* Disable prflx over relay for firefox
* remove ice lite change
* solve comment
* disable prflx for publisher too
2022-12-13 14:32:05 +08:00
cnderrauber
eb134dc535
Close migration muted track which is not fired ( #1215 )
2022-12-07 13:53:37 +08:00
cnderrauber
6f27d683a9
Don't output error log if upstream closed while binding ( #1211 )
2022-12-05 15:32:30 +08:00
cnderrauber
3c907ed460
Add stats for data channel and signal ( #1198 )
...
* Add stats for data channel and signal
* Solve comment
2022-11-30 14:53:19 +08:00
cnderrauber
711799ecf8
Encoding primary packet only if red encoding don't have enough space ( #1196 )
...
* Encoding primary packet only if red encoding don't have enough space
* clean code
2022-11-28 13:58:01 +08:00
cnderrauber
aaeb3c933c
Fix rtcp lost for downtrack used incorrect buffer factory ( #1195 )
...
* Fix rtcp lost for downtrack used incorrect buffer factory
In buffer factory change(#1173 ), every pariticipant has its own
buffer factory, can't use publisher's bufferfactory to create
DownTrack
* clean code
2022-11-28 13:04:56 +08:00
cnderrauber
c28b07fd11
set stereo max bitrates to 510000 ( #1188 )
2022-11-24 22:51:15 +08:00
cnderrauber
6711060cdb
Add enable loopback candidate option ( #1185 )
2022-11-23 16:01:36 +08:00
cnderrauber
a52a295cf3
Fix potential ssrc collision between participants ( #1173 )
2022-11-18 10:39:17 +08:00
cnderrauber
a72cbea352
fix memory leak on long run room/participant ( #1169 )
...
* Fix memory leak
* update pion
* clean code
2022-11-15 19:34:39 +08:00
cnderrauber
5a8a6d11b2
Set track level codec settings for all pending tracks ( #1148 )
2022-11-07 17:45:23 +08:00
cnderrauber
0310aa9250
Make sure client get participant info before track fired ( #1147 )
2022-11-07 14:50:45 +08:00
cnderrauber
34fd1a02e3
revert canclose method of red receivers ( #1142 )
2022-11-03 15:30:04 +08:00
cnderrauber
bed488ceeb
Recover lost packet from red encoding for opus only client ( #1139 )
...
* Recover lost packet from red encoding for opus only client
2022-11-02 18:39:57 +08:00
cnderrauber
bdd69c7a1c
Add red encoding for opus only publisher ( #1137 )
...
* Add red encodings for opus only publisher
* Add test case for red receiver
2022-11-02 10:36:29 +08:00
cnderrauber
dd30808e5e
Don't collect external address for ip filterd out ( #1135 )
2022-10-31 17:50:11 +08:00
cnderrauber
5edb42a9fd
experiment fallback to tcp when udp unstable ( #1119 )
...
* fallback to tcp when udp unstable
2022-10-31 09:40:20 +08:00
cnderrauber
4783db34ef
Remove DD extension when AV1 not preferred ( #1129 )
2022-10-27 15:51:50 +08:00
cnderrauber
7a7fc09372
Add fps calculator for VP8 and DependencyDescriptor ( #1110 )
...
* Add fps calculator for VP8 and DependencyDescriptor
* clean code
* unit test
* clean code
* solve comment
2022-10-26 09:28:28 +08:00
cnderrauber
759e3bb1f2
Refine nat 1to1 mapping setting ( #1094 )
...
Now only set mapping when user_external_ip enabled or node_ip is
explicitly set. If multiple local address resolved to same external
ip, only the first one will be mapped to external, avoid candidate
conflict between different clients.
2022-10-17 16:11:52 +08:00
cnderrauber
8fd3e8fe2d
Support track level stereo and red setting ( #1086 )
...
* Support track level stereo and red setting
* fix test client
2022-10-17 10:48:11 +08:00
cnderrauber
192d9295f5
Fix simulcast codec block track close ( #1082 )
2022-10-13 12:46:43 +08:00
cnderrauber
5f6edd6a49
update pion/ice webrtc for udpmux fix ( #1081 )
2022-10-12 10:53:55 +08:00
cnderrauber
716f27c435
Close UDPMux when exit ( #1064 )
...
* Close UDPMux when exit
* fix test failed
2022-10-01 09:03:58 +08:00
cnderrauber
4b630d2156
Add ipfilter to exclude ip from candidates gather ( #1052 )
2022-09-29 14:40:38 +08:00
cnderrauber
572dd43329
update pion for mux fix ( #1036 )
2022-09-26 16:04:32 +08:00
cnderrauber
48588d7c3d
code clean & fix h264 test fail ( #1028 )
2022-09-21 16:59:18 +08:00
cnderrauber
7ad123e4a6
fix ssrc messed up when generating trackinfo ( #1014 )
2022-09-16 15:59:44 +05:30
cnderrauber
a421ab8d2b
enable stereo opus ( #1013 )
2022-09-16 12:36:02 +08:00
cnderrauber
0b2843e248
update pion 3.1.44 ( #1007 )
2022-09-15 19:40:36 +08:00
cnderrauber
f1915feb1a
keep mid unchange after migration for subscribed track ( #995 )
2022-09-09 17:39:09 +08:00
cnderrauber
441053b7fa
add participant id when client reconnect ( #988 )
2022-09-07 15:56:56 +08: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
cnderrauber
31d3d5e8b9
ignore udp turn when force tls ( #952 )
2022-08-24 20:45:48 +05:30
cnderrauber
1350400c3a
fallback to turn over tls when tcp short connection happen ( #950 )
...
* fallback to tls when tcp failed
* go mod
* magefile
2022-08-24 20:42:56 +08:00
cnderrauber
f365481dde
unify resume/restart in single/multi node mode ( #946 )
2022-08-23 18:22:44 +08:00
cnderrauber
0b42a8f2c6
loop variable captured ( #945 )
2022-08-23 14:27:21 +08:00
cnderrauber
c20a91d2b2
enable red by default ( #940 )
...
* enable red by default
* fix test case
2022-08-22 17:40:12 +08:00
cnderrauber
a118d21af0
add red codec for opus ( #938 )
...
* opus/red codec
* panic
* forward red track to nonred subscriber
* config
* clean code
* solve comments
2022-08-22 12:32:27 +08:00
cnderrauber
770076febf
fix resume/restart with single node mode ( #930 )
...
* fix resume/restart with single node mode
* clean comment
2022-08-18 12:46:18 +08:00
cnderrauber
f819dcb63d
use protocol/sdp for sdp process ( #926 )
2022-08-17 16:12:33 +08:00
cnderrauber
c38d4df52f
server side codec preference for publish ( #916 )
2022-08-15 18:46:24 +08:00
cnderrauber
1d2bca373b
queue restart ice offer while publisher pc gathering ice ( #895 )
...
* queue restart ice offer while publisher pc gathering ice
* fix test case fail
2022-08-08 15:40:45 +08:00
cnderrauber
997461a2b6
rtpstats add update last packet method ( #858 )
2022-07-29 15:29:36 +08:00
cnderrauber
b69c314145
update non block tcpmux ( #840 )
2022-07-20 16:33:56 +08:00
cnderrauber
aee97c68bc
retransmit dd extension ( #837 )
2022-07-18 13:06:33 +08:00
cnderrauber
a0578db3ed
resolve downtrack.bind/close timing issue ( #833 )
...
* resolve downtrack.bind/close timing issue
* fix test case
2022-07-15 14:09:45 +08:00
cnderrauber
fcdff4f97a
enable nack for audio track ( #829 )
2022-07-13 16:05:57 +08:00