From 2e20371b192dc7769d598b83ce930d970cd5989a Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Tue, 9 Jul 2013 14:57:14 +0200 Subject: [PATCH] fix REAME + case where message delivery display is wrong --- Classes/LinphoneUI/UIChatRoomCell.m | 25 ++++++++++++------------- README | 18 +++++++++++++++--- 2 files changed, 27 insertions(+), 16 deletions(-) diff --git a/Classes/LinphoneUI/UIChatRoomCell.m b/Classes/LinphoneUI/UIChatRoomCell.m index 067cd5c78..5344fc135 100644 --- a/Classes/LinphoneUI/UIChatRoomCell.m +++ b/Classes/LinphoneUI/UIChatRoomCell.m @@ -93,19 +93,18 @@ static UIFont *CELL_FONT = nil; #pragma mark - - (void)setChat:(ChatModel *)achat { - if(chat == achat) { - return; - } - - if(chat != nil) { - [chat release]; - chat = nil; - } - - if(achat != nil) { - chat = [achat retain]; - [self update]; - } + if(chat != achat) { + if(chat != nil) { + [chat release]; + chat = nil; + } + + if(achat != nil) { + chat = [achat retain]; + } + } + [self update]; + } - (void)update { diff --git a/README b/README index c2a2e4502..87e863590 100644 --- a/README +++ b/README @@ -45,8 +45,8 @@ BUILDING THE SDK $ cd submodules/build $ make all - ALTERNATIVELY, you can force liblinphone to use only non GPL code except for liblinphone, mediastremer2, ortp, exosip, osip. - If you choose this flavor, your final application is still subject to GPL except if you have a commercial license for liblinphone, mediastremer2, ortp, exosip, osip. + ALTERNATIVELY, you can force liblinphone to use only non GPL code except for liblinphone, mediastremer2, ortp, belle-sip. + If you choose this flavor, your final application is still subject to GPL except if you have a commercial license for liblinphone, mediastremer2, ortp, belle-sip. To generate the liblinphone multi arch sdkin non GPL mode, do: $ cd submodules/build @@ -89,7 +89,19 @@ LIMITATIONS, KNOWN BUGS *********************** * Video capture does not work in simulator (not implemented by simulator ?). -* Sound does not work well (or at all) in simulator +DEBUGING THE SDK +**************** +Sometime it can be usefull to step into liblinphone SDK funtions. To allow xcode to enable breakpoint whithin liblinphone, SDK must be built with debug symbols. +To add debug symbol to liblinphone SDK, add make option "enable_debug=yes". + $ make make all enable_gpl_third_parties=no enable_debug=yes + + +DEBUGING MEDIASTREMMER2 +*********************** +For IOS specicific media development like audio video capture/playback it may be interresting to use mediastream test tool. +The project submodule/liblinphone.xcodeproj can be used for this purpose. + +****************