SDPMessage.insertAttribute

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

Insert attribute into the array of attributes in msg at index idx. When -1 is given as idx, the attribute is inserted at the end.

Parameters

idxan index
attra #GstSDPAttribute

Returns

a #GstSDPResult.