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
cnderrauber
124d628c0a
add config to accept aggressive nomination ( #642 )
2022-04-21 18:32:18 +08:00
cnderrauber
3f9d6c11bc
add log info for client closed websocket ( #640 )
2022-04-21 12:44:43 +08:00
cnderrauber
7a3e446a65
run StartSession in a goroutine ( #614 )
2022-04-15 09:36:24 +08:00
cnderrauber
665e53aba8
rename log and comment ( #601 )
2022-04-07 17:28:33 +08:00
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
cnderrauber
1471830990
use negotiated data channel in migration case ( #596 )
2022-04-06 14:13:31 +08:00
cnderrauber
ffb45f7fe2
change client resume condition to disconnected, not failed ( #583 )
2022-03-31 13:43:22 +08:00
cnderrauber
3f5d4df65d
fix subscribe only client migrate with data channel ( #579 )
2022-03-30 18:45:03 +08:00
cnderrauber
e35d75f7d7
disable av1 and vp9 support ( #576 )
2022-03-29 10:29:54 +08:00
cnderrauber
3959251837
add support for vp9 and av1 ( #574 )
2022-03-28 22:22:48 +08:00
cnderrauber
75ca70aef7
add ipv6 support ( #571 )
2022-03-28 14:23:48 +08: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
cnderrauber
61655c6ff0
fix firefox reconnect with ice-lite enabled ( #565 )
2022-03-24 17:38:44 +08:00
cnderrauber
534cc01b85
refine dynacast pause delay ( #558 )
...
* refine dynacast pause delay
* fix test
2022-03-23 16:52:40 +08:00
cnderrauber
b98b828618
throttle quality come down ( #556 )
2022-03-23 15:27:00 +08:00
cnderrauber
779fe0f549
revert network cost change ( #550 )
2022-03-22 19:04:13 +08:00
cnderrauber
63d6b49668
make migrated node has higher candidate priority ( #546 )
2022-03-22 09:47:43 +08: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 and boks1971
c6a35d3ff1
fix keyFrameRequestGeneration not exit after close ( #527 )
...
* fix keyFrameRequestGeneration not exit after close
* change to bound check
* Refactor stop key frame requester into a function
* Remove redundant key frame requester stop
Co-authored-by: boks1971 <raja.gobi@tutanota.com >
2022-03-17 18:50:07 +08:00
cnderrauber
82192f524e
fix migration state ( #520 )
2022-03-16 17:58:25 +08:00
cnderrauber
37b76f41b7
set participant to active after subscriber data channel opened ( #518 )
2022-03-16 12:12:16 +08:00
cnderrauber
61ac44e5f7
Revert data track change ( #513 )
...
* Revert data track change
* clean code
2022-03-15 19:30:10 +08:00
cnderrauber
a5fa54853f
fix potential nil rtcp packets cause rtcpSendWorker exit ( #504 )
2022-03-11 15:40:24 +08:00
cnderrauber and David Zhao
e4c321de02
add interface filter config ( #502 )
...
* add interface filter config
* Update config-sample.yaml
Co-authored-by: David Zhao <david@davidzhao.com >
* better description
Co-authored-by: David Zhao <david@davidzhao.com >
2022-03-11 14:08:41 +08:00
cnderrauber
d31c9f607e
fix timing issue for clear receiver ( #497 )
2022-03-09 21:38:01 +08:00
cnderrauber
184fc93c6a
fix panic on close channel ( #495 )
2022-03-09 11:49:27 +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