]> sjero.net Git - linphone/blob - linphone/media_api/common.h
remove mediastreamer2 and add it as a submodule instead.
[linphone] / linphone / media_api / common.h
1 #ifndef COMMON_H
2 #define COMMON_H
3
4
5 #include "media_api.h"
6 #include <glib.h>
7
8 #define api_trace g_message
9 #define api_error g_error
10 #define api_warn g_warning
11
12 #define MEDIA_FLOW_DUPLEX 1
13 #define MEDIA_FLOW_HALF_DUPLEX 2
14
15 //Mediaflow type
16 #define MEDIA_FLOW_VIDEO 1
17 #define MEDIA_FLOW_VOICE 2
18
19 //Mediaflow protocols
20 #define MEDIA_RTP 1
21 #define MEDIA_OSS 2
22 #define MEDIA_ALSA 3
23 #define MEDIA_FILE 4
24
25 //Mediaflow codec function
26 #define MEDIA_API_DECODER 1
27 #define MEDIA_API_ENCODER 2
28
29 #endif
30
31