Open Bug 1825286 Opened 2 years ago Updated 18 hours ago

Implement MediaDecodingType/MediaEncodingType "webrtc"

Categories

(Core :: WebRTC: Audio/Video, task)

task

Tracking

()

ASSIGNED

People

(Reporter: bwc, Assigned: az, NeedInfo)

References

(Blocks 3 open bugs)

Details

(4 keywords, Whiteboard: [platform-feature][webcompat:risk-high])

User Story

https://mozilla-hub.atlassian.net/browse/FFXP-677
platform-scheduled:2025-12-01
user-impact-score:1000

Attachments

(19 files, 15 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
Keywords: dev-doc-needed
Whiteboard: webcompat:risk-high
Component: Audio/Video: Playback → WebRTC: Audio/Video
User Story: (updated)
No longer blocks: webrtc-triage
No longer blocks: media-triage
User Story: (updated)
Blocks: 1919227
User Story: (updated)

Currently tracked in our webcompat todo list.

No longer blocks: webrtc-triage
User Story: (updated)
Flags: needinfo?(azebrowski)
Assignee: nobody → azebrowski
No longer blocks: 1571470
Status: NEW → ASSIGNED
User Story: (updated)
Attachment #9511387 - Attachment description: WIP: Bug 1825286 - Step 1: Add MediaCapabilitiesValidation.{h,cpp} to validate MediaCapabilities API types per spec → WIP: Bug 1825286 - Step 1: Add MediaCapabilitiesValidation.{h,cpp} to validate MediaCapabilities API types per spec.
Attachment #9511388 - Attachment description: WIP: Bug 1825286 - Step 2: Add WebRTC type to IDL and corresponding checks to MediaCapabilitiesValidation → WIP: Bug 1825286 - Step 2: Add WebRTC type to IDL and corresponding checks to MediaCapabilitiesValidation.
Attachment #9511389 - Attachment description: WIP: Bug 1825286 - Step 3: Use MediaCapabilitiesValidation to check DecodingInfo → WIP: Bug 1825286 - Step 3: Use MediaCapabilitiesValidation to check DecodingInfo.
Attachment #9511390 - Attachment description: WIP: Bug 1825286 - Step 4: Use MediaCapabilitiesValidation to check EncodingInfo → WIP: Bug 1825286 - Step 4: Use MediaCapabilitiesValidation to check EncodingInfo.
Attachment #9511391 - Attachment description: WIP: Bug 1825286 - Step 5: Add CheckTypeForWebRTC{Encode,Decode} helpers for use creating DecodingInfo → WIP: Bug 1825286 - Step 5: Add CheckTypeForWebRTC{Encode,Decode} helpers for use creating {Encoding,Decoding}Info.
Attachment #9511392 - Attachment description: WIP: Bug 1825286 - Step 6: Add WebRTC-specific checks to DecodingInfo creation → WIP: Bug 1825286 - Step 6: Add WebRTC-specific checks to DecodingInfo creation.
Attachment #9511393 - Attachment description: WIP: Bug 1825286 - Step 7: Update MediaCapabilities WPT test expectations → WIP: Bug 1825286 - Step 7: Update MediaCapabilities WPT test expectations.
Depends on: 1993541

Comment on attachment 9511387 [details]
WIP: Bug 1825286 - Step 1: Add MediaCapabilitiesValidation.{h,cpp} to validate MediaCapabilities API types per spec.

Revision D263717 was moved to bug 1993541. Setting attachment 9511387 [details] to obsolete.

Attachment #9511387 - Attachment is obsolete: true

Comment on attachment 9511389 [details]
WIP: Bug 1825286 - Step 3: Use MediaCapabilitiesValidation to check DecodingInfo.

Revision D263719 was moved to bug 1993541. Setting attachment 9511389 [details] to obsolete.

Attachment #9511389 - Attachment is obsolete: true

Comment on attachment 9511390 [details]
WIP: Bug 1825286 - Step 4: Use MediaCapabilitiesValidation to check EncodingInfo.

Revision D263720 was moved to bug 1993541. Setting attachment 9511390 [details] to obsolete.

Attachment #9511390 - Attachment is obsolete: true

Comment on attachment 9511393 [details]
WIP: Bug 1825286 - Step 7: Update MediaCapabilities WPT test expectations.

Revision D263723 was moved to bug 1993541. Setting attachment 9511393 [details] to obsolete.

Attachment #9511393 - Attachment is obsolete: true
Attachment #9518543 - Attachment is obsolete: true
Attachment #9515536 - Attachment is obsolete: true
Attachment #9518544 - Attachment is obsolete: true
Attachment #9515535 - Attachment is obsolete: true
Attachment #9515538 - Attachment is obsolete: true
Attachment #9518542 - Attachment is obsolete: true
Attachment #9511391 - Attachment is obsolete: true
Attachment #9511392 - Attachment is obsolete: true
Attachment #9511388 - Attachment is obsolete: true
Attachment #9515537 - Attachment is obsolete: true
User Story: (updated)
Attachment #9533151 - Attachment is obsolete: true
Attachment #9533141 - Attachment description: WIP: Bug 1825286 - Part 1: Add webrtc type to MediaCapabilities IDL and remove transmission type. → Bug 1825286 - Part 1: Add webrtc type to MediaCapabilities IDL and remove transmission type. r=pehrsons
Attachment #9533142 - Attachment description: WIP: Bug 1825286 - Part 2: Add WebRTC exception to the Media Capabilities MIME type validity check. → Bug 1825286 - Part 2: Add WebRTC exception to the Media Capabilities MIME type validity check. r=pehrsons
Attachment #9533143 - Attachment description: WIP: Bug 1825286 - Part 3: Add video/mpeg and audio/mpeg to container list for Media Capabilities validation. → Bug 1825286 - Part 3: Add video/mpeg and audio/mpeg to container list for Media Capabilities validation. r=pehrsons
Attachment #9533144 - Attachment description: WIP: Bug 1825286 - Part 4: Add WebRTC-specific scalabilityMode check to Media Capabilities video configuration validation. → Bug 1825286 - Part 4: Add WebRTC-specific scalabilityMode check to Media Capabilities video configuration validation. r=pehrsons
Attachment #9533145 - Attachment description: WIP: Bug 1825286 - Part 5: Add colorGamut and transferFunction validation functions to be used in MediaCapabilities MIME type support check. → Bug 1825286 - Part 5: Add colorGamut and transferFunction validation functions to be used in MediaCapabilities MIME type support check. r=pehrsons
Attachment #9533146 - Attachment description: WIP: Bug 1825286 - Part 6: Add WebRTC and colorGamut/transferFunction support checks to CheckMIMETypeSupport. → Bug 1825286 - Part 6: Add WebRTC and colorGamut/transferFunction support checks to CheckMIMETypeSupport. r=pehrsons
Attachment #9533147 - Attachment description: WIP: Bug 1825286 - Part 7: Add functions to expose default WebRTC audio/video codecs. → Bug 1825286 - Part 7: Add functions to expose default WebRTC audio/video codecs. r=pehrsons
Attachment #9533148 - Attachment description: WIP: Bug 1825286 - Part 8: Add WebRTCCodecInfo.{cpp,h} and WebRTCCodecInfoExport.{cpp,h} to parse and export WebRTC codec information for use with Media Capabilities support checks. → Bug 1825286 - Part 8: Add WebRTCCodecInfo.{cpp,h} and WebRTCCodecInfoExport.{cpp,h} to parse and export WebRTC codec information for use with Media Capabilities support checks. r=pehrsons
Attachment #9533149 - Attachment description: WIP: Bug 1825286 - Part 9: Add BindAsyncRequestToThread helper to use when checking Media Capabilities support information. → Bug 1825286 - Part 9: Add BindAsyncRequestToThread helper to use when checking Media Capabilities support information. r=pehrsons
Attachment #9533150 - Attachment description: WIP: Bug 1825286 - Part 10: Add GetSingleSupportPromise and helpers to check support information for MediaCapabilities encode/decode, audio/video, in a unified manner for all types (webrtc, file, media-source, and record). → Bug 1825286 - Part 10: Add GetSingleSupportPromise and helpers to check support information for MediaCapabilities encode/decode, audio/video, in a unified manner for all types (webrtc, file, media-source, and record). r=pehrsons
Attachment #9533725 - Attachment description: WIP: Bug 1825286 - Part 11: Add encode/decode hardware acceleration support checks to Media Capabilities. → Bug 1825286 - Part 11: Add encode/decode hardware acceleration support checks to Media Capabilities. r=pehrsons
Attachment #9533152 - Attachment description: WIP: Bug 1825286 - Part 12: Update Media Capabilities DecodingInfo creation to use unified support checks and add WebRTC support → Bug 1825286 - Part 12: Update Media Capabilities DecodingInfo creation to use unified support checks and add WebRTC support r=pehrsons
Attachment #9533153 - Attachment description: WIP: Bug 1825286 - Part 13: Overhaul Media Capabilities EncodingInfo creation to use unified support checks and add WebRTC support. → Bug 1825286 - Part 13: Overhaul Media Capabilities EncodingInfo creation to use unified support checks and add WebRTC support. r=pehrsons
Attachment #9533154 - Attachment description: WIP: Bug 1825286 - Part 14: Update WPT expectations (100% Media Capabilities pass rate). → Bug 1825286 - Part 15: Update Media Capabilities WPT expectations. r=pehrsons
Attachment #9533726 - Attachment description: WIP: Bug 1825286 - Part 15: Add GTests for WebRTCCodecInfo. → Bug 1825286 - Part 16: Add GTests for WebRTCCodecInfo. r=pehrsons
Whiteboard: webcompat:risk-high → [platform-feature][webcompat:risk-high]
Blocks: 1951596
Attachment #9533141 - Attachment description: Bug 1825286 - Part 1: Add webrtc type to MediaCapabilities IDL and remove transmission type. r=pehrsons → WIP: Bug 1825286 - Part 1: Add webrtc type to MediaCapabilities IDL and remove transmission type. r=pehrsons
Attachment #9533142 - Attachment description: Bug 1825286 - Part 2: Add WebRTC exception to the Media Capabilities MIME type validity check. r=pehrsons → WIP: Bug 1825286 - Part 2: Add WebRTC exception to the Media Capabilities MIME type validity check. r=pehrsons
Attachment #9533143 - Attachment description: Bug 1825286 - Part 3: Add video/mpeg and audio/mpeg to container list for Media Capabilities validation. r=pehrsons → WIP: Bug 1825286 - Part 3: Add video/mpeg and audio/mpeg to container list for Media Capabilities validation. r=pehrsons
Attachment #9533144 - Attachment description: Bug 1825286 - Part 4: Add WebRTC-specific scalabilityMode check to Media Capabilities video configuration validation. r=pehrsons → WIP: Bug 1825286 - Part 4: Add WebRTC-specific scalabilityMode check to Media Capabilities video configuration validation. r=pehrsons
Attachment #9533145 - Attachment description: Bug 1825286 - Part 5: Add colorGamut and transferFunction validation functions to be used in MediaCapabilities MIME type support check. r=pehrsons → WIP: Bug 1825286 - Part 5: Add colorGamut and transferFunction validation functions to be used in MediaCapabilities MIME type support check. r=pehrsons
Attachment #9533146 - Attachment description: Bug 1825286 - Part 6: Add WebRTC and colorGamut/transferFunction support checks to CheckMIMETypeSupport. r=pehrsons → WIP: Bug 1825286 - Part 6: Add WebRTC and colorGamut/transferFunction support checks to CheckMIMETypeSupport. r=pehrsons
Attachment #9533147 - Attachment description: Bug 1825286 - Part 7: Add functions to expose default WebRTC audio/video codecs. r=pehrsons → WIP: Bug 1825286 - Part 7: Add functions to expose default WebRTC audio/video codecs. r=pehrsons
Attachment #9533148 - Attachment description: Bug 1825286 - Part 8: Add WebRTCCodecInfo.{cpp,h} and WebRTCCodecInfoExport.{cpp,h} to parse and export WebRTC codec information for use with Media Capabilities support checks. r=pehrsons → WIP: Bug 1825286 - Part 8: Add WebRTCCodecInfo.{cpp,h} and WebRTCCodecInfoExport.{cpp,h} to parse and export WebRTC codec information for use with Media Capabilities support checks. r=pehrsons
Attachment #9533149 - Attachment description: Bug 1825286 - Part 9: Add BindAsyncRequestToThread helper to use when checking Media Capabilities support information. r=pehrsons → WIP: Bug 1825286 - Part 10: Add GetThreadForAsyncRequesthelper to use when checking Media Capabilities support information. r=pehrsons
Attachment #9533150 - Attachment description: Bug 1825286 - Part 10: Add GetSingleSupportPromise and helpers to check support information for MediaCapabilities encode/decode, audio/video, in a unified manner for all types (webrtc, file, media-source, and record). r=pehrsons → WIP: Bug 1825286 - Part 12: Add GetSingleSupportPromise and helpers to check support information for MediaCapabilities encode/decode, audio/video, in a unified manner for all types (webrtc, file, media-source, and record). r=pehrsons
Attachment #9533725 - Attachment description: Bug 1825286 - Part 11: Add encode/decode hardware acceleration support checks to Media Capabilities. r=pehrsons → WIP: Bug 1825286 - Part 13: Add encode/decode hardware acceleration support checks to Media Capabilities. r=pehrsons
Attachment #9533152 - Attachment description: Bug 1825286 - Part 12: Update Media Capabilities DecodingInfo creation to use unified support checks and add WebRTC support r=pehrsons → WIP: Bug 1825286 - Part 14: Update Media Capabilities DecodingInfo creation to use unified support checks and add WebRTC support. r=pehrsons
Attachment #9533153 - Attachment description: Bug 1825286 - Part 13: Overhaul Media Capabilities EncodingInfo creation to use unified support checks and add WebRTC support. r=pehrsons → WIP: Bug 1825286 - Part 15: Overhaul Media Capabilities EncodingInfo creation to use unified support checks and add WebRTC support. r=pehrsons
Attachment #9534566 - Attachment description: Bug 1825286 - Part 14: Return a promise rejected with a TypeError if EncodingInfo is not a valid MediaConfiguration. r=pehrsons → WIP: Bug 1825286 - Part 16: Return a promise rejected with a TypeError if EncodingInfo is not a valid MediaConfiguration. r=pehrsons
Attachment #9533154 - Attachment description: Bug 1825286 - Part 15: Update Media Capabilities WPT expectations. r=pehrsons → WIP: Bug 1825286 - Part 17: Update Media Capabilities WPT expectations. r=pehrsons
Attachment #9533726 - Attachment description: Bug 1825286 - Part 16: Add GTests for WebRTCCodecInfo. r=pehrsons → WIP: Bug 1825286 - Part 18: Add GTests for WebRTCCodecInfo. r=pehrsons
Attachment #9533148 - Attachment description: WIP: Bug 1825286 - Part 8: Add WebRTCCodecInfo.{cpp,h} and WebRTCCodecInfoExport.{cpp,h} to parse and export WebRTC codec information for use with Media Capabilities support checks. r=pehrsons → WIP: Bug 1825286 - Part 8: Add WebRTCCodecInfo.{cpp,h} to parse and export WebRTC codec information for use with Media Capabilities support checks. r=pehrsons
Attachment #9533141 - Attachment description: WIP: Bug 1825286 - Part 1: Add webrtc type to MediaCapabilities IDL and remove transmission type. r=pehrsons → Bug 1825286 - Part 1: Add webrtc type to MediaCapabilities IDL and remove transmission type. r=pehrsons
Attachment #9533142 - Attachment description: WIP: Bug 1825286 - Part 2: Add WebRTC exception to the Media Capabilities MIME type validity check. r=pehrsons → Bug 1825286 - Part 2: Add WebRTC exception to the Media Capabilities MIME type validity check. r=pehrsons
Attachment #9533143 - Attachment description: WIP: Bug 1825286 - Part 3: Add video/mpeg and audio/mpeg to container list for Media Capabilities validation. r=pehrsons → Bug 1825286 - Part 3: Add video/mpeg and audio/mpeg to container list for Media Capabilities validation. r=pehrsons
Attachment #9533144 - Attachment description: WIP: Bug 1825286 - Part 4: Add WebRTC-specific scalabilityMode check to Media Capabilities video configuration validation. r=pehrsons → Bug 1825286 - Part 4: Add WebRTC-specific scalabilityMode check to Media Capabilities video configuration validation. r=pehrsons
Attachment #9533145 - Attachment description: WIP: Bug 1825286 - Part 5: Add colorGamut and transferFunction validation functions to be used in MediaCapabilities MIME type support check. r=pehrsons → Bug 1825286 - Part 5: Add colorGamut and transferFunction validation functions to be used in MediaCapabilities MIME type support check. r=pehrsons
Attachment #9533146 - Attachment description: WIP: Bug 1825286 - Part 6: Add WebRTC and colorGamut/transferFunction support checks to CheckMIMETypeSupport. r=pehrsons → Bug 1825286 - Part 6: Add WebRTC and colorGamut/transferFunction support checks to CheckMIMETypeSupport. r=pehrsons
Attachment #9533147 - Attachment description: WIP: Bug 1825286 - Part 7: Add functions to expose default WebRTC audio/video codecs. r=pehrsons → Bug 1825286 - Part 7: Add functions to expose default WebRTC audio/video codecs. r=pehrsons
Attachment #9533148 - Attachment description: WIP: Bug 1825286 - Part 8: Add WebRTCCodecInfo.{cpp,h} to parse and export WebRTC codec information for use with Media Capabilities support checks. r=pehrsons → Bug 1825286 - Part 8: Add WebRTCCodecInfo.{cpp,h} to parse and export WebRTC codec information for use with Media Capabilities support checks. r=pehrsons
Attachment #9543782 - Attachment description: WIP: Bug 1825286 - Part 9: Add fmt::formatters for Media Capabilities video/audio encode/decode configurations and info. → Bug 1825286 - Part 9: Add fmt::formatters for Media Capabilities video/audio encode/decode configurations and info. r=pehrsons
Attachment #9533149 - Attachment description: WIP: Bug 1825286 - Part 10: Add GetThreadForAsyncRequesthelper to use when checking Media Capabilities support information. r=pehrsons → Bug 1825286 - Part 10: Add GetThreadForAsyncRequesthelper to use when checking Media Capabilities support information. r=pehrsons
Attachment #9543783 - Attachment description: WIP: Bug 1825286 - Part 11: Update CheckTypeFor* functions to use MediaExtendedMIMEType and add CheckTypeForWebRTC* → Bug 1825286 - Part 11: Update CheckTypeFor* functions to use MediaExtendedMIMEType and add CheckTypeForWebRTC* r=pehrsons
Attachment #9533150 - Attachment description: WIP: Bug 1825286 - Part 12: Add GetSingleSupportPromise and helpers to check support information for MediaCapabilities encode/decode, audio/video, in a unified manner for all types (webrtc, file, media-source, and record). r=pehrsons → Bug 1825286 - Part 12: Add GetSingleSupportPromise and helpers to check support information for MediaCapabilities encode/decode, audio/video, in a unified manner for all types (webrtc, file, media-source, and record). r=pehrsons
Attachment #9533725 - Attachment description: WIP: Bug 1825286 - Part 13: Add encode/decode hardware acceleration support checks to Media Capabilities. r=pehrsons → Bug 1825286 - Part 13: Add encode/decode hardware acceleration support checks to Media Capabilities. r=pehrsons
Attachment #9533152 - Attachment description: WIP: Bug 1825286 - Part 14: Update Media Capabilities DecodingInfo creation to use unified support checks and add WebRTC support. r=pehrsons → Bug 1825286 - Part 14: Update Media Capabilities DecodingInfo creation to use unified support checks and add WebRTC support. r=pehrsons
Attachment #9533153 - Attachment description: WIP: Bug 1825286 - Part 15: Overhaul Media Capabilities EncodingInfo creation to use unified support checks and add WebRTC support. r=pehrsons → Bug 1825286 - Part 15: Overhaul Media Capabilities EncodingInfo creation to use unified support checks and add WebRTC support. r=pehrsons
Attachment #9534566 - Attachment description: WIP: Bug 1825286 - Part 16: Return a promise rejected with a TypeError if EncodingInfo is not a valid MediaConfiguration. r=pehrsons → Bug 1825286 - Part 16: Return a promise rejected with a TypeError if EncodingInfo is not a valid MediaConfiguration. r=pehrsons
Attachment #9533154 - Attachment description: WIP: Bug 1825286 - Part 17: Update Media Capabilities WPT expectations. r=pehrsons → Bug 1825286 - Part 17: Update Media Capabilities WPT expectations. r=pehrsons
Attachment #9533726 - Attachment description: WIP: Bug 1825286 - Part 18: Add GTests for WebRTCCodecInfo. r=pehrsons → Bug 1825286 - Part 18: Add GTests for WebRTCCodecInfo. r=pehrsons
Attachment #9543784 - Attachment description: WIP: Bug 1825286 - Part 19: Add Media Capabilities colorGamut, scalabilityMode, and transferFunction WPTs. → Bug 1825286 - Part 19: Add Media Capabilities colorGamut, scalabilityMode, and transferFunction WPTs. r=pehrsons
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: