]> sjero.net Git - linphone/commitdiff
don't set sendrecv (it is the default)
authorSimon Morlat <simon.morlat@linphone.org>
Wed, 16 Mar 2011 12:21:07 +0000 (13:21 +0100)
committerSimon Morlat <simon.morlat@linphone.org>
Wed, 16 Mar 2011 12:21:07 +0000 (13:21 +0100)
README.macos
coreapi/sal_eXosip2_sdp.c

index 6d385150381ccfa07da856d97c743b86706099d3..9531aca9585acc996c9305af233f03c12fa284b5 100644 (file)
@@ -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
+
+
 
 
index 70443c722ac8e0c35acd3d40b0c022da27b20b0c..d6e671b863a706fc501986bdab2a1835bc00a5e2 100644 (file)
@@ -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){