SDPMedia.insertAttribute

gstsdp.types.SDPResult insertAttribute(int idx, gstsdp.sdpattribute.SDPAttribute attr) nothrow

Insert the attribute to media at idx. When idx is -1, the attribute is appended.

Parameters

idxan index
attra #GstSDPAttribute

Returns

#GST_SDP_OK.