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
cnderrauber
4280a5993b
correct RUnlock ( #826 )
2022-07-11 12:27:57 +08:00
cnderrauber
cf88bdebc2
remove close check in downtrack.bind ( #819 )
...
* remove close check in downtrack.bind
* return nil but do nothing
2022-07-08 10:59:09 +08:00
cnderrauber
4242205ede
move close downtrack to goroutine ( #810 )
2022-07-05 17:26:47 +08:00
cnderrauber
937882c364
add negotiate failed to ToDisconnectReason ( #809 )
2022-07-05 11:24:32 +08:00
cnderrauber
f17ed9b925
refine negotiation process ( #807 )
...
* refine negotiation process
* not restart during ice gathering
* fix test case
2022-07-04 17:11:09 +08:00
cnderrauber
93f152779e
Migrate with muted track ( #794 )
...
* update pion
* migrate muted track
* refine
2022-06-30 00:14:29 +08:00
cnderrauber
6eb1c1efe1
update pion ( #790 )
2022-06-27 15:08:56 +08:00
cnderrauber
0b630e15b6
disable ice lite by default ( #784 )
...
* disable ice lite by default
2022-06-24 15:06:07 +08:00
cnderrauber
20d777eff9
queue onSubscribedMaxQualityChange callback ( #779 )
2022-06-23 12:11:16 +08:00
cnderrauber
651d2aee4d
fix datachannel to same postion as previous negotiate ( #765 )
2022-06-17 18:28:57 +08:00
cnderrauber
d15725c662
publish new codec when subscriber needed ( #762 )
...
* publish new codec as needed
2022-06-16 18:16:34 +08:00
cnderrauber
15da445fd7
fix subscription update on codec change ( #757 )
2022-06-10 12:31:34 +08:00
cnderrauber
15e91344be
add disabled_codecs to client conf, and disable it at server side ( #755 )
...
* add disabled_codecs to client conf, and disable it at server side
* update go mod
2022-06-08 15:55:48 +08:00
cnderrauber
90ae3892b3
add simulate switch candidate ( #754 )
...
* add simulate switch candidate
* update go mod
2022-06-07 17:56:41 +08:00
cnderrauber
6ba034feae
shorten the time cost for subscriber get media tracks ( #747 )
...
* set DownTrack's initial codec to first codec of potential codecs
* faststart on subscribe
2022-06-02 10:00:42 +08:00
cnderrauber
62308b2ce0
set DownTrack's initial codec to first codec of potential codecs ( #740 )
2022-05-30 16:34:55 +08:00
cnderrauber
3a45f93fdd
disable AV1 and VP9 by default ( #735 )
2022-05-29 12:30:42 +08:00
cnderrauber and David Zhao
f958fbcc1c
simulcast codecs support ( #720 )
...
simulcast codecs support
Co-authored-by: David Zhao <dz@livekit.io >
2022-05-27 19:55:50 +08:00
cnderrauber
5f9cdfbd90
fix repeated AddSubscriber of MediaTrackSubscription ( #723 )
2022-05-27 15:42:17 +08: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
cnderrauber
7f38164ef6
fix twcc panic on packet lost ( #668 )
2022-05-05 17:04:02 +08:00
cnderrauber
8bb46637bb
enable accept aggressive nomination by default ( #644 )
2022-04-22 12:41:43 +08:00