GstSdp.SDPConnection

Fields

Name

Type

Access

Description

addr_number

int

r/w

the number of layers

address

str

r/w

the address

addrtype

str

r/w

the type of address.

nettype

str

r/w

the type of network. “IN” is defined to have the meaning “Internet”.

ttl

int

r/w

the time to live of the address

Methods

clear ()

set (nettype, addrtype, address, ttl, addr_number)

Details

class GstSdp.SDPConnection

The contents of the SDP “c=” field which contains connection data.

clear()[source]
Returns:

GstSdp.SDPResult.OK.

Return type:

GstSdp.SDPResult

Clear the connection.

New in version 1.2.

set(nettype, addrtype, address, ttl, addr_number)[source]
Parameters:
  • nettype (str) – the type of network. “IN” is defined to have the meaning “Internet”.

  • addrtype (str) – the type of address.

  • address (str) – the address

  • ttl (int) – the time to live of the address

  • addr_number (int) – the number of layers

Returns:

GstSdp.SDPResult.OK.

Return type:

GstSdp.SDPResult

Set the connection with the given parameters.

New in version 1.2.