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 | virtual ~LinphoneMediaEngine() {} | 56 | ~LinphoneMediaEngine(); | ||
57 | 57 | | |||
58 | // Implement pure virtual methods of MediaEngine. | 58 | // Implement pure virtual methods of MediaEngine. | ||
59 | virtual bool Init() { return true; } | 59 | virtual bool Init() { return true; } | ||
Context not available. | |||||
97 | bool have_speex; | 97 | bool have_speex; | ||
98 | bool have_gsm; | 98 | bool have_gsm; | ||
99 | 99 | | |||
100 | #ifndef MEDIASTREAMER_LESS_2_14 | ||||
101 | MSFactory *factory; | ||||
102 | #endif | ||||
103 | | ||||
100 | private: | 104 | private: | ||
101 | std::vector<AudioCodec> voice_codecs_; | 105 | std::vector<AudioCodec> voice_codecs_; | ||
102 | std::vector<VideoCodec> video_codecs_; | 106 | std::vector<VideoCodec> video_codecs_; | ||
Context not available. | |||||
110 | class LinphoneVoiceChannel : public VoiceMediaChannel { | 114 | class LinphoneVoiceChannel : public VoiceMediaChannel { | ||
111 | public: | 115 | public: | ||
112 | LinphoneVoiceChannel(LinphoneMediaEngine *eng); | 116 | LinphoneVoiceChannel(LinphoneMediaEngine *eng); | ||
113 | virtual ~LinphoneVoiceChannel(); | 117 | ~LinphoneVoiceChannel(); | ||
114 | 118 | | |||
115 | // Implement pure virtual methods of VoiceMediaChannel. | 119 | // Implement pure virtual methods of VoiceMediaChannel. | ||
116 | virtual bool SetRecvCodecs(const std::vector<AudioCodec>& codecs); | 120 | virtual bool SetRecvCodecs(const std::vector<AudioCodec>& codecs); | ||
Context not available. |