X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst-libs%2Fgst%2Frtsp%2Fgstrtspdefs.h;h=4a6e1fee8904b7efbe0a929f565e1c6c7d2a0448;hb=4898c305377c1c28fa5754714db9b75f3619518b;hp=d67babd1c09e9bc540bb0dea9088db92ac2f12ee;hpb=8ca5d1274bcd130dfff88285a02d14dc7a4e7fde;p=platform%2Fupstream%2Fgstreamer.git diff --git a/gst-libs/gst/rtsp/gstrtspdefs.h b/gst-libs/gst/rtsp/gstrtspdefs.h index d67babd..4a6e1fe 100644 --- a/gst-libs/gst/rtsp/gstrtspdefs.h +++ b/gst-libs/gst/rtsp/gstrtspdefs.h @@ -13,8 +13,8 @@ * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. */ /* * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -158,7 +158,7 @@ typedef enum { * GstRTSPVersion: * @GST_RTSP_VERSION_INVALID: unknown/invalid version * @GST_RTSP_VERSION_1_0: version 1.0 - * @GST_RTSP_VERSION_1_1: version 1.1. Since 0.10.25 + * @GST_RTSP_VERSION_1_1: version 1.1. * * The supported RTSP versions. */ @@ -182,8 +182,8 @@ typedef enum { * @GST_RTSP_SETUP: the SETUP method * @GST_RTSP_SET_PARAMETER: the SET_PARAMETER method * @GST_RTSP_TEARDOWN: the TEARDOWN method - * @GST_RTSP_GET: the GET method (HTTP). Since 0.10.25 - * @GST_RTSP_POST: the POST method (HTTP). Since 0.10.25 + * @GST_RTSP_GET: the GET method (HTTP). + * @GST_RTSP_POST: the POST method (HTTP). * * The different supported RTSP methods. */ @@ -228,10 +228,9 @@ typedef enum { /** * GstRTSPHeaderField: * - * Enumeration of rtsp header fields. + * Enumeration of rtsp header fields */ typedef enum { - /*< protected >*/ GST_RTSP_HDR_INVALID, /* @@ -333,16 +332,21 @@ typedef enum { GST_RTSP_HDR_X_SERVER_IP_ADDRESS, /* X-Server-IP-Address */ GST_RTSP_HDR_X_SESSIONCOOKIE, /* X-Sessioncookie */ + /* Since 0.10.36 */ + GST_RTSP_HDR_RTCP_INTERVAL, /* RTCP-Interval */ + + /* Since 1.4 */ + GST_RTSP_HDR_KEYMGMT, /* KeyMgmt */ + GST_RTSP_HDR_LAST } GstRTSPHeaderField; /** * GstRTSPStatusCode: * - * Enumeration of rtsp status codes. + * Enumeration of rtsp status codes */ typedef enum { - /*< protected >*/ GST_RTSP_STS_INVALID = 0, GST_RTSP_STS_CONTINUE = 100, GST_RTSP_STS_OK = 200, @@ -381,6 +385,7 @@ typedef enum { GST_RTSP_STS_ONLY_AGGREGATE_OPERATION_ALLOWED = 460, GST_RTSP_STS_UNSUPPORTED_TRANSPORT = 461, GST_RTSP_STS_DESTINATION_UNREACHABLE = 462, + GST_RTSP_STS_KEY_MANAGEMENT_FAILURE = 463, /* since 1.4 */ GST_RTSP_STS_INTERNAL_SERVER_ERROR = 500, GST_RTSP_STS_NOT_IMPLEMENTED = 501, GST_RTSP_STS_BAD_GATEWAY = 502, @@ -398,6 +403,7 @@ const gchar* gst_rtsp_header_as_text (GstRTSPHeaderField field); const gchar* gst_rtsp_status_as_text (GstRTSPStatusCode code); gchar* gst_rtsp_options_as_text (GstRTSPMethod options); +GstRTSPMethod gst_rtsp_options_from_text (const gchar *options); GstRTSPHeaderField gst_rtsp_find_header_field (const gchar *header); GstRTSPMethod gst_rtsp_find_method (const gchar *method);