RTPHeaderExtension.setAttributesFromCaps

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
setAttributesFromCaps

Parameters

caps gst.caps.Caps

the #GstCaps to configure this extension with

Return Value

Type: bool

whether the caps could be successfully set on ext.