RTPHeaderExtension.setAttributesFromCaps

bool setAttributesFromCaps(gst.caps.Caps caps)

[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].

Parameters

capsthe #GstCaps to configure this extension with

Returns

whether the caps could be successfully set on ext.