cnderrauber
ca77df8212
warn for multiple dd ext ( #3135 )
...
* warn for multiple dd ext
* unused
2024-10-24 16:59:24 +08:00
cnderrauber
b30cc9066a
Drop remote candidates based on lite option ( #3127 )
...
Only drop remote candidates if remote peer is
not lite and local peer is lite.
2024-10-22 17:53:40 +08:00
cnderrauber
9147120915
Exclude session start time from publishing time ( #3089 )
2024-10-12 10:19:33 +08:00
cnderrauber
76bc112649
Don't return bind error on unsupport codec ( #3085 )
...
pion will not start transports if Bind fails at first answer
2024-10-11 14:59:54 +08:00
cnderrauber
cf59267631
Add counter for pub&sub time metrics ( #3084 )
...
* Add counter for pub&sub time metrics
The pub&sub shows large value in migration related case like
muted/disabled migration, the subscription time depends on
the time when publisher unmute the track(sending rtp packet
after migration), add a counter to distinguish since we
can't control the time in such cases and the first subscription
attemps also is more meaningful than those cases.
* Add info log for high publish delay
2024-10-11 12:07:24 +08:00
cnderrauber
c8dbe8e977
reset subscription time when downtrack closed and expect resume ( #3083 )
2024-10-10 16:06:44 +08:00
cnderrauber
85c653f665
dd selector debug logs ( #3082 )
2024-10-10 12:37:28 +08:00
cnderrauber
64d89dc2f8
Use difference debounce interval in negotiation ( #3078 )
...
Transport will send offer immediately if last
negotiation is before debounce interval in #1929 ,
it will cost two negotiation for a/v tracks if a
pubisher publishes two tracks at same time like
screenshare or enable mic/camera. This change use
a small debounce interval in this case to avoid this issue.
2024-10-09 21:13:05 +08:00
cnderrauber
3a77f2c733
change comment of disable fast negotiation for migration ( #3053 )
2024-09-27 15:18:34 +08:00
cnderrauber
73900be59d
Set mime_type for tracks don't have simulcast_codecs ( #3040 )
...
go sdk don't have simucalst_codecs set could cause
partial track info broadcast to other nodes.
2024-09-24 15:36:08 +08:00
cnderrauber
341d1e512c
change bind log to debug ( #3033 )
2024-09-23 12:05:38 +08:00
cnderrauber
eed925fddf
avoid race condition on downtrack.Codec ( #3032 )
2024-09-22 14:27:26 +08:00
cnderrauber
978db00034
Add sdk, participant_kind to pub sub metrics ( #3023 )
...
* exclude go client from track publication metric
* add sdk,participant_kind lables
* fix test
2024-09-19 10:42:47 +08:00
cnderrauber
3ecd03fa31
Use new track id for republishing ( #3020 )
...
* Use new track id for republishing
Always generates new track id for track publishing
to make the behavior more consistent. A republishing of
clien track will be considered as a new track publication
and always trigger trackUnpublished & trackPublished event
on subscriber side.
* remove test
2024-09-19 09:17:12 +08:00
cnderrauber
0c002b8675
exclude sip client from track publish metric ( #3007 )
2024-09-17 09:42:21 +08:00
cnderrauber
3cf70b2198
Disable fast negotiation temporarily after migration ( #2991 )
2024-09-10 00:16:09 +08:00
cnderrauber
95fa55eb5d
Update pion to fix transceiver reuse ( #2983 )
2024-09-06 23:32:02 +08:00
cnderrauber
5ae88c267e
CacheDowntrack synchronously on DownTrack.Close ( #2981 )
...
Avoid repeat adding local/remote downtracks when migration
after #2970 allow remote track can be subscribed before resolved.
2024-09-05 22:00:38 +08:00
cnderrauber
08b8db9eb1
Start negotiate immediately if last one is before debouce interval ( #2979 )
2024-09-05 15:37:30 +08:00
cnderrauber
4792e7e134
Revert "Add tracksubscribed event on downtrack added ( #2934 )" ( #2975 )
...
This reverts commit 8b47218270 .
2024-09-04 10:42:18 +08:00
cnderrauber
d6ce2338e2
Use correct subscriber id in dynacast notify ( #2972 )
2024-09-03 11:35:52 +08:00
cnderrauber
efa85221b3
Negotiate downttrack for subscriber before receiver is ready ( #2970 )
...
* Negotiate downttrack for subscriber before receiver is ready
This change will save 1 round sdp negotiation time for
subscribing to simulcast-codec or remote node track
* solve comment
* Fix simulcast-codec case
2024-09-02 14:10:14 +08:00
cnderrauber
28417ef599
fix republish failed ( #2966 )
...
* fix republish failed
parallel negotiation would cause remote webrtc track consume
pending republished track then failed.
* comment
2024-08-29 15:41:32 +08:00
cnderrauber
16896e4d66
Add FastPublish in JoinResponse ( #2964 )
...
Set FastPublish in JoinResponse for participant can publish
and no ice fallback setting.
2024-08-28 12:00:28 +08:00
cnderrauber
bde702d9c9
Don't remove DD extesion for simucalst codecs ( #2960 )
2024-08-26 17:52:33 +08:00
cnderrauber
947e8f5909
Speed up track publication ( #2952 )
...
* speed up track publication
Add metrics for track publication and subscription
Return EnabledCodecs in JoinResponse so client can
choose codec without server side codec fallback
Cache remote webrtc track without AddTrackRequest to
let client send publisher offer before AddTrackRequest response
* go mod
* clean code
2024-08-23 18:38:32 +08:00
cnderrauber
15bf920f2c
fix framenumber test ( #2942 )
2024-08-19 16:35:38 +08:00
cnderrauber
8b47218270
Add tracksubscribed event on downtrack added ( #2934 )
...
will remove this once the remote node has tracksubscribed
event sent.
2024-08-14 10:19:01 +08:00
cnderrauber
a8730b04b8
move TrackSubscribed trigger to MediaSubscription ( #2916 )
2024-08-07 22:30:52 +08:00
cnderrauber
5e4c6d46fb
rename log ( #2906 )
2024-08-05 13:46:56 +08:00
cnderrauber
f6f6cca133
don't push 0 ssrc probing packets to pending queue ( #2888 )
2024-07-23 17:58:04 +08:00
cnderrauber
0c5b5537b2
Don't create DDParser for non-svc codec ( #2883 )
2024-07-19 10:52:27 +08:00
cnderrauber
e3597d780d
Update pion to handle different extensions in two media section ( #2878 )
...
Also remove the code to disable DD extension for vp8/h264, it
cause DD can't be processed if the first video track is non-svc
codec.
2024-07-18 14:49:04 +08:00
cnderrauber
e7424e5a8e
don't send unknown signal message to rust sdk with protocol 9 ( #2860 )
...
rust sdk can't handle unknown message (ErrorResponse and
TrackSubscribed)
2024-07-16 00:03:54 +05:30
cnderrauber
5e1b18dab3
Add option to disable ice lite ( #2862 )
...
Some sfu's ice agent implementation has problem
to establish ice connection with lite ice agent,
add option to let client to disble it in server side.
2024-07-15 15:11:46 +08:00
cnderrauber
a995c71f84
Fallback to primary encoding if redundant block overflow ( #2858 )
...
* Fallback to primary encoding if redundant block overflow
* revert mtu change
2024-07-12 16:39:54 +08:00
cnderrauber
deee816d0a
Forward correct payload type for mixed up red/primary payload ( #2847 )
...
* Forward correct payload type for mixed up red/primary payload
* empty line
* log field & test case
2024-07-09 23:04:47 +08:00
cnderrauber
4e9ab46091
use correct payload type for red primary encoding ( #2845 )
2024-07-09 10:30:05 +08:00
cnderrauber
70fbba2844
Add track subscribed notification to publisher ( #2834 )
...
* Add track subscribed notification to publisher
* update go mod
2024-07-05 21:57:03 +08:00
cnderrauber
7a5c90dc01
log non-trickle candidate in details ( #2832 )
...
* log non-trickle candidate in details
* fix test
2024-07-03 14:16:58 +08:00
cnderrauber
7dff092285
update sctp performance ( #2831 )
...
* update sctp performance
* go mod tidy
2024-07-02 14:43:44 +08:00
cnderrauber
6e4b0c20d1
update dep for fixing bucket grow ( #2785 )
2024-06-13 10:13:18 +08:00
cnderrauber
908baeb942
initialize bucket size by publish bitrates ( #2763 )
2024-06-06 14:31:20 +08:00
cnderrauber
b90ade81da
add log for unexpected jitter ( #2752 )
2024-06-03 15:12:53 +08:00
cnderrauber
526d3a017e
ignore abnormal forward delay ( #2748 )
2024-05-31 10:23:37 +08:00
cnderrauber
7ed1284b96
report average forward metrics ( #2737 )
...
* report average forward metrics
* unused parameter
2024-05-28 17:03:18 +08:00
cnderrauber
2288e402ac
register forward metrics ( #2735 )
2024-05-27 15:47:01 +08:00
cnderrauber
e6aa36fdd6
Add forward stats ( #2725 )
...
* Add forward metrics
* ignore packets was not forwarded
* rename
2024-05-24 17:43:28 +08:00
cnderrauber
cfa82c6ad4
increase protocol version to support optional publisher datachannel ( #2693 )
2024-04-28 15:09:24 +08:00
cnderrauber
90de06ce02
Make datachannel optional for publisher ( #2686 )
2024-04-26 15:24:41 +08:00
cnderrauber
b55038af03
Detach subscriber datachannel to save memory ( #2680 )
...
Sfu don't read message from subscriber datachannel, detach
it to bypass the readLoop can save 128KB memory and 2 goroutines per
participant.
2024-04-24 16:26:07 +08:00
cnderrauber
f239f8bff1
Fix SubParticipant twice when paticipant left ( #2672 )
2024-04-23 16:09:02 +08:00
cnderrauber
8eb86f1077
Don't log dd invalid template index ( #2664 )
...
If the first packet of keyframe has template structure is lost then
subsequent packets rely on it will report invalid tempalte error which
is expected.
2024-04-19 16:48:36 +08:00
cnderrauber
0b3587b10d
Disable dynamic playout delay for screenshare track ( #2663 )
...
Screenshare video has inaccuracy jitter due to its low frame rate and bursty traffic
2024-04-19 15:25:48 +08:00
cnderrauber
196fed605e
Limit playout delay change for high jitter ( #2635 )
...
* Limit playout delay change for high jitter
* fix test
2024-04-08 21:50:50 +08:00
cnderrauber
0a35e59ebd
Replace sleep with sync.Cond to reduce jitter ( #2603 )
2024-03-29 17:24:31 +08:00
cnderrauber
95df9737a6
Fix twcc has chance to miss for firefox simulcast rtx ( #2601 )
2024-03-29 09:05:53 +08:00
cnderrauber
bc5fc17bdc
Log high jitter case ( #2602 )
2024-03-28 15:59:03 +08:00
cnderrauber
95001dfe54
remove warning log of unexpected rtcp fb ( #2546 )
...
* remove warning log of unexpected rtcp fb
* Add log for high playout delay
* don't create delay controller for audio
2024-03-05 10:35:28 +08:00
cnderrauber
8c5d8730b1
Check ssrc for rtcp packets ( #2541 )
...
* Check ssrc for rtcp packets
* Add warn log if rtcp fb has unknown ssrc
2024-03-04 16:36:57 +08:00
cnderrauber and David Zhao
b58307f144
Support XR request/response for rtt calculation ( #2536 )
...
* Support XR request/response for rtt calculation
* Update pkg/sfu/downtrack.go
Co-authored-by: David Zhao <dz@livekit.io >
---------
Co-authored-by: David Zhao <dz@livekit.io >
2024-03-03 12:34:49 +08:00
cnderrauber
a435368278
use dynamic bucket size ( #2524 )
2024-02-28 16:24:23 +08:00
cnderrauber
20ac7fb416
Confirm migrated tracks info before declare migration completed ( #2522 )
...
* Confirm migrated tracks info before declare migration completed
* log expected mid
2024-02-28 12:16:34 +08:00
cnderrauber
90ab3fdf68
Reduce FrameIntegrityChecker's allocation ( #2504 )
2024-02-23 13:10:58 +08:00
cnderrauber
787af0e84c
update pion/ice for tcpmux memory improvement ( #2500 )
2024-02-22 11:55:37 +08:00
cnderrauber
628b7c7024
Fix nil bufferfactory in test ( #2495 )
2024-02-20 17:06:34 +08:00
cnderrauber
91c320770b
Replace reflect.Equal with generic sliceEqual ( #2494 )
...
* Replace reflect.Equal with generic sliceEqual
* Use library function
2024-02-20 11:57:38 +08:00
cnderrauber
af0a8fbbbc
add log for extpacket accumulated ( #2454 )
2024-02-06 21:38:36 +08:00
cnderrauber
be87a1b6f0
Support rtx for publisher ( #2452 )
...
* Support rtx for publisher
* remote log
* solve comment
2024-02-06 21:30:37 +08:00
cnderrauber
9b4ba2d41d
use default max playout delay as chrome ( #2411 )
2024-01-26 13:32:54 +08:00
cnderrauber
995fddbaf9
Add dynamic playout delay if PlayoutDelay enabled in the room ( #2403 )
...
* Add dynamic playout delay
* type for state
2024-01-26 09:33:35 +08:00
cnderrauber
5b4848e772
remove dd debug logs ( #2387 )
2024-01-16 12:07:29 +08:00
cnderrauber
fcee6edcb2
change svc frame number log to debug ( #2347 )
2023-12-26 11:40:34 +08:00
cnderrauber
a150eaf697
Fix mid info lost when migrating multi-codec simulcast track ( #2315 )
...
* Fix mid info lost when migrating multi-codec simulcast track
* update pion
2023-12-15 00:02:27 +08:00
cnderrauber
b0b7489b0e
Fix svc freeze caused by key frame id wrap around ( #2302 )
...
* Fix svc freeze caused by key frame id wrap around
* rename
2023-12-07 12:53:17 +08:00
cnderrauber
e1cc9d6b3c
Fix log marshal error ( #2295 )
2023-12-06 00:08:48 +08:00
cnderrauber and David Zhao
0f1c1ec224
clean dd log ( #2275 )
...
* clean dd log
* Implemented Raja's feedback
---------
Co-authored-by: David Zhao <dz@livekit.io >
2023-11-29 12:12:29 -08:00
cnderrauber
302facc60d
Reject migration if codec mismatch with published tracks ( #2225 )
...
* Reject migrated/published track mismatch codec with track info
* Check potential codecs
* Issue full connect if mismatch
* fix codec finding
2023-11-06 21:11:39 +08:00
cnderrauber
f5047ab653
Check request layer for DD selector sync ( #2219 )
2023-11-03 18:40:36 +08:00
cnderrauber
f247b68ed6
Make sure dd selector uses correct keyframe to select packets ( #2218 )
...
* Make sure dd selector uses correct keyframe to select packets
* Fix test case
* remove unsed field
2023-11-03 17:49:02 +08:00
cnderrauber
9399fb2bfe
Only select alternative codec for video ( #2210 )
...
* Only select alternative codec for video
* Filter out empty mime
2023-11-01 19:45:44 +08:00
cnderrauber and David Zhao
3633dfe39e
Disable h264 for android firefox ( #2190 )
...
* Disable H.264 for android firefox
* Fix syntax error for rule
* lower case
* Remove disabled codec from AddTrackRequest
* Consistent handling of enabled codecs
Mainly cleaning up where we are doing codec filtering.
There's also behavior change of how we handle codec compatibility. If a client doesn't support the client's desired codec, we'll pick a backup automatically
instead of rejecting the client's request.
Requires an update on multi-codec simulcast handling.
* fix alternative codec selection
---------
Co-authored-by: David Zhao <dz@livekit.io >
2023-10-27 14:47:36 +08:00
cnderrauber
1f0ba21854
Fix svc: Drop frame is earlier than current keyframe ( #2196 )
...
* Fix svc: Drop frame is earlier than current keyframe
* Log detail of dependencydescriptor
2023-10-27 13:57:03 +08:00
cnderrauber
514e86eac4
Don't filter out ipv6 address for client don't support prflx over relay ( #2193 )
...
candidate
2023-10-26 17:05:22 +08:00
cnderrauber
0296a5bd86
Remove un-preferred codecs for android firefox ( #2183 )
...
* Remove un-preferred codecs for android firefox
Android firefox don't comply with the codec order in answer sdp and
has problem to publish h.264, remove other codecs to fix this.
* false(false) is true
2023-10-25 16:59:37 +08:00
cnderrauber
1ee808ec7d
Fix frame chain can't detect broken if currentLayer is not valid ( #2176 )
2023-10-24 14:09:40 +08:00
cnderrauber
eca32792b8
Add configuration to limit MaxBufferedAmount for data channel ( #2170 )
...
* Add configuration to limit MaxBufferedAmount for data channel
* comment
* Fix generate flags
* fix test
* Don't disconnect slow subscriber
2023-10-23 15:03:58 +08:00
cnderrauber
53e757fd2c
Fix panic on streamtracker_dd ( #2147 )
2023-10-17 10:37:11 +08:00
cnderrauber
92a355e1f3
Add SyncStreams flag to Room ( #2110 )
...
* Add SyncStreams flag to Room
* Increase protocol version
* Revert version change
* Move flags to internal & solve comment
2023-09-28 15:41:44 +08:00
cnderrauber
1200a960a2
Use generic type cast for IDs ( #2095 )
2023-09-20 17:09:24 +08:00
cnderrauber
e46da0705a
Add max playout delay config ( #2089 )
...
* Add max playout delay
* config sample
2023-09-19 11:30:38 +08:00
cnderrauber
696798279e
Check destination identites of data message if sid is empty ( #2058 )
2023-09-11 14:42:48 +08:00
cnderrauber
75ffb25d77
Parse PortRange of UDPPort from cli flag ( #2039 )
2023-09-06 14:17:49 +08:00
cnderrauber
9b9298b927
Add batch i/o to improve throughput ( #2033 )
...
* Add batch i/o to improve throughput
* remove empty line
* Solve comments
* Change rtcconfig.UDPPort to PortRange
* Fix test
2023-09-06 10:18:20 +08:00
cnderrauber
b85ff8f063
Support non-SVC AV1 track publishing ( #2030 )
2023-09-04 12:39:14 +08:00
cnderrauber
5e481fe6bf
Don't create new slice when return broadcast downtracks ( #2013 )
2023-08-30 15:31:01 +08:00
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