Skip to content

Incompatible SVC metadata #170

@aboba

Description

@aboba

Since RTCEncodedVideoFrameMetadata does not inherit from WebCodecs EncodedVideoChunkMetadata, the SVC metadata is incompatible.

The EncodedChunkMetadata dictionary has structure to allow for future expansion of SvcOutputMetadata dictionary. The Expansion proposal is based on the information included within the Dependency Descriptor RTP header extension.

Issues with RTCEncodedVideoFrameMetadata compared with EncodedChunkMetadata:

  1. Type mismatches:

unsigned long temporalLayerId, spatialLayerId vs.long spatialIndex, temporalIndex
unsigned short frameNumber vs. long long frameId
sequence <unsigned long> dependsOnIds vs. sequence <long long> dependencies

  1. Missing information

sequence <unsigned long> decodeTargets

List of decode targets this frame participates in. Used to determine whether this frame should be forwarded to a receiver based on what decode targets the receiver is expecting.

map <unsigned long, unsigned long> chainLinks

Used to ensure we preserve decode order for the desired decode target. It is insufficient to satisfy the dependencies for the current frame.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions