-
Notifications
You must be signed in to change notification settings - Fork 26
Description
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
:
- 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
- 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.