forked from Mirrors/freeswitch
fix regression in media for recovered calls
This commit is contained in:
parent
428cd029de
commit
ad49dabd8c
@ -3254,13 +3254,11 @@ switch_status_t sofia_glue_activate_rtp(private_object_t *tech_pvt, switch_rtp_f
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!sofia_test_flag(tech_pvt, TFLAG_REINVITE)) {
|
if (!sofia_test_flag(tech_pvt, TFLAG_REINVITE) && !sofia_test_flag(tech_pvt, TFLAG_SDP) && switch_rtp_ready(tech_pvt->rtp_session)) {
|
||||||
if (switch_rtp_ready(tech_pvt->rtp_session)) {
|
if (sofia_test_flag(tech_pvt, TFLAG_VIDEO) && !switch_rtp_ready(tech_pvt->video_rtp_session)) {
|
||||||
if (sofia_test_flag(tech_pvt, TFLAG_VIDEO) && !switch_rtp_ready(tech_pvt->video_rtp_session)) {
|
goto video;
|
||||||
goto video;
|
} else {
|
||||||
} else {
|
goto end;
|
||||||
goto end;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user