76 * @GST_RTSP_EWSAVERSION: windows networking stack has wrong version |
76 * @GST_RTSP_EWSAVERSION: windows networking stack has wrong version |
77 * @GST_RTSP_EEOF: end-of-file was reached |
77 * @GST_RTSP_EEOF: end-of-file was reached |
78 * @GST_RTSP_ENET: a network problem occured, h_errno contains more details |
78 * @GST_RTSP_ENET: a network problem occured, h_errno contains more details |
79 * @GST_RTSP_ENOTIP: the host is not an IP host |
79 * @GST_RTSP_ENOTIP: the host is not an IP host |
80 * @GST_RTSP_ETIMEOUT: a timeout occured |
80 * @GST_RTSP_ETIMEOUT: a timeout occured |
|
81 * @GST_RTSP_ETGET: the tunnel GET request has been performed |
|
82 * @GST_RTSP_ETPOST: the tunnel POST request has been performed |
81 * @GST_RTSP_ELAST: last error |
83 * @GST_RTSP_ELAST: last error |
82 * |
84 * |
83 * Result codes from the RTSP functions. |
85 * Result codes from the RTSP functions. |
84 */ |
86 */ |
85 typedef enum { |
87 typedef enum { |
97 GST_RTSP_EWSAVERSION = -10, |
99 GST_RTSP_EWSAVERSION = -10, |
98 GST_RTSP_EEOF = -11, |
100 GST_RTSP_EEOF = -11, |
99 GST_RTSP_ENET = -12, |
101 GST_RTSP_ENET = -12, |
100 GST_RTSP_ENOTIP = -13, |
102 GST_RTSP_ENOTIP = -13, |
101 GST_RTSP_ETIMEOUT = -14, |
103 GST_RTSP_ETIMEOUT = -14, |
102 |
104 GST_RTSP_ETGET = -15, |
103 GST_RTSP_ELAST = -15 |
105 GST_RTSP_ETPOST = -16, |
|
106 |
|
107 GST_RTSP_ELAST = -17 |
104 } GstRTSPResult; |
108 } GstRTSPResult; |
105 |
109 |
106 /** |
110 /** |
107 * GstRTSPEvent: |
111 * GstRTSPEvent: |
108 * @GST_RTSP_EV_READ: connection is readable |
112 * @GST_RTSP_EV_READ: connection is readable |
277 GST_RTSP_HDR_MAX_ASM_WIDTH, /* SupportsMaximumASMBandwidth */ |
281 GST_RTSP_HDR_MAX_ASM_WIDTH, /* SupportsMaximumASMBandwidth */ |
278 GST_RTSP_HDR_LANGUAGE, /* Language */ |
282 GST_RTSP_HDR_LANGUAGE, /* Language */ |
279 GST_RTSP_HDR_PLAYER_START_TIME, /* PlayerStarttime */ |
283 GST_RTSP_HDR_PLAYER_START_TIME, /* PlayerStarttime */ |
280 |
284 |
281 /* Since 0.10.16 */ |
285 /* Since 0.10.16 */ |
282 GST_RTSP_HDR_LOCATION /* Location */ |
286 GST_RTSP_HDR_LOCATION, /* Location */ |
|
287 |
|
288 /* Since 0.10.23 */ |
|
289 GST_RTSP_HDR_ETAG, /* ETag */ |
|
290 GST_RTSP_HDR_IF_MATCH, /* If-Match */ |
|
291 |
|
292 /* WM extensions [MS-RTSP] Since 0.10.23 */ |
|
293 GST_RTSP_HDR_ACCEPT_CHARSET, /* Accept-Charset */ |
|
294 GST_RTSP_HDR_SUPPORTED, /* Supported */ |
|
295 GST_RTSP_HDR_VARY, /* Vary */ |
|
296 GST_RTSP_HDR_X_ACCELERATE_STREAMING, /* X-Accelerate-Streaming */ |
|
297 GST_RTSP_HDR_X_ACCEPT_AUTHENT, /* X-Accept-Authentication */ |
|
298 GST_RTSP_HDR_X_ACCEPT_PROXY_AUTHENT, /* X-Accept-Proxy-Authentication */ |
|
299 GST_RTSP_HDR_X_BROADCAST_ID, /* X-Broadcast-Id */ |
|
300 GST_RTSP_HDR_X_BURST_STREAMING, /* X-Burst-Streaming */ |
|
301 GST_RTSP_HDR_X_NOTICE, /* X-Notice */ |
|
302 GST_RTSP_HDR_X_PLAYER_LAG_TIME, /* X-Player-Lag-Time */ |
|
303 GST_RTSP_HDR_X_PLAYLIST, /* X-Playlist */ |
|
304 GST_RTSP_HDR_X_PLAYLIST_CHANGE_NOTICE, /* X-Playlist-Change-Notice */ |
|
305 GST_RTSP_HDR_X_PLAYLIST_GEN_ID, /* X-Playlist-Gen-Id */ |
|
306 GST_RTSP_HDR_X_PLAYLIST_SEEK_ID, /* X-Playlist-Seek-Id */ |
|
307 GST_RTSP_HDR_X_PROXY_CLIENT_AGENT, /* X-Proxy-Client-Agent */ |
|
308 GST_RTSP_HDR_X_PROXY_CLIENT_VERB, /* X-Proxy-Client-Verb */ |
|
309 GST_RTSP_HDR_X_RECEDING_PLAYLISTCHANGE, /* X-Receding-PlaylistChange */ |
|
310 GST_RTSP_HDR_X_RTP_INFO, /* X-RTP-Info */ |
|
311 GST_RTSP_HDR_X_STARTUPPROFILE, /* X-StartupProfile */ |
|
312 |
|
313 /* Since 0.10.24 */ |
|
314 GST_RTSP_HDR_TIMESTAMP /* Timestamp */ |
283 |
315 |
284 } GstRTSPHeaderField; |
316 } GstRTSPHeaderField; |
285 |
317 |
286 typedef enum { |
318 typedef enum { |
287 GST_RTSP_STS_INVALID = 0, |
319 GST_RTSP_STS_INVALID = 0, |
336 const gchar* gst_rtsp_method_as_text (GstRTSPMethod method); |
368 const gchar* gst_rtsp_method_as_text (GstRTSPMethod method); |
337 const gchar* gst_rtsp_version_as_text (GstRTSPVersion version); |
369 const gchar* gst_rtsp_version_as_text (GstRTSPVersion version); |
338 const gchar* gst_rtsp_header_as_text (GstRTSPHeaderField field); |
370 const gchar* gst_rtsp_header_as_text (GstRTSPHeaderField field); |
339 const gchar* gst_rtsp_status_as_text (GstRTSPStatusCode code); |
371 const gchar* gst_rtsp_status_as_text (GstRTSPStatusCode code); |
340 |
372 |
|
373 gchar* gst_rtsp_options_as_text (GstRTSPMethod options); |
|
374 |
341 GstRTSPHeaderField gst_rtsp_find_header_field (const gchar *header); |
375 GstRTSPHeaderField gst_rtsp_find_header_field (const gchar *header); |
342 GstRTSPMethod gst_rtsp_find_method (const gchar *method); |
376 GstRTSPMethod gst_rtsp_find_method (const gchar *method); |
343 |
377 |
344 G_END_DECLS |
378 G_END_DECLS |
345 |
379 |