Browse Source

remove unnecessary a=inactive for zero-port media

pull/11/head
Richard Fuchs 12 years ago
parent
commit
b6ff15cb8a
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      daemon/sdp.c

+ 1
- 3
daemon/sdp.c View File

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


Loading…
Cancel
Save