fb675189598e901dbeb60080f97490667f14e3ef
[platform/upstream/gst-plugins-good.git] / gst / rtp / gstrtp-common.h
1 /* Gnome-Streamer
2  * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  */
19
20
21 #ifndef __GST_RTP_COMMON_H__
22 #define __GST_RTP_COMMON_H__
23
24 #define RTP_VERSION 2
25
26 typedef enum
27 {
28 /* Audio: */
29   PAYLOAD_PCMU = 0,             /* ITU-T G.711. mu-law audio (RFC 3551) */ 
30   PAYLOAD_GSM = 3,
31   PAYLOAD_PCMA = 8,             /* ITU-T G.711 A-law audio (RFC 3551) */
32   PAYLOAD_L16_STEREO = 10,
33   PAYLOAD_L16_MONO = 11,
34   PAYLOAD_MPA = 14,             /* Audio MPEG 1-3 */
35   PAYLOAD_G723_63 = 16,         /* Not standard */
36   PAYLOAD_G723_53 = 17,         /* Not standard */
37   PAYLOAD_TS48 = 18,            /* Not standard */
38   PAYLOAD_TS41 = 19,            /* Not standard */
39   PAYLOAD_G728 = 20,            /* Not standard */
40   PAYLOAD_G729 = 21,            /* Not standard */
41
42 /* Video: */
43   PAYLOAD_MPV = 32,             /* Video MPEG 1 & 2 */
44
45 /* BOTH */
46   PAYLOAD_BMPEG = 34            /* Not Standard */
47 }
48 rtp_payload_t;
49
50 #endif