Skip to content

Conversation

@hamishwillee
Copy link
Contributor

@hamishwillee hamishwillee commented Oct 20, 2025

FF145 makes RTCEncodedAudioFrame and RTCEncodeVideoFrame get constructors in https://bugzilla.mozilla.org/show_bug.cgi?id=1975032

These include an options.metadata property that contains the same kind of object as returned by getMetadata().
This adds the subfeatures for both cases which duplicate each other.

The results are based on test https://jsfiddle.net/jib1/5t1mehn4/ from https://bugzilla.mozilla.org/show_bug.cgi?id=1975032#c7 along with version support for the whole thing went into Safari (26 - https://webkit.org/blog/17333/webkit-features-in-safari-26-0/).
The test worked for Chrome, but not in browserstack. Therefore I have assumed that except for audioLevel the properties were added in first release of the constructor.

Note that the last commit adds sequenceNumber and recieveTime. I cannot see these in the test above, but was able to observed them in WPT tests by debugging. 68f2acd

Related docs work can be tracked in mdn/content#41508

@github-actions github-actions bot added data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:xl [PR only] >1000 LoC changed labels Oct 20, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 20, 2025

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:xl [PR only] >1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant