Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WebRTC #2232

Merged
merged 22 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions features/webrtc-encoded-transform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,30 @@ name: WebRTC encoded transform
description: The WebRTC encoded transform API allows you to modify audio and video streams in WebRTC connections. For example, it can be used for visual effects or custom codecs.
spec: https://w3c.github.io/webrtc-encoded-transform/
group: webrtc
autonome marked this conversation as resolved.
Show resolved Hide resolved
status:
compute_from:
- api.RTCRtpReceiver.transform
- api.RTCRtpSender.transform
compat_features:
- api.DedicatedWorkerGlobalScope.rtctransform_event
- api.RTCEncodedAudioFrame
- api.RTCEncodedAudioFrame.RTCEncodedAudioFrame
- api.RTCEncodedAudioFrame.data
- api.RTCEncodedAudioFrame.getMetadata
- api.RTCEncodedVideoFrame
- api.RTCEncodedVideoFrame.RTCEncodedVideoFrame
- api.RTCEncodedVideoFrame.data
- api.RTCEncodedVideoFrame.getMetadata
- api.RTCEncodedVideoFrame.type
- api.RTCRtpReceiver.transform
- api.RTCRtpScriptTransform
- api.RTCRtpScriptTransform.RTCRtpScriptTransform
- api.RTCRtpScriptTransformer
- api.RTCRtpScriptTransformer.generateKeyFrame
- api.RTCRtpScriptTransformer.options
- api.RTCRtpScriptTransformer.readable
- api.RTCRtpScriptTransformer.sendKeyFrameRequest
- api.RTCRtpScriptTransformer.writable
- api.RTCRtpSender.transform
- api.RTCTransformEvent
- api.RTCTransformEvent.transformer
8 changes: 8 additions & 0 deletions features/webrtc-encoded-transform.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,11 @@ compat_features:
- api.RTCRtpSender.transform
- api.RTCTransformEvent
- api.RTCTransformEvent.transformer

# baseline: false
# support:
# chrome: "127"
# chrome_android: "127"
# edge: "127"
- api.RTCEncodedAudioFrame.RTCEncodedAudioFrame
- api.RTCEncodedVideoFrame.RTCEncodedVideoFrame
22 changes: 19 additions & 3 deletions features/draft/spec/webrtc-stats.yml → features/webrtc-stats.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
draft_date: 2024-09-09
name: Identifiers for WebRTC's Statistics API
description: TODO
name: WebRTC statistics
description: The `RTCPeerConnection.getStats()`, `RTCRtpSender.getStats()`, and `RTCRtpReceiver.getStats()` methods return detailed information about the status, performance, network, and media for a given WebRTC connection.
spec: https://w3c.github.io/webrtc-stats/
group: webrtc
autonome marked this conversation as resolved.
Show resolved Hide resolved
status:
compute_from: api.RTCPeerConnection.getStats.returns_promise
compat_features:
- api.RTCPeerConnection.getStats
- api.RTCPeerConnection.getStats.returns_promise
- api.RTCPeerConnection.getStats.selector_parameter
- api.RTCRtpReceiver.getStats
- api.RTCRtpSender.getStats
- api.RTCStatsReport
autonome marked this conversation as resolved.
Show resolved Hide resolved
- api.RTCStatsReport.@@iterator
- api.RTCStatsReport.entries
- api.RTCStatsReport.forEach
- api.RTCStatsReport.get
- api.RTCStatsReport.has
- api.RTCStatsReport.keys
- api.RTCStatsReport.size
- api.RTCStatsReport.type_candidate-pair
- api.RTCStatsReport.type_candidate-pair.availableOutgoingBitrate
- api.RTCStatsReport.type_candidate-pair.bytesDiscardedOnSend
Expand Down Expand Up @@ -239,3 +254,4 @@ compat_features:
- api.RTCStatsReport.type_transport.timestamp
- api.RTCStatsReport.type_transport.tlsVersion
- api.RTCStatsReport.type_transport.type
- api.RTCStatsReport.values
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,61 @@
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support: {}
baseline: high
baseline_low_date: 2020-01-15
baseline_high_date: 2022-07-15
support:
chrome: "58"
chrome_android: "58"
edge: "79"
firefox: "44"
firefox_android: "44"
safari: "11"
safari_ios: "11"
compat_features:
# baseline: high
# baseline_low_date: 2017-09-19
# baseline_high_date: 2020-03-19
# support:
# chrome: "56"
# chrome_android: "56"
# edge: "15"
# firefox: "44"
# firefox_android: "44"
# safari: "11"
# safari_ios: "11"
- api.RTCPeerConnection.getStats

# baseline: high
# baseline_low_date: 2019-03-25
# baseline_high_date: 2021-09-25
# support:
# chrome: "67"
# chrome_android: "67"
# edge: "13"
# firefox: "55"
# firefox_android: "55"
# safari: "12.1"
# safari_ios: "12.2"
- api.RTCRtpReceiver.getStats
- api.RTCRtpSender.getStats

# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
# support:
# chrome: "58"
# chrome_android: "58"
# edge: "79"
# firefox: "27"
# firefox_android: "27"
# safari: "11"
# safari_ios: "11"
- api.RTCStatsReport
- api.RTCStatsReport.forEach
- api.RTCStatsReport.get
- api.RTCStatsReport.has

# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
Expand All @@ -21,6 +73,36 @@ compat_features:
- api.RTCStatsReport.type_candidate-pair.remoteCandidateId
- api.RTCStatsReport.type_candidate-pair.state

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
# support:
# chrome: "58"
# chrome_android: "58"
# edge: "79"
# firefox: "44"
# firefox_android: "44"
# safari: "11"
# safari_ios: "11"
- api.RTCPeerConnection.getStats.returns_promise

# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
# support:
# chrome: "58"
# chrome_android: "58"
# edge: "79"
# firefox: "48"
# firefox_android: "48"
# safari: "11"
# safari_ios: "11"
- api.RTCStatsReport.@@iterator
- api.RTCStatsReport.entries
- api.RTCStatsReport.keys
- api.RTCStatsReport.values

# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
Expand All @@ -37,6 +119,19 @@ compat_features:
- api.RTCStatsReport.type_candidate-pair.nominated
- api.RTCStatsReport.type_candidate-pair.transportId

# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
# support:
# chrome: "59"
# chrome_android: "59"
# edge: "79"
# firefox: "48"
# firefox_android: "48"
# safari: "11"
# safari_ios: "11"
- api.RTCStatsReport.size

# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
Expand All @@ -50,6 +145,19 @@ compat_features:
# safari_ios: "11"
- api.RTCStatsReport.type_inbound-rtp

# baseline: high
# baseline_low_date: ≤2020-01-15
# baseline_high_date: ≤2022-07-15
# support:
# chrome: "67"
# chrome_android: "67"
# edge: ≤79
# firefox: "44"
# firefox_android: "44"
# safari: "11"
# safari_ios: "11"
- api.RTCPeerConnection.getStats.selector_parameter

# baseline: high
# baseline_low_date: 2020-02-07
# baseline_high_date: 2022-08-07
Expand Down
Loading