Support [Serializable] for RTCEncodedVideoFrame and RTCEncodedAudioFrame (with .data member transfer)
Categories
(Core :: WebRTC: Networking, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox145 | --- | fixed |
People
(Reporter: jib, Assigned: jib)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete, webcompat:platform-bug)
User Story
user-impact-score:450
Attachments
(5 files, 1 obsolete file)
This was changed in https://github.com/w3c/webrtc-encoded-transform/pull/182.
[Serializable] is needed to transfer RTCRtpScriptTransform's readable and writable streams elsewhere, e.g. to main-thread.
STRs:
- Open https://jsfiddle.net/jib1/bf92opjh/
- Click the
Go!button (and give camera permission if needed)
Expected result:
- Two video elements playing, representing sender and receiver side.
Actual result:
- DataCloneError: RTCEncodedVideoFrame object could not be cloned.
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Comment 2•2 years ago
|
||
There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:jib, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.
Updated•2 years ago
|
Updated•2 years ago
|
| Comment hidden (obsolete) |
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 4•1 year ago
|
||
Comment 5•9 months ago
|
||
Jan-Ivar Bruaroey [:jib] (needinfo? me), could you please clarify the bug's status now? Is it fixed with the latest PR?
You also mentioned bug 1896361 being blocked by this bug. Could you please update the bug info to reflect that?
Updated•8 months ago
|
| Assignee | ||
Comment 6•8 months ago
|
||
A second patch is needed to complete this fix. Trying to find time to work on it.
It's only blocking bug 1896361 insofar as building a reverse shim for facebook would require inefficient transfer of encoded frames between main thread and a worker, as explained in Bug 1896361 comment 13.
Bug 1896361 would ideally be fixed through other means: facebook updating to use RTCScriptTransform (part of Interop 2025) once Chrome turns it on. This would make it work in Safari as well, not just Firefox.
We can remove the block if that happens first.
Updated•8 months ago
|
Updated•6 months ago
|
| Assignee | ||
Comment 7•6 months ago
|
||
| Assignee | ||
Comment 8•6 months ago
|
||
| Assignee | ||
Comment 9•6 months ago
|
||
| Assignee | ||
Comment 10•6 months ago
|
||
| Assignee | ||
Comment 11•6 months ago
|
||
Updated•6 months ago
|
Comment 12•6 months ago
|
||
Comment 13•6 months ago
|
||
Comment 14•6 months ago
|
||
Backed out for causing ios build bustages @StructuredCloneHolder.cpp.
Comment 15•6 months ago
|
||
| Assignee | ||
Updated•6 months ago
|
Comment 16•6 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/8e7778c59894
https://hg.mozilla.org/mozilla-central/rev/af35d7dd9df9
https://hg.mozilla.org/mozilla-central/rev/5cabce10e91c
https://hg.mozilla.org/mozilla-central/rev/20f698043569
https://hg.mozilla.org/mozilla-central/rev/c4e7bb567111
Updated•5 months ago
|
Comment 17•5 months ago
|
||
FF145 MDN docs work for this done as part of https://github.com/mdn/content/issues/41508
Description
•