Lines 139-145
bool LinphoneMediaEngine::Init() {
Link Here
|
139 |
|
139 |
|
140 |
#ifdef HAVE_SPEEX |
140 |
#ifdef HAVE_SPEEX |
141 |
ms_speex_codec_init(); |
141 |
ms_speex_codec_init(); |
142 |
rtp_profile_set_payload(&av_profile, 110, &speex_wb); |
142 |
rtp_profile_set_payload(&av_profile, 110, &payload_type_speex_wb); |
143 |
codecs_.push_back(Codec(110, "speex", 8)); |
143 |
codecs_.push_back(Codec(110, "speex", 8)); |
144 |
#endif |
144 |
#endif |
145 |
|
145 |
|
Lines 149-155
bool LinphoneMediaEngine::Init() {
Link Here
|
149 |
codecs_.push_back(Codec(102, "iLBC", 4)); |
149 |
codecs_.push_back(Codec(102, "iLBC", 4)); |
150 |
#endif |
150 |
#endif |
151 |
|
151 |
|
152 |
rtp_profile_set_payload(&av_profile, 0, &pcmu8000); |
152 |
rtp_profile_set_payload(&av_profile, 0, &payload_type_pcmu8000); |
153 |
codecs_.push_back(Codec(0, "PCMU", 2)); |
153 |
codecs_.push_back(Codec(0, "PCMU", 2)); |
154 |
|
154 |
|
155 |
return true; |
155 |
return true; |