Open Bug 1868223 Opened 1 year ago Updated 11 months ago

Support [Serializable] for RTCEncodedVideoFrame and RTCEncodedAudioFrame

Categories

(Core :: WebRTC: Networking, enhancement)

enhancement

Tracking

()

ASSIGNED

People

(Reporter: jib, Assigned: jib)

Details

Attachments

(1 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:

  1. Open https://jsfiddle.net/jib1/bf92opjh/
  2. 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: nobody → jib
Status: NEW → ASSIGNED

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.

Flags: needinfo?(smaug)
Flags: needinfo?(jib)
Flags: needinfo?(smaug)
Flags: needinfo?(jib)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: