gstrtsp.c.types
C types for gstrtsp1 library
Types 30
Authentication methods, ordered by strength
The possible events for the connection.
The possible network families.
Enumeration of rtsp header fields
The different transport methods.
The different supported RTSP methods.
The type of a message.
The transfer profile to use.
Different possible time range units.
Result codes from the RTSP functions.
The different RTSP states.
Enumeration of rtsp status codes
Possible time types.
The transfer mode to use.
The supported RTSP versions.
RTSP Authentication credentials
GstRTSPAuthMethod schemea #GstRTSPAuthMethodGstRTSPAuthParam * * paramsA NULL-terminated array of #GstRTSPAuthParamchar * authorizationThe authorization for the basic schemRTSP Authentication parameter
char * nameThe name of the parameterchar * valueThe value of the parameterThis object manages the RTSP connection to the server. It provides function to receive and send bytes and messages.
This interface is implemented e.g. by the Windows Media Streaming RTSP exentension (rtspwms) and the RealMedia RTSP extension (rtspreal).
An interface representing RTSP extensions.
GTypeInterface parentgboolean function(GstRTSPExtension * ext, GstRTSPMessage * resp) detectServerGstRTSPResult function(GstRTSPExtension * ext, GstRTSPMessage * req) beforeSendGstRTSPResult function(GstRTSPExtension * ext, GstRTSPMessage * req, GstRTSPMessage * resp) afterSendGstRTSPResult function(GstRTSPExtension * ext, GstSDPMessage * sdp, GstStructure * s) parseSdpGstRTSPResult function(GstRTSPExtension * ext, GstSDPMedia * media) setupMediagboolean function(GstRTSPExtension * ext, GstCaps * caps) configureStreamGstRTSPResult function(GstRTSPExtension * ext, GstRTSPLowerTrans protocols, char * * transport) getTransportsGstRTSPResult function(GstRTSPExtension * ext, GstRTSPUrl * url) streamSelectGstRTSPResult function(GstRTSPExtension * ext, GstRTSPMessage * req, GstRTSPMessage * resp) sendGstRTSPResult function(GstRTSPExtension * ext, GstRTSPMessage * req) receiveRequestvoid *[4] GstReservedProvides methods for creating and parsing request, response and data messages.
GstRTSPMsgType typethe message typeTypeDataType typeDataGArray * hdrFieldsubyte * body_uint bodySizeGstBuffer * bodyBuffervoid *[3] GstReservedProvides helper functions to deal with time ranges.
int minminimum value of the rangeint maxmaximum value of the rangeA time indication.
GstRTSPTimeType typethe time of the timedouble secondsseconds when @type is GSTRTSPTIMESECONDS, GSTRTSPTIMEUTC and GSTRTSPTIME_FRAMESExtra fields for a time indication.
double framesframes and subframes when type in GstRTSPTime is GSTRTSPTIME_FRAMESuint yearyear when type is GSTRTSPTIME_UTCuint monthmonth when type is GSTRTSPTIME_UTCuint dayday when type is GSTRTSPTIME_UTCA time range.
GstRTSPRangeUnit unitthe time units usedGstRTSPTime minthe minimum intervalGstRTSPTime maxthe maximum intervalGstRTSPTime2 min2extra fields in the minimum interval (Since: 1.2)GstRTSPTime2 max2extra fields in the maximum interval (Since: 1.2)Provides helper functions to deal with RTSP transport strings.
GstRTSPTransMode transthe transport modeGstRTSPProfile profilethe tansport profileGstRTSPLowerTrans lowerTransportthe lower transportchar * destinationthe destination ip/hostnamechar * sourcethe source ip/hostnameuint layersthe number of layersgboolean modePlayif play mode was selectedgboolean modeRecordif record mode was selectedgboolean appendis append mode was selectedGstRTSPRange interleavedthe interleave rangeuint ttlthe time to live for multicast UDPGstRTSPRange portthe port pair for multicast sessionsGstRTSPRange clientPortthe client port pair for receiving data. For TCP based transports, applications can use this field to store the sender and receiver ports of the client.GstRTSPRange serverPortthe server port pair for receiving data. For TCP based transports, applications can use this field to store the sender and receiver ports of the server.uint ssrcthe ssrc that the sender/receiver will usevoid *[4] GstReservedProvides helper functions to handle RTSP urls.
GstRTSPLowerTrans transportsthe transports allowedGstRTSPFamily familythe familychar * userthe userchar * passwdthe passwordchar * hostthe hostushort portthe portchar * abspaththe absolute pathchar * queryadditional query parametersOpaque RTSP watch object that can be used for asynchronous RTSP operations.
Callback functions from a #GstRTSPWatch.
GstRTSPResult function(GstRTSPWatch * watch, GstRTSPMessage * message, void * userData) messageReceivedcallback when a message was receivedGstRTSPResult function(GstRTSPWatch * watch, uint id, void * userData) messageSentcallback when a message was sentGstRTSPResult function(GstRTSPWatch * watch, void * userData) closedcallback when the connection is closedGstRTSPResult function(GstRTSPWatch * watch, GstRTSPResult result, void * userData) errorcallback when an error occurredGstRTSPStatusCode function(GstRTSPWatch * watch, void * userData) tunnelStarta client started a tunneled connection. The tunnelid of the connection must be saved.GstRTSPResult function(GstRTSPWatch * watch, void * userData) tunnelCompletea 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].GstRTSPResult function(GstRTSPWatch * watch, GstRTSPResult result, GstRTSPMessage * message, uint id, void * userData) errorFullcallback when an error occurred with more information than the @error callback.GstRTSPResult function(GstRTSPWatch * watch, void * userData) tunnelLostcallback when the post connection of a tunnel is closed.GstRTSPResult function(GstRTSPWatch * watch, GstRTSPMessage * request, GstRTSPMessage * response, void * userData) tunnelHttpResponsecallback 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.void *[3] GstReserved