Changeset View
Changeset View
Standalone View
Standalone View
protocols/jabber/libjingle/talk/session/phone/linphonemediaengine.h
Context not available. | |||||
53 | class LinphoneMediaEngine : public MediaEngineInterface { | 53 | class LinphoneMediaEngine : public MediaEngineInterface { | ||
---|---|---|---|---|---|
54 | public: | 54 | public: | ||
55 | LinphoneMediaEngine(const std::string& ringWav, const std::string& callWav); | 55 | LinphoneMediaEngine(const std::string& ringWav, const std::string& callWav); | ||
56 | #ifdef MEDIASTREAMER_LESS_2_14 | ||||
56 | virtual ~LinphoneMediaEngine() {} | 57 | virtual ~LinphoneMediaEngine() {} | ||
58 | #else | ||||
59 | ~LinphoneMediaEngine(); | ||||
60 | #endif | ||||
57 | 61 | | |||
58 | // Implement pure virtual methods of MediaEngine. | 62 | // Implement pure virtual methods of MediaEngine. | ||
59 | virtual bool Init() { return true; } | 63 | virtual bool Init() { return true; } | ||
Context not available. | |||||
97 | bool have_speex; | 101 | bool have_speex; | ||
98 | bool have_gsm; | 102 | bool have_gsm; | ||
99 | 103 | | |||
104 | #ifndef MEDIASTREAMER_LESS_2_14 | ||||
105 | MSFactory *factory; | ||||
106 | #endif | ||||
107 | | ||||
100 | private: | 108 | private: | ||
101 | std::vector<AudioCodec> voice_codecs_; | 109 | std::vector<AudioCodec> voice_codecs_; | ||
102 | std::vector<VideoCodec> video_codecs_; | 110 | std::vector<VideoCodec> video_codecs_; | ||
Context not available. | |||||
110 | class LinphoneVoiceChannel : public VoiceMediaChannel { | 118 | class LinphoneVoiceChannel : public VoiceMediaChannel { | ||
111 | public: | 119 | public: | ||
112 | LinphoneVoiceChannel(LinphoneMediaEngine *eng); | 120 | LinphoneVoiceChannel(LinphoneMediaEngine *eng); | ||
121 | #ifdef MEDIASTREAMER_LESS_2_14 | ||||
113 | virtual ~LinphoneVoiceChannel(); | 122 | virtual ~LinphoneVoiceChannel(); | ||
123 | #else | ||||
124 | ~LinphoneVoiceChannel(); | ||||
125 | #endif | ||||
114 | 126 | | |||
115 | // Implement pure virtual methods of VoiceMediaChannel. | 127 | // Implement pure virtual methods of VoiceMediaChannel. | ||
116 | virtual bool SetRecvCodecs(const std::vector<AudioCodec>& codecs); | 128 | virtual bool SetRecvCodecs(const std::vector<AudioCodec>& codecs); | ||
Context not available. |