GstSdp.SDPAttribute

Fields

Name

Type

Access

Description

key

str

r/w

the attribute key

value

str

r/w

the attribute value or None when it was a property attribute

Methods

clear ()

set (key, value)

Details

class GstSdp.SDPAttribute

The contents of the SDP “a=” field which contains a key/value pair.

clear()[source]
Returns:

GstSdp.SDPResult.OK.

Return type:

GstSdp.SDPResult

Clear the attribute.

New in version 1.2.

set(key, value)[source]
Parameters:
  • key (str) – the key

  • value (str or None) – the value

Returns:

GstSdp.SDPResult.OK.

Return type:

GstSdp.SDPResult

Set the attribute with key and value.

New in version 1.2.