|
|
|
@ -1737,10 +1737,8 @@ int sdp_replace(struct sdp_chopper *chop, GQueue *sessions, struct call_monologu
|
|
|
|
assert(j->data == ps_rtcp);
|
|
|
|
assert(j->data == ps_rtcp);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (!sdp_media->port_num || !ps->sfd) {
|
|
|
|
if (!sdp_media->port_num || !ps->sfd)
|
|
|
|
chopper_append_c(chop, "a=inactive\r\n");
|
|
|
|
|
|
|
|
goto next;
|
|
|
|
goto next;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (MEDIA_ISSET(call_media, SEND) && MEDIA_ISSET(call_media, RECV))
|
|
|
|
if (MEDIA_ISSET(call_media, SEND) && MEDIA_ISSET(call_media, RECV))
|
|
|
|
chopper_append_c(chop, "a=sendrecv\r\n");
|
|
|
|
chopper_append_c(chop, "a=sendrecv\r\n");
|
|
|
|
|