equal
deleted
inserted
replaced
117 #define TMS_FORMAT_G711 ((gint)15) |
117 #define TMS_FORMAT_G711 ((gint)15) |
118 #define TMS_FORMAT_G729 ((gint)16) |
118 #define TMS_FORMAT_G729 ((gint)16) |
119 #define TMS_FORMAT_ILBC ((gint)17) |
119 #define TMS_FORMAT_ILBC ((gint)17) |
120 |
120 |
121 typedef gint TMSRTPSessionType; |
121 typedef gint TMSRTPSessionType; |
122 #define TMS_SESSION_RTP_PUSH ((gint)18) |
122 #define TMS_SESSION_RTP_PULL ((gint)0) |
123 #define TMS_SESSION_RTP_PULL ((gint)19) |
123 #define TMS_SESSION_RTP_PUSH ((gint)1) |
124 |
124 |
125 // TMS vectors |
125 // TMS vectors |
126 typedef std::vector<TMSFormat*> FormatVector; |
126 typedef std::vector<TMSFormat*> FormatVector; |
127 typedef std::vector<guint> BitRateVector; |
127 typedef std::vector<guint> BitRateVector; |
128 typedef std::vector<guint> OutputVector; |
128 typedef std::vector<guint> OutputVector; |
151 #define TMS_AUDIO_OUTPUT_HANDSET ((gint)3) |
151 #define TMS_AUDIO_OUTPUT_HANDSET ((gint)3) |
152 #define TMS_AUDIO_OUTPUT_LOUDSPEAKER ((gint)4) |
152 #define TMS_AUDIO_OUTPUT_LOUDSPEAKER ((gint)4) |
153 #define TMS_AUDIO_OUTPUT_WIRED_ACCESSORY ((gint)5) |
153 #define TMS_AUDIO_OUTPUT_WIRED_ACCESSORY ((gint)5) |
154 #define TMS_AUDIO_OUTPUT_ACCESSORY ((gint)6) |
154 #define TMS_AUDIO_OUTPUT_ACCESSORY ((gint)6) |
155 #define TMS_AUDIO_OUTPUT_ETTY ((gint)7) |
155 #define TMS_AUDIO_OUTPUT_ETTY ((gint)7) |
|
156 #define TMS_AUDIO_OUTPUT_NOT_ACTIVE ((gint)8) |
156 |
157 |
157 // TMSSignalEvent structure for callback notifications |
158 // TMSSignalEvent structure for callback notifications |
158 struct TMSSignalEvent |
159 struct TMSSignalEvent |
159 { |
160 { |
160 guint type; |
161 guint type; |