RESOLVED FIXED Bug 224430
Add support for RTCEncodedFrame metadata
https://bugs.webkit.org/show_bug.cgi?id=224430
Summary Add support for RTCEncodedFrame metadata
youenn fablet
Reported 2021-04-12 05:10:44 PDT
Add support for RTCEncodedFrame metadata
Attachments
Patch (12.03 KB, patch)
2021-04-12 05:13 PDT, youenn fablet
no flags
Patch (20.48 KB, patch)
2021-04-12 05:52 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2021-04-12 05:13:49 PDT
youenn fablet
Comment 2 2021-04-12 05:52:13 PDT
Eric Carlson
Comment 3 2021-04-12 09:40:32 PDT
Comment on attachment 425737 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=425737&action=review > Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransformableFrame.cpp:114 > + return { frameId, WTFMove(dependencies), metadata.GetWidth(), metadata.GetHeight(), metadata.GetSpatialIndex(), metadata.GetTemporalIndex(), m_rtcFrame->GetSsrc(), { } }; Will we eventually support contributingSources? If so, it would be good to have a bug and reference it here.
youenn fablet
Comment 4 2021-04-12 11:34:55 PDT
(In reply to Eric Carlson from comment #3) > Comment on attachment 425737 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=425737&action=review > > > Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransformableFrame.cpp:114 > > + return { frameId, WTFMove(dependencies), metadata.GetWidth(), metadata.GetHeight(), metadata.GetSpatialIndex(), metadata.GetTemporalIndex(), m_rtcFrame->GetSsrc(), { } }; > > Will we eventually support contributingSources? If so, it would be good to > have a bug and reference it here. contributing sources is mostly for audio mixers where a server is mixing several audio in one stream but web page might still want to expose who is actually speaking. I will file a bug to track it though since CSRC is not audio specific.
EWS
Comment 5 2021-04-12 11:45:35 PDT
Committed r275830 (236400@main): <https://commits.webkit.org/236400@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 425737 [details].
Radar WebKit Bug Importer
Comment 6 2021-04-12 11:46:19 PDT
youenn fablet
Comment 7 2021-04-13 02:03:37 PDT
> contributing sources is mostly for audio mixers where a server is mixing > several audio in one stream but web page might still want to expose who is > actually speaking. > > I will file a bug to track it though since CSRC is not audio specific. Let's make the attribute undefined if there are no CSRCs so that we do not surface it until we have something.
Note You need to log in before you can comment on or make changes to this bug.