UniMRCP
1.3.0
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
libs
mpf
include
mpf_rtp_attribs.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_attribs.h 2136 2014-07-04 06:33:36Z achaloyan@gmail.com $
17
*/
18
19
#ifndef MPF_RTP_ATTRIBS_H
20
#define MPF_RTP_ATTRIBS_H
21
22
/**
23
* @file mpf_rtp_attribs.h
24
* @brief RTP Attributes (SDP)
25
*/
26
27
#include "
mpf_rtp_descriptor.h
"
28
29
APT_BEGIN_EXTERN_C
30
31
/** RTP attributes */
32
typedef
enum
{
33
RTP_ATTRIB_RTPMAP,
34
RTP_ATTRIB_SENDONLY,
35
RTP_ATTRIB_RECVONLY,
36
RTP_ATTRIB_SENDRECV,
37
RTP_ATTRIB_MID,
38
RTP_ATTRIB_PTIME,
39
40
RTP_ATTRIB_COUNT,
41
RTP_ATTRIB_UNKNOWN = RTP_ATTRIB_COUNT
42
}
mpf_rtp_attrib_e
;
43
44
45
/** Get audio media attribute name by attribute identifier */
46
MPF_DECLARE
(
const
apt_str_t
*)
mpf_rtp_attrib_str_get
(
mpf_rtp_attrib_e
attrib_id);
47
48
/** Find audio media attribute identifier by attribute name */
49
MPF_DECLARE
(
mpf_rtp_attrib_e
)
mpf_rtp_attrib_id_find
(const
apt_str_t
*attrib);
50
51
/** Get string by RTP direction (send/receive) */
52
MPF_DECLARE
(const
apt_str_t
*)
mpf_rtp_direction_str_get
(
mpf_stream_direction_e
direction);
53
54
APT_END_EXTERN_C
55
56
#endif
/* MPF_RTP_ATTRIBS_H */
Generated on Mon Feb 2 2015 19:41:38 for UniMRCP by
1.8.3.1