mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
don't set sendrecv (it is the default)
This commit is contained in:
parent
32881a74b6
commit
a4dda1c048
2 changed files with 13 additions and 2 deletions
10
README.macos
10
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
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue