RTPHeaderExtension.setCapsFromAttributes

gstrtp.rtpheader_extension.RTPHeaderExtension.setId must have been called with a valid extension id that is contained in these caps.

The only current known caps format is based on the SDP standard as produced by gstsdp.sdpmedia.SDPMedia.attributesToCaps.

class RTPHeaderExtension
bool
setCapsFromAttributes

Parameters

caps gst.caps.Caps

writable #GstCaps to modify

Return Value

Type: bool

whether the configured attributes on ext can successfully be set on caps