UniMRCP  1.3.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mpf_rtp_pt.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008-2014 Arsen Chaloyan
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  * $Id: mpf_rtp_pt.h 2136 2014-07-04 06:33:36Z achaloyan@gmail.com $
17  */
18 
19 #ifndef MPF_RTP_PT_H
20 #define MPF_RTP_PT_H
21 
22 /**
23  * @file mpf_rtp_pt.h
24  * @brief RTP Payload Types (RFC3551)
25  */
26 
27 #include "mpf.h"
28 
30 
31 /** RTP payload types */
32 typedef enum {
33  RTP_PT_PCMU = 0, /**< PCMU Audio 8kHz 1 */
34  RTP_PT_PCMA = 8, /**< PCMA Audio 8kHz 1 */
35 
36  RTP_PT_CN = 13, /**< Comfort Noise Audio 8kHz 1 */
37 
38  RTP_PT_RESERVED = 19, /**< Not used for any particular codec */
39 
40  RTP_PT_DYNAMIC = 96, /**< Start of dynamic payload types */
41  RTP_PT_DYNAMIC_MAX = 127, /**< End of dynamic payload types */
42 
43  RTP_PT_UNKNOWN = 128 /**< Unknown (invalid) payload type */
44 } mpf_rtp_pt_e;
45 
47 
48 #endif /* MPF_RTP_PT_H */