SDPMessage.insertAttribute

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

idx int

an index

attr gstsdp.sdpattribute.SDPAttribute

a #GstSDPAttribute

Return Value

Type: gstsdp.types.SDPResult

a #GstSDPResult.