UniMRCP  1.7.0
mpf_rtp_pt.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008-2015 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 
17 #ifndef MPF_RTP_PT_H
18 #define MPF_RTP_PT_H
19 
20 /**
21  * @file mpf_rtp_pt.h
22  * @brief RTP Payload Types (RFC3551)
23  */
24 
25 #include "mpf.h"
26 
28 
29 /** RTP payload types */
30 typedef enum {
31  RTP_PT_PCMU = 0, /**< PCMU Audio 8kHz 1 */
32  RTP_PT_PCMA = 8, /**< PCMA Audio 8kHz 1 */
33 
34  RTP_PT_CN = 13, /**< Comfort Noise Audio 8kHz 1 */
35 
36  RTP_PT_RESERVED = 19, /**< Not used for any particular codec */
37 
38  RTP_PT_DYNAMIC = 96, /**< Start of dynamic payload types */
39  RTP_PT_DYNAMIC_MAX = 127, /**< End of dynamic payload types */
40 
41  RTP_PT_UNKNOWN = 128 /**< Unknown (invalid) payload type */
42 } mpf_rtp_pt_e;
43 
45 
46 #endif /* MPF_RTP_PT_H */
Definition: mpf_rtp_pt.h:38
#define APT_END_EXTERN_C
Definition: apt.h:38
Definition: mpf_rtp_pt.h:39
Definition: mpf_rtp_pt.h:36
Definition: mpf_rtp_pt.h:31
Definition: mpf_rtp_pt.h:32
mpf_rtp_pt_e
Definition: mpf_rtp_pt.h:30
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
Definition: mpf_rtp_pt.h:41
Media Processing Framework Definitions.
Definition: mpf_rtp_pt.h:34