Skip to content
Snippets Groups Projects
  • Tony Herre's avatar
    aedcc1eb
    Bug 1812306 [wpt PR 38164] - Add frameType to RTCEncodedVideoFrameMetadata, a=testonly · aedcc1eb
    Tony Herre authored
    Automatic update from web-platform-tests
    Add frameType to RTCEncodedVideoFrameMetadata
    
    Add a field specifying if a frame is a key or delta frame to the
    RTC encoded frame metadata. Without this,
    encodedFrame.setMetadata(encodedFrame.getMetadata()) would reset the
    frame type in the header to "kEmptyFrame", causing it to be dropped
    before being sent on a PeerConnection, making it hard to test
    setMetadata().
    
    Guarded by the same feature as the rest of this additional metadata:
    RTCEncodedVideoFrameAdditionalMetadata.
    
    Bug: webrtc:14709
    Change-Id: Id93622dc7488f04900debff450689113fe757840
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4181178
    
    
    Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
    Commit-Queue: Tony Herre <toprice@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1097421}
    
    --
    
    wpt-commits: 672d747e92e68a55697fbeb69f8f9c14e2ebdf29
    wpt-pr: 38164
    aedcc1eb
    History
    Bug 1812306 [wpt PR 38164] - Add frameType to RTCEncodedVideoFrameMetadata, a=testonly
    Tony Herre authored
    Automatic update from web-platform-tests
    Add frameType to RTCEncodedVideoFrameMetadata
    
    Add a field specifying if a frame is a key or delta frame to the
    RTC encoded frame metadata. Without this,
    encodedFrame.setMetadata(encodedFrame.getMetadata()) would reset the
    frame type in the header to "kEmptyFrame", causing it to be dropped
    before being sent on a PeerConnection, making it hard to test
    setMetadata().
    
    Guarded by the same feature as the rest of this additional metadata:
    RTCEncodedVideoFrameAdditionalMetadata.
    
    Bug: webrtc:14709
    Change-Id: Id93622dc7488f04900debff450689113fe757840
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4181178
    
    
    Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
    Commit-Queue: Tony Herre <toprice@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1097421}
    
    --
    
    wpt-commits: 672d747e92e68a55697fbeb69f8f9c14e2ebdf29
    wpt-pr: 38164