RTPHeaderExtension.setCapsFromAttributesHelper

Helper implementation for GstRTPExtensionClass::set_caps_from_attributes that sets the ext uri on caps with the specified extension id as required for sdp #GstCaps.

Requires that the extension does not have any attributes or direction advertised in caps.

class RTPHeaderExtension
bool
setCapsFromAttributesHelper

Parameters

caps gst.caps.Caps

#GstCaps to write fields into

attributes string

Return Value

Type: bool

whether the ext attributes could be set on caps.