blob: 0219fd9bc897c72bcc2976c7647359e09e7f1713 [file] [log] [blame]
yu.dongc33b3072024-08-21 23:14:49 -07001#ifndef __IMS_SDP_CODEC_DEF_H__
2#define __IMS_SDP_CODEC_DEF_H__
3
4
5typedef enum
6{
7 VOIP_CODEC_NONE = 0,
8 VOIP_CODEC_AMR,
9 VOIP_CODEC_AMR_WB,
10 VOIP_CODEC_H264,
11 VOIP_TELEPHONE_EVENT,
12 VOIP_CODEC_G729,
13 VOIP_CODEC_PCMA,
14 VOIP_CODEC_PCMU,
15 VOIP_CODEC_G7231,
16 VOIP_CODEC_G726_16,
17 VOIP_CODEC_G726_24,
18 VOIP_CODEC_G726_32,
19 VOIP_CODEC_G726_40,
20 VOIP_CODEC_T140,
21 VOIP_CODEC_RED,
22 VOIP_CODEC_CN,
23 VOIP_CODEC_H265,
24 VOIP_CODEC_EVS,
25#if 0 // not support iLBC
26/* under construction !*/
27#endif // not support iLBC
28} voip_codec_enum;
29
30
31typedef enum e_vcodec_pt_type
32{
33 PT_CODEC_PCMU = 0,
34 PT_CODEC_PCMA = 8,
35 PT_CODEC_CN = 13,
36 PT_CODEC_G729 = 18,
37 PT_CODEC_G7231 = 4,
38 PT_TELEPHONE_EVENT = 101,
39#if 0 // not support iLBC
40/* under construction !*/
41#endif // not support iLBC
42 PT_CODEC_G726_16 = 105, /* R1 definition this is 96*/
43 PT_CODEC_G726_24 = 106,
44 PT_CODEC_G726_32 = 107,
45 PT_CODEC_G726_40 = 108,
46
47} voip_codec_pt_type;
48
49
50/**
51 * @brief Define the type in SC_ACCT_MEDIA_G723_RATE
52 */
53typedef enum voip_conf_g723_1_rate{
54 codec_g723_1_5_3k=0,
55 codec_g723_1_6_3k,
56}e_voip_conf_g723_1_rate;
57
58
59/**
60 * @brief Define the type in SC_ACCT_MEDIA_ILBC_RATE
61 */
62typedef enum voip_conf_ilbc_rate{
63 codec_ilbc_20ms=0,
64 codec_ilbc_30ms,
65}e_voip_conf_ilbc_rate;
66
67
68/**
69 * @brief Define the type in SC_ACCT_ADV_DTMF_TYPE
70 */
71typedef enum voip_conf_dtmf{
72 dtmf_rfc2833=0,
73 dtmf_inband=1,
74}e_voip_conf_dtmf;
75
76
77#endif /* __IMS_SDP_CODEC_DEF_H__ */