GstRtspServer.RTSPContext

Fields

Name

Type

Access

Description

auth

GstRtspServer.RTSPAuth

r/w

the current auth object or None

client

GstRtspServer.RTSPClient

r/w

the client

conn

GstRtsp.RTSPConnection

r/w

the connection

factory

GstRtspServer.RTSPMediaFactory

r/w

the media factory for the url, can be None

media

GstRtspServer.RTSPMedia

r/w

the media for the url can be None

method

GstRtsp.RTSPMethod

r/w

the parsed method of uri

request

GstRtsp.RTSPMessage

r/w

the complete GstRtsp.request

response

GstRtsp.RTSPMessage

r/w

the GstRtsp.response

server

GstRtspServer.RTSPServer

r/w

the server

session

GstRtspServer.RTSPSession

r/w

the session, can be None

sessmedia

GstRtspServer.RTSPSessionMedia

r/w

the session media for the url can be None

stream

GstRtspServer.RTSPStream

r/w

the stream for the url can be None

token

GstRtspServer.RTSPToken

r/w

authorisation token

trans

GstRtspServer.RTSPStreamTransport

r/w

the stream transport, can be None

uri

GstRtsp.RTSPUrl

r/w

the complete url parsed from request

Methods

pop_current ()

push_current ()

set_token (token)

Details

class GstRtspServer.RTSPContext

Information passed around containing the context of a GstRtsp.request.

pop_current()[source]

Pops self off the context stack (verifying that self is on the top of the stack).

push_current()[source]

Pushes self onto the context stack. The current context can then be received using gst_rtsp_context_get_current().

set_token(token)[source]
Parameters:

token (GstRtspServer.RTSPToken) – a GstRtspServer.RTSPToken

Set the token for self.

New in version 1.22.