RTPHeaderExtension.setCapsFromAttributesHelper

bool setCapsFromAttributesHelper(gst.caps.Caps caps, string attributes)

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.

Parameters

caps#GstCaps to write fields into
attributes

Returns

whether the ext attributes could be set on caps.