Enums

Details

class GstWebRTC.WebRTCBundlePolicy(value)

Bases: GObject.GEnum

See https://tools.ietf.org/html/draft-ietf-rtcweb-jsep-24#section-4.1.1 for more information.

New in version 1.16.

NONE = 0

none

BALANCED = 1

balanced

MAX_COMPAT = 2

max-compat

MAX_BUNDLE = 3

max-bundle

class GstWebRTC.WebRTCDTLSSetup(value)

Bases: GObject.GEnum

NONE = 0

none

ACTPASS = 1

actpass

ACTIVE = 2

sendonly

PASSIVE = 3

recvonly

class GstWebRTC.WebRTCDTLSTransportState(value)

Bases: GObject.GEnum

NEW = 0

new

CLOSED = 1

closed

FAILED = 2

failed

CONNECTING = 3

connecting

CONNECTED = 4

connected

class GstWebRTC.WebRTCDataChannelState(value)

Bases: GObject.GEnum

See <http://w3c.github.io/webrtc-pc/#dom-rtcdatachannelstate>

New in version 1.16.

CONNECTING = 1

connecting

OPEN = 2

open

CLOSING = 3

closing

CLOSED = 4

closed

class GstWebRTC.WebRTCError(value)

Bases: GObject.GEnum

See <https://www.w3.org/TR/webrtc/#dom-rtcerrordetailtype> for more information.

New in version 1.20.

classmethod quark()
Return type:

int

New in version 1.20.

DATA_CHANNEL_FAILURE = 0

data-channel-failure

DTLS_FAILURE = 1

dtls-failure

TYPE_ERROR = 10

type-error (maps to JavaScript TypeError)

New in version 1.22.

FINGERPRINT_FAILURE = 2

fingerprint-failure

SCTP_FAILURE = 3

sctp-failure

SDP_SYNTAX_ERROR = 4

sdp-syntax-error

HARDWARE_ENCODER_NOT_AVAILABLE = 5

hardware-encoder-not-available

ENCODER_ERROR = 6

encoder-error

INVALID_STATE = 7

invalid-state (part of WebIDL specification)

INTERNAL_FAILURE = 8

GStreamer-specific failure, not matching any other value from the specification

INVALID_MODIFICATION = 9

invalid-modification (part of WebIDL specification)

New in version 1.22.

class GstWebRTC.WebRTCFECType(value)

Bases: GObject.GEnum

New in version 1.14.1.

NONE = 0

none

ULP_RED = 1

ulpfec + red

class GstWebRTC.WebRTCICEComponent(value)

Bases: GObject.GEnum

RTP = 0

RTP component

RTCP = 1

RTCP component

class GstWebRTC.WebRTCICEConnectionState(value)

Bases: GObject.GEnum

See <http://w3c.github.io/webrtc-pc/#dom-rtciceconnectionstate>

NEW = 0

new

CHECKING = 1

checking

CONNECTED = 2

connected

COMPLETED = 3

completed

FAILED = 4

failed

DISCONNECTED = 5

disconnected

CLOSED = 6

closed

class GstWebRTC.WebRTCICEGatheringState(value)

Bases: GObject.GEnum

See <http://w3c.github.io/webrtc-pc/#dom-rtcicegatheringstate>

NEW = 0

new

GATHERING = 1

gathering

COMPLETE = 2

complete

class GstWebRTC.WebRTCICERole(value)

Bases: GObject.GEnum

CONTROLLED = 0

controlled

CONTROLLING = 1

controlling

class GstWebRTC.WebRTCICETransportPolicy(value)

Bases: GObject.GEnum

See https://tools.ietf.org/html/draft-ietf-rtcweb-jsep-24#section-4.1.1 for more information.

New in version 1.16.

ALL = 0

all

RELAY = 1

relay

class GstWebRTC.WebRTCKind(value)

Bases: GObject.GEnum

https://w3c.github.io/mediacapture-main/#dom-mediastreamtrack-kind

New in version 1.20.

UNKNOWN = 0

Kind has not yet been set

AUDIO = 1

Kind is audio

VIDEO = 2

Kind is audio

class GstWebRTC.WebRTCPeerConnectionState(value)

Bases: GObject.GEnum

See <http://w3c.github.io/webrtc-pc/#dom-rtcpeerconnectionstate>

NEW = 0

new

CONNECTING = 1

connecting

CONNECTED = 2

connected

DISCONNECTED = 3

disconnected

FAILED = 4

failed

CLOSED = 5

closed

class GstWebRTC.WebRTCPriorityType(value)

Bases: GObject.GEnum

See <http://w3c.github.io/webrtc-pc/#dom-rtcprioritytype>

New in version 1.16.

VERY_LOW = 1

very-low

LOW = 2

low

MEDIUM = 3

medium

HIGH = 4

high

class GstWebRTC.WebRTCRTPTransceiverDirection(value)

Bases: GObject.GEnum

NONE = 0

none

INACTIVE = 1

inactive

SENDONLY = 2

sendonly

RECVONLY = 3

recvonly

SENDRECV = 4

sendrecv

class GstWebRTC.WebRTCSCTPTransportState(value)

Bases: GObject.GEnum

See <http://w3c.github.io/webrtc-pc/#dom-rtcsctptransportstate>

New in version 1.16.

NEW = 0

new

CONNECTING = 1

connecting

CONNECTED = 2

connected

CLOSED = 3

closed

class GstWebRTC.WebRTCSDPType(value)

Bases: GObject.GEnum

See <http://w3c.github.io/webrtc-pc/#rtcsdptype>

classmethod to_string(type)
Parameters:

type (GstWebRTC.WebRTCSDPType) – a GstWebRTC.WebRTCSDPType

Returns:

the string representation of type or “unknown” when type is not recognized.

Return type:

str

OFFER = 1

offer

PRANSWER = 2

pranswer

ANSWER = 3

answer

ROLLBACK = 4

rollback

class GstWebRTC.WebRTCSignalingState(value)

Bases: GObject.GEnum

See <http://w3c.github.io/webrtc-pc/#dom-rtcsignalingstate>

STABLE = 0

stable

CLOSED = 1

closed

HAVE_LOCAL_OFFER = 2

have-local-offer

HAVE_REMOTE_OFFER = 3

have-remote-offer

HAVE_LOCAL_PRANSWER = 4

have-local-pranswer

HAVE_REMOTE_PRANSWER = 5

have-remote-pranswer

class GstWebRTC.WebRTCStatsType(value)

Bases: GObject.GEnum

See <https://w3c.github.io/webrtc-stats/#dom-rtcstatstype>

CODEC = 1

codec

TRANSPORT = 10

transport

CANDIDATE_PAIR = 11

candidate-pair

LOCAL_CANDIDATE = 12

local-candidate

REMOTE_CANDIDATE = 13

remote-candidate

CERTIFICATE = 14

certificate

INBOUND_RTP = 2

inbound-rtp

OUTBOUND_RTP = 3

outbound-rtp

REMOTE_INBOUND_RTP = 4

remote-inbound-rtp

REMOTE_OUTBOUND_RTP = 5

remote-outbound-rtp

CSRC = 6

csrc

PEER_CONNECTION = 7

peer-connection

DATA_CHANNEL = 8

data-channel

STREAM = 9

stream