ummm.... yeah...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4093 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b16a66caac
commit
ae8d2e924f
|
@ -2310,6 +2310,7 @@ static uint8_t negotiate_sdp(switch_core_session_t *session, sdp_session_t *sdp)
|
||||||
if (match && (map->rm_rate == imp->samples_per_second)) {
|
if (match && (map->rm_rate == imp->samples_per_second)) {
|
||||||
if (ptime && ptime * 1000 != imp->microseconds_per_frame) {
|
if (ptime && ptime * 1000 != imp->microseconds_per_frame) {
|
||||||
near_match = imp;
|
near_match = imp;
|
||||||
|
match = 0;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
mimp = imp;
|
mimp = imp;
|
||||||
|
@ -2329,7 +2330,8 @@ static uint8_t negotiate_sdp(switch_core_session_t *session, sdp_session_t *sdp)
|
||||||
near_match->iananame,
|
near_match->iananame,
|
||||||
near_match->samples_per_second,
|
near_match->samples_per_second,
|
||||||
ptime);
|
ptime);
|
||||||
|
|
||||||
|
prefs[0] = tmp;
|
||||||
num = switch_loadable_module_get_codecs_sorted(search, 1, prefs, 1);
|
num = switch_loadable_module_get_codecs_sorted(search, 1, prefs, 1);
|
||||||
|
|
||||||
if (num) {
|
if (num) {
|
||||||
|
|
Loading…
Reference in New Issue