From 67186c31e290891c1f5c233066e4d4933fc0a0aa Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Thu, 27 Jun 2013 20:44:11 -0400 Subject: [PATCH] Revert "leave out rtcp attribute in rtcp-mux case" This reverts commit c7477e3fa9a8b1b56ae23217f6ea0dda6b634f75. --- daemon/sdp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/daemon/sdp.c b/daemon/sdp.c index 28a0546de..05d8d071d 100644 --- a/daemon/sdp.c +++ b/daemon/sdp.c @@ -1500,7 +1500,9 @@ int sdp_replace(struct sdp_chopper *chop, GQueue *sessions, struct call *call, chopper_append_c(chop, "\r\n"); } else if (r_flags == 2) { - chopper_append_c(chop, "a=rtcp-mux\r\n"); + chopper_append_c(chop, "a=rtcp:"); + chopper_append_printf(chop, "%hu", rtp->fd.localport); + chopper_append_c(chop, "\r\na=rtcp-mux\r\n"); } generate_crypto(media, flags, rtp, rtcp, chop);