From a4dda1c0484cf4b7a8435662642b546c70f88aad Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Wed, 16 Mar 2011 13:21:07 +0100 Subject: [PATCH] don't set sendrecv (it is the default) --- README.macos | 10 ++++++++++ coreapi/sal_eXosip2_sdp.c | 5 +++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/README.macos b/README.macos index 6d385150..9531aca9 100644 --- a/README.macos +++ b/README.macos @@ -30,5 +30,15 @@ Steps: * install to /opt/local sudo make install +********************* +Using gtk-osx (jhbuild environnment) + +After installing jhbuild and get gtk built, + +$ jhbuild shell + +$ PKG_CONFIG_PATH=/Users/smorlat/gtk/inst/lib/pkgconfig:/opt/local/lib/pkgconfig/ ./configure --disable-video --disable-gtk_ui --disable-strict + + diff --git a/coreapi/sal_eXosip2_sdp.c b/coreapi/sal_eXosip2_sdp.c index 70443c72..d6e671b8 100644 --- a/coreapi/sal_eXosip2_sdp.c +++ b/coreapi/sal_eXosip2_sdp.c @@ -231,7 +231,8 @@ static void add_line(sdp_message_t *msg, int lineno, const SalStreamDescription } switch(desc->dir){ case SalStreamSendRecv: - dir="sendrecv"; + /*dir="sendrecv";*/ + dir=NULL; break; case SalStreamRecvOnly: dir="recvonly"; @@ -243,7 +244,7 @@ static void add_line(sdp_message_t *msg, int lineno, const SalStreamDescription dir="inactive"; break; } - sdp_message_a_attribute_add (msg, lineno, osip_strdup (dir),NULL); + if (dir) sdp_message_a_attribute_add (msg, lineno, osip_strdup (dir),NULL); } sdp_message_t *media_description_to_sdp(const SalMediaDescription *desc){ -- 2.39.2