Enums

Details

class GstRtsp.RTSPAuthMethod(value)

Bases: GObject.GEnum

Authentication methods, ordered by strength

NONE = 0

no authentication

BASIC = 1

basic authentication

DIGEST = 2

digest authentication

class GstRtsp.RTSPFamily(value)

Bases: GObject.GEnum

The possible network families.

NONE = 0

unknown network family

INET = 1

internet

INET6 = 2

internet V6

class GstRtsp.RTSPHeaderField(value)

Bases: GObject.GEnum

Enumeration of rtsp header fields

INVALID = 0
ACCEPT = 1
CONNECTION = 10
CONTENT_BASE = 11
CONTENT_ENCODING = 12
CONTENT_LANGUAGE = 13
CONTENT_LENGTH = 14
CONTENT_LOCATION = 15
CONTENT_TYPE = 16
CSEQ = 17
DATE = 18
EXPIRES = 19
ACCEPT_ENCODING = 2
FROM = 20
IF_MODIFIED_SINCE = 21
LAST_MODIFIED = 22
PROXY_AUTHENTICATE = 23
PROXY_REQUIRE = 24
PUBLIC = 25
RANGE = 26
REFERER = 27
REQUIRE = 28
RETRY_AFTER = 29
ACCEPT_LANGUAGE = 3
RTP_INFO = 30
SCALE = 31
SESSION = 32
SERVER = 33
SPEED = 34
TRANSPORT = 35
UNSUPPORTED = 36
USER_AGENT = 37
VIA = 38
WWW_AUTHENTICATE = 39
ALLOW = 4
CLIENT_CHALLENGE = 40
REAL_CHALLENGE1 = 41
REAL_CHALLENGE2 = 42
REAL_CHALLENGE3 = 43
SUBSCRIBE = 44
ALERT = 45
CLIENT_ID = 46
COMPANY_ID = 47
GUID = 48
REGION_DATA = 49
AUTHORIZATION = 5
MAX_ASM_WIDTH = 50
LANGUAGE = 51
PLAYER_START_TIME = 52
LOCATION = 53
ETAG = 54
IF_MATCH = 55
ACCEPT_CHARSET = 56
SUPPORTED = 57
VARY = 58
X_ACCELERATE_STREAMING = 59
BANDWIDTH = 6
X_ACCEPT_AUTHENT = 60
X_ACCEPT_PROXY_AUTHENT = 61
X_BROADCAST_ID = 62
X_BURST_STREAMING = 63
X_NOTICE = 64
X_PLAYER_LAG_TIME = 65
X_PLAYLIST = 66
X_PLAYLIST_CHANGE_NOTICE = 67
X_PLAYLIST_GEN_ID = 68
X_PLAYLIST_SEEK_ID = 69
BLOCKSIZE = 7
X_PROXY_CLIENT_AGENT = 70
X_PROXY_CLIENT_VERB = 71
X_RECEDING_PLAYLISTCHANGE = 72
X_RTP_INFO = 73
X_STARTUPPROFILE = 74
TIMESTAMP = 75
AUTHENTICATION_INFO = 76
HOST = 77
PRAGMA = 78
X_SERVER_IP_ADDRESS = 79
CACHE_CONTROL = 8
X_SESSIONCOOKIE = 80
RTCP_INTERVAL = 81
KEYMGMT = 82
PIPELINED_REQUESTS = 83
MEDIA_PROPERTIES = 84
SEEK_STYLE = 85
ACCEPT_RANGES = 86
FRAMES = 87
RATE_CONTROL = 88
LAST = 89
CONFERENCE = 9
class GstRtsp.RTSPMsgType(value)

Bases: GObject.GEnum

The type of a message.

INVALID = 0

invalid message type

REQUEST = 1

RTSP GstRtsp.request message

RESPONSE = 2

RTSP GstRtsp.response message

HTTP_REQUEST = 3

HTTP GstRtsp.request message.

HTTP_RESPONSE = 4

HTTP GstRtsp.response message.

DATA = 5

GstRtsp.data message

class GstRtsp.RTSPRangeUnit(value)

Bases: GObject.GEnum

Different possible time range units.

SMPTE = 0

SMPTE timecode

SMPTE_30_DROP = 1

29.97 frames per second

SMPTE_25 = 2

25 frames per second

NPT = 3

Normal play time

CLOCK = 4

Absolute time expressed as ISO 8601 timestamps

class GstRtsp.RTSPResult(value)

Bases: GObject.GEnum

Result codes from the RTSP functions.

ERROR = -1

some unspecified error occurred

EWSAVERSION = -10

windows networking stack has wrong version

EEOF = -11

end-of-file was reached

ENET = -12

a network problem occurred, h_errno contains more details

ENOTIP = -13

the host is not an IP host

ETIMEOUT = -14

a timeout occurred

ETGET = -15

the tunnel GET GstRtsp.request has been performed

ETPOST = -16

the tunnel POST GstRtsp.request has been performed

ELAST = -17

last error

EINVAL = -2

invalid arguments were provided to a function

EINTR = -3

an operation was canceled

ENOMEM = -4

no memory was available for the operation

ERESOLV = -5

a host resolve error occurred

ENOTIMPL = -6

function not implemented

ESYS = -7

a system error occurred, errno contains more details

EPARSE = -8

a parsing error occurred

EWSASTART = -9

windows networking could not start

OK = 0

no error

OK_REDIRECT = 1

RTSP GstRtsp.request is successful, but was redirected.

New in version 1.24.

class GstRtsp.RTSPState(value)

Bases: GObject.GEnum

The different RTSP states.

INVALID = 0

invalid state

INIT = 1

initializing

READY = 2

ready for operation

SEEKING = 3

seeking in progress

PLAYING = 4

playing

RECORDING = 5

recording

class GstRtsp.RTSPStatusCode(value)

Bases: GObject.GEnum

Enumeration of rtsp status codes

INVALID = 0
CONTINUE = 100
OK = 200
CREATED = 201
LOW_ON_STORAGE = 250
MULTIPLE_CHOICES = 300
MOVED_PERMANENTLY = 301
MOVE_TEMPORARILY = 302
SEE_OTHER = 303
NOT_MODIFIED = 304
USE_PROXY = 305
REDIRECT_TEMPORARILY = 307

RTSP GstRtsp.request is temporarily redirected

New in version 1.24.

REDIRECT_PERMANENTLY = 308

RTSP GstRtsp.request is permanently redirected

New in version 1.24.

BAD_REQUEST = 400
UNAUTHORIZED = 401
PAYMENT_REQUIRED = 402
FORBIDDEN = 403
NOT_FOUND = 404
METHOD_NOT_ALLOWED = 405
NOT_ACCEPTABLE = 406
PROXY_AUTH_REQUIRED = 407
REQUEST_TIMEOUT = 408
GONE = 410
LENGTH_REQUIRED = 411
PRECONDITION_FAILED = 412
REQUEST_ENTITY_TOO_LARGE = 413
REQUEST_URI_TOO_LARGE = 414
UNSUPPORTED_MEDIA_TYPE = 415
PARAMETER_NOT_UNDERSTOOD = 451
CONFERENCE_NOT_FOUND = 452
NOT_ENOUGH_BANDWIDTH = 453
SESSION_NOT_FOUND = 454
METHOD_NOT_VALID_IN_THIS_STATE = 455
HEADER_FIELD_NOT_VALID_FOR_RESOURCE = 456
INVALID_RANGE = 457
PARAMETER_IS_READONLY = 458
AGGREGATE_OPERATION_NOT_ALLOWED = 459
ONLY_AGGREGATE_OPERATION_ALLOWED = 460
UNSUPPORTED_TRANSPORT = 461
DESTINATION_UNREACHABLE = 462
KEY_MANAGEMENT_FAILURE = 463
INTERNAL_SERVER_ERROR = 500
NOT_IMPLEMENTED = 501
BAD_GATEWAY = 502
SERVICE_UNAVAILABLE = 503
GATEWAY_TIMEOUT = 504
RTSP_VERSION_NOT_SUPPORTED = 505
OPTION_NOT_SUPPORTED = 551
class GstRtsp.RTSPTimeType(value)

Bases: GObject.GEnum

Possible time types.

SECONDS = 0

seconds

NOW = 1

now

END = 2

end

FRAMES = 3

frames and subframes

UTC = 4

UTC time

class GstRtsp.RTSPVersion(value)

Bases: GObject.GEnum

The supported RTSP versions.

classmethod as_text(version)[source]
Parameters:

version (GstRtsp.RTSPVersion) – a GstRtsp.RTSPVersion

Returns:

a string representation of version.

Return type:

str

Convert version to a string.

INVALID = 0

unknown/invalid version

1_0 = 16
_1_0 = 16

version 1.0

1_1 = 17
_1_1 = 17

version 1.1.

2_0 = 32
_2_0 = 32

version 2.0.