mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
rtsp: add new defines for tunneling
Add two more result codes for tunneling support.
This commit is contained in:
parent
9ea1240910
commit
3b6e9fc870
2 changed files with 7 additions and 1 deletions
|
@ -83,6 +83,8 @@ static const gchar *rtsp_results[] = {
|
|||
"Network error: %s",
|
||||
"Host is not a valid IP address",
|
||||
"Timeout while waiting for server response",
|
||||
"Tunnel GET request received",
|
||||
"Tunnel POST request received",
|
||||
"Unknown error (%d)",
|
||||
NULL
|
||||
};
|
||||
|
|
|
@ -79,6 +79,8 @@ G_STMT_START { \
|
|||
* @GST_RTSP_ENOTIP: the host is not an IP host
|
||||
* @GST_RTSP_ETIMEOUT: a timeout occured
|
||||
* @GST_RTSP_ELAST: last error
|
||||
* @GST_RTSP_ETGET: the tunnel GET request has been performed
|
||||
* @GST_RTSP_ETPOST: the tunnel POST request has been performed
|
||||
*
|
||||
* Result codes from the RTSP functions.
|
||||
*/
|
||||
|
@ -99,8 +101,10 @@ typedef enum {
|
|||
GST_RTSP_ENET = -12,
|
||||
GST_RTSP_ENOTIP = -13,
|
||||
GST_RTSP_ETIMEOUT = -14,
|
||||
GST_RTSP_ETGET = -15,
|
||||
GST_RTSP_ETPOST = -16,
|
||||
|
||||
GST_RTSP_ELAST = -15
|
||||
GST_RTSP_ELAST = -17
|
||||
} GstRTSPResult;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue