Skip to content

Commit f2da2a8

Browse files
fippochromium-wpt-export-bot
authored andcommitted
insertable streams: expose payload type
exposes the payload type in the encoded audio/video frame metadata spec PR: w3c/webrtc-encoded-transform#117 BUG=webrtc:13077 Change-Id: I17340aec0b18637d7c1f3222add496a8aeb346ae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3118568 Reviewed-by: Harald Alvestrand <[email protected]> Reviewed-by: Tony Herre <[email protected]> Commit-Queue: Philipp Hancke <[email protected]> Cr-Commit-Position: refs/heads/main@{#918748}
1 parent 468d01b commit f2da2a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webrtc-encoded-transform/RTCPeerConnection-insertable-streams.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ function areArraysEqual(a1, a2) {
2727

2828
function areMetadataEqual(metadata1, metadata2, type) {
2929
return metadata1.synchronizationSource === metadata2.synchronizationSource &&
30+
metadata1.payloadType == metadata2.payloadType &&
3031
areArraysEqual(metadata1.contributingSources, metadata2.contributingSources) &&
3132
metadata1.frameId === metadata2.frameId &&
3233
areArraysEqual(metadata1.dependencies, metadata2.dependencies) &&

0 commit comments

Comments
 (0)