GstRTSPWatchFuncs

Callback functions from a #GstRTSPWatch.

Members

Variables

GstReserved
void*[3] GstReserved;
closed
GstRTSPResult function(GstRTSPWatch* watch, void* userData) closed;

callback when the connection is closed

error
GstRTSPResult function(GstRTSPWatch* watch, GstRTSPResult result, void* userData) error;

callback when an error occurred

errorFull
GstRTSPResult function(GstRTSPWatch* watch, GstRTSPResult result, GstRTSPMessage* message, uint id, void* userData) errorFull;

callback when an error occurred with more information than the @error callback.

messageReceived
GstRTSPResult function(GstRTSPWatch* watch, GstRTSPMessage* message, void* userData) messageReceived;

callback when a message was received

messageSent
GstRTSPResult function(GstRTSPWatch* watch, uint id, void* userData) messageSent;

callback when a message was sent

tunnelComplete
GstRTSPResult function(GstRTSPWatch* watch, void* userData) tunnelComplete;

a client finished a tunneled connection. In this callback you usually pair the tunnelid of this connection with the saved one using gstrtsp.rtspconnection.RTSPConnection.doTunnel.

tunnelHttpResponse
GstRTSPResult function(GstRTSPWatch* watch, GstRTSPMessage* request, GstRTSPMessage* response, void* userData) tunnelHttpResponse;

callback when an HTTP response to the GET request is about to be sent for a tunneled connection. The response can be modified in the callback. Since: 1.4.

tunnelLost
GstRTSPResult function(GstRTSPWatch* watch, void* userData) tunnelLost;

callback when the post connection of a tunnel is closed.

tunnelStart
GstRTSPStatusCode function(GstRTSPWatch* watch, void* userData) tunnelStart;

a client started a tunneled connection. The tunnelid of the connection must be saved.