ZDK
AudioVideoCodecs.h
1 #ifndef __AudioVideoCodecs__
2 #define __AudioVideoCodecs__
3 
4 #include <functional>
5 
6 namespace ZDK
7 {
8 
9 //# @abi(all) documentation
12 enum class AudioVideoCodecs : int
13 {
14  //# @abi(all) documentation
16  NA,
17  //# @abi(all) documentation
19  G729,
20 
21  //# @abi(all) documentation
23  GSM,
24 
25  //# @abi(all) documentation
27  iLBC_20,
28 
29  //# @abi(all) documentation
31  iLBC_30,
32 
33  //# @abi(all) documentation
35  h263_plus,
36 
37  //# @abi(all) documentation
39  h264,
40 
41  //# @abi(all) documentation
43  vp8,
44 
45  //# @abi(all) documentation
47  h264_hwd,
48 
49  //# @abi(all) documentation
51  SPEEX_NARROW,
52 
53  //# @abi(all) documentation
55  SPEEX_WIDE,
56 
57  //# @abi(all) documentation
59  SPEEX_ULTRA,
60 
61  //# @abi(all) documentation
63  G726,
64 
65  //# @abi(all) documentation
67  OPUS_NARROW,
68 
69  //# @abi(all) documentation
71  OPUS_WIDE,
72 
73  //# @abi(all) documentation
75  OPUS_SUPER,
76 
77  //# @abi(all) documentation
79  OPUS_FULL,
80 
81  //# @abi(all) documentation
83  AMR,
84 
85  //# @abi(all) documentation
87  AMR_WB,
88 
89  //# @abi(all) documentation
91  PCMU,
92 
93  //# @abi(all) documentation
95  PCMA,
96 
97  //# @abi(all) documentation
99  G722
100 };
101 
103 {
104  std::size_t operator()(AudioVideoCodecs m) const
105  {
106  std::hash<int> hashVal;
107  return hashVal(static_cast<typename std::underlying_type<AudioVideoCodecs>::type>(m));
108  }
109 };
110 
111 } //namespace ZDK
112 
113 #endif //__AudioVideoCodecs__
Definition: IAccountConfig.h:10
Definition: AudioVideoCodecs.h:102