Giter VIP home page Giter VIP logo

belledonnecommunications / linphone-iphone Goto Github PK

View Code? Open in Web Editor NEW
560.0 59.0 340.0 121.5 MB

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of linphone-iphone (git://git.linphone.org/linphone-iphone.git)

Home Page: http://linphone.org

License: GNU General Public License v3.0

Objective-C 57.55% MATLAB 0.09% C 0.02% Shell 0.84% Python 0.75% Ruby 0.16% Swift 40.60%
linphone iphone voip phone sip video call conference chat message

linphone-iphone's Introduction

Linphone is an open source softphone for voice and video over IP calling and instant messaging. It is fully SIP-based, for all calling, presence and IM features. General description is available from linphone web site

License

Copyright © Belledonne Communications

Linphone is dual licensed, and is available either :

  • under a GNU/GPLv3 license, for free (open source). Please make sure that you understand and agree with the terms of this license before using it (see LICENSE file for details).
  • under a proprietary license, for a fee, to be used in closed source applications. Contact Belledonne Communications for any question about costs and services.

Documentation

How can I contribute?

Thanks for asking! We love pull requests from everyone. Depending on what you want to do, you can help us improve Linphone in various ways:

Help on translations

We no longer use transifex for the translation process, instead we have deployed our own instance of Weblate.

Due to the full app rewrite we can't re-use previous translations, so we'll be very happy if you want to contribute.

Report bugs and submit patchs

If you want to dig through Linphone code or report a bug, please read CONTRIBUTING.md first. You should also read this README entirely ;-).

How to be a beta tester ?

Enter the Beta :

  • Download TestFlight from the App Store and log in it with your apple-id -Tap the public link on your iOS device. The public link : https://testflight.apple.com/join/LUlmZWjH -Touch View in TestFlight or Start Testing. You can also touch Accept, Install, or Update for Linphone app. -And voilà ! You can update your beta version with the same public link when a new one is available

Send a crash report :

  • It is done automatically by TestFlight

Report a bug :

  • Open Linphone
  • Go to Settings —> Advanced —> Send logs
  • An email to [email protected] is created with your logs attached
  • Fill in the bug description with :
    • What you were doing
    • What happened
    • What you were expecting
    • Approximately when the bug happened
  • Change the object to [Beta test - Bug report]
  • Send the mail

Building the application

What's new

Now the default way of building linphone-iphone is to use CocoaPods to retrieve the linphone-sdk frameworks. Compared to previous versions, this project no longer uses submodules developper has to build in order to get a working app. However, if you wish to use a locally compiled SDK, read paragraph "Using a local linphone SDK" below to know how to proceed.

Building the app

If you don't have CocoaPods already, you can download and install it using :

	sudo gem install cocoapods

If you alreadly have Cocoapods, make sur that the version is higher than 1.7.5.

  • Install the app's dependencies with cocoapods first:
	pod install

It will download the linphone-sdk from our gitlab repository so you don't have to build anything yourself.

  • Then open linphone.xcworkspace file (NOT linphone.xcodeproj) with XCode to build and run the app.

Limitations and known bugs

  • Video capture will not work in simulator (not implemented in it).

Using a local linphone SDK

  • Clone the linphone-sdk repository from out gitlab:
   git clone https://gitlab.linphone.org/BC/public/linphone-sdk.git --recursive
  • Follow the instructions in the linphone-sdk/README file to build the SDK.

  • Rebuild the project:

   PODFILE_PATH=<path to linphone-sdk-ios> pod install

where is your build directory of the linphone-sdk project, containing the linphone-sdk.podspec file and a linphone-sdk ouptut directory comprising built frameworks and resources.

  • Then open linphone.xcworkspace with Xcode to build and run the app.

Enabling crashlytics

We've integrated Crashlytics into liphone-iphone, which can automatically send crash reports. It is disabled by default. To activate it:

  • Replace the GoogleService-Info.plist for this project with yours (specific to your crashlytics account).

  • Rebuild the project:

    USE_CRASHLYTICS=true pod install
  • Then open linphone.xcworkspace with Xcode to build and run the app.

Quick UI reference

  • The app is contained in a window, which resides in the MainStoryboard file.

  • The delegate is set to LinphoneAppDelegate in main.m, in the UIApplicationMain() by passing its class

  • Basic layout:

      MainStoryboard
              |
              | (rootViewController)
              |
          PhoneMainView ---> view |--> app background
              |                   |
              |                   |--> statusbar background
              |
              | (mainViewController)
              |
          UICompositeView : TPMultilayout
                      |
                      |---> view  |--> statusBar
                                  |
                                  |--> contentView
                                  |
                                  |--> tabBar
    

When the application is started, the phoneMainView gets asked to transition to the Dialer view or the Assistant view. PhoneMainView exposes the -changeCurrentView: method, which will setup its Any Linphone view is actually presented in the UICompositeView, with or without a statusBar and tabBar.

The UICompositeView consists of 3 areas laid out vertically. From top to bottom: StatusBar, Content and TabBar. The TabBar is usually the UIMainBar, which is used as a navigation controller: clicking on each of the buttons will trigger a transition to another "view".

linphone-iphone's People

Contributors

bagage avatar brieucv avatar cdeschambc avatar cdeschamps avatar datbewar avatar fgrisez avatar flibor avatar gui13 avatar jeannotlapin avatar julonexus avatar mickhopes avatar npepperlinux avatar peppsac avatar sanavak avatar solomax avatar viish avatar xeftax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

linphone-iphone's Issues

Register to a specify server port?

Hi.

Because our servers do not use 5060 port for some reasons, I have to modify the default proxy port. But in assistant view if I add a port following domain Linphone will crash immediately on:
linphone_account_creator_configure(account_creator);

is it meant to be like that?

Thank you.

On Dialer Screen - On Add Contact Click App Crashes.

Case:
On Dialer screen when i enter text or number and then press add contact, there is an error.

In Class ContactDetailViewController.m

Following lines there is an error:

  • (void)addCurrentContactContactField:(NSString *)address {

    LinphoneAddress *linphoneAddress =
    linphone_address_new([address cStringUsingEncoding:[NSString defaultCStringEncoding]]);

//linphoneAddress is null

NSString *username = [NSString stringWithUTF8String:linphone_address_get_username(linphoneAddress)];

//error on the above line
.
.
.
.
.
}

screen shot 2015-10-26 at 6 43 00 pm

Not able to connect to my SIP server.

I am able to build the code and The test cases in KIF are also getting passed.
But on connecting to my SIP server, I am not able to register it. I am able to register with my Linphone account also.

I am trying from iPhone with 3G data. Is this server configuration error or am I missing anything?

Below given is the logs

2016-02-17 18:49:37:411 ortp-message-channel [0xe4c000]: message sent to [UDP://52.36.69.120:5060], size: [759] bytes
REGISTER sip:52.36.37.80 SIP/2.0
Via: SIP/2.0/UDP 100.113.221.221:5060;branch=z9hG4bK.vMrPQVmaU;rport
From: sip:[email protected];tag=61dsGibAv
To: sip:[email protected]
CSeq: 24 REGISTER
Call-ID: p9XgJfzbja
Max-Forwards: 70
Supported: outbound
Accept: application/sdp
Accept: text/plain
Accept: application/vnd.gsma.rcs-ft-http+xml
Contact: sip:[email protected];app-id=com.ust.devicedebug.dev;pn-type=apple;pn-tok=92125AA604B8A9EE093A547F3D06BD0135BCF06F1189BD664E93F96C6720CF92;pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-call-snd=notes_of_the_optimistic.caf;pn-msg-snd=msg.caf;+sip.instance="urn:uuid:fa4cdf64-3a96-41cd-b5fe-431093c965e0"
Expires: 3600
User-Agent: Linphone_iPhone4,1_iOS7.1.2/3.11.8-13-gb095cd2 (belle-sip/1.4.2)
2016-02-17 18:49:37:909 ortp-message-A timeout related to this channel occured and no message received during last 60 seconds. This channel is suspect, moving to error state
2016-02-17 18:49:37:910 ortp-message-channel 0xe4c000: state ERROR
2016-02-17 18:49:37:910 ortp-warning-Transaction [0x17021a40] reporting timeout, reporting to channel.
2016-02-17 18:49:37:929 ortp-message-transaction [0x17021a40] channel state changed to [ERROR]
2016-02-17 18:49:37:930 ortp-message-Refresher: scheduling next timer in 60000 ms
2016-02-17 18:49:37:930 ortp-message-Register refresher [503] reason [io error] for proxy [sip:52.36.69.120;transport=udp]
2016-02-17 18:49:37:930 ortp-message-Refresher: scheduling next timer in 2000 ms
2016-02-17 18:49:37:930 ortp-message-Register refresher [408] reason [timeout] for proxy [sip:52.36.69.120;transport=udp]
2016-02-17 18:49:37:930 ortp-message-Changing [client] [REGISTER] transaction [0x17021a40], from state [TRYING] to [TERMINATED]
2016-02-17 18:49:37:930 ortp-message-Client internal REGISTER transaction [0x17021a40] terminated
2016-02-17 18:49:39:950 ortp-message-Channel [0xe4c000] destroyed
2016-02-17 18:49:39:950 ortp-message-Transaction [0x17021a40] deleted
2016-02-17 18:49:39:951 ortp-message-belle_sip_client_transaction_send_request(): waiting channel to be ready
2016-02-17 18:49:39:951 ortp-message-Background task belle-sip send channel started. Unknown remaining time since application is not fully in background.
2016-02-17 18:49:39:952 ortp-message-channel [0xe4c000]: starting send background task with id=[7].
2016-02-17 18:49:39:952 ortp-message-channel [0xe4c000]: starting resolution of 52.36.69.120
2016-02-17 18:49:39:952 ortp-message-channel 0xe4c000: state RES_IN_PROGRESS
2016-02-17 18:49:39:952 ortp-message-transaction [0x170299a0] channel state changed to [RES_IN_PROGRESS]
2016-02-17 18:49:39:952 ortp-message-channel 0xe4c000: state RES_DONE
2016-02-17 18:49:39:952 ortp-message-transaction [0x170299a0] channel state changed to [RES_DONE]
2016-02-17 18:49:39:952 ortp-message-channel 0xe4c000: state CONNECTING
2016-02-17 18:49:39:952 ortp-message-transaction [0x170299a0] channel state changed to [CONNECTING]
2016-02-17 18:49:39:953 ortp-message-Trying to connect to [UDP://52.36.69.120:5060]
2016-02-17 18:49:39:953 ortp-message-belle_sip_get_src_addr_for(): af_inet6=0
2016-02-17 18:49:39:953 ortp-message-Channel has local address 100.113.221.221:5060
2016-02-17 18:49:39:954 ortp-message-channel 0xe4c000: state READY
2016-02-17 18:49:39:954 ortp-message-transaction [0x170299a0] channel state changed to [READY]

Issue while FastAddressBook Class

Hi,

I am using an older version nearly 2-3 months older. I am having an issue that as soon as i click on Contacts App crashes.

Please see attachment. Mainly issue is in class FastAddressBook.
I cannot use the updated version, as if i pull the changes, it will discard all my changes and i have to make many changes as there are manny commit have been made after that.
Please help.

Thanks for understanding.

screen shot 2016-02-17 at 5 11 51 pm

Linker Failure - Exit Code 1

Hi,

Immediately prior to upgrading to Xcode 7 I was having no problem compiling the application for both my physical iPad mini and the various simulators I use for testing purposes. Since upgrading to Xcode 7 it seems the build is failing because of a problem reported by the linker. I see that the linker is a little more particular about the target particular object files were built for but I don't understand how to go about resolving this issue so that I can resume testing this application on my simulator.

Here is the error I am receiving:

d /Users/chriscook/Library/Developer/Xcode/DerivedData/linphone-dwnxacodktdgiodbnwvyahdziadp/Build/Products/Debug-iphonesimulator/linphone.app/linphone normal x86_64
cd /Users/chriscook/Desktop/LINPHONE/linphone-iphone
export IPHONEOS_DEPLOYMENT_TARGET=6.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/chriscook/Library/Developer/Xcode/DerivedData/linphone-dwnxacodktdgiodbnwvyahdziadp/Build/Products/Debug-iphonesimulator -L/Users/chriscook/Desktop/LINPHONE/linphone-iphone/liblinphone-sdk/apple-darwin/lib -L/Users/chriscook/Desktop/LINPHONE/linphone-iphone/liblinphone-sdk/apple-darwin/lib/mediastreamer/plugins -F/Users/chriscook/Library/Developer/Xcode/DerivedData/linphone-dwnxacodktdgiodbnwvyahdziadp/Build/Products/Debug-iphonesimulator -filelist /Users/chriscook/Library/Developer/Xcode/DerivedData/linphone-dwnxacodktdgiodbnwvyahdziadp/Build/Intermediates/linphone.build/Debug-iphonesimulator/linphone.build/Objects-normal/x86_64/linphone.LinkFileList -mios-simulator-version-min=6.0 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -lSKP_SILK_SDK -lxml2 -lilbcrfc3951 -liconv -lz -lmsopenh264 -lopenh264 -lopus -lpolarssl -lantlr3c -lbellesip -lbzrtp /Users/chriscook/Library/Developer/Xcode/DerivedData/linphone-dwnxacodktdgiodbnwvyahdziadp/Build/Products/Debug-iphonesimulator/libNinePatch.a /Users/chriscook/Library/Developer/Xcode/DerivedData/linphone-dwnxacodktdgiodbnwvyahdziadp/Build/Products/Debug-iphonesimulator/libXMLRPC.a -framework AddressBook -framework AddressBookUI -framework AssetsLibrary -framework AudioToolbox -weak_framework AVFoundation -weak_framework CFNetwork -framework CoreAudio -framework CoreGraphics -weak_framework CoreMedia -framework CoreTelephony -weak_framework CoreVideo -framework Foundation -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -weak_framework UIKit -weak-lc++.1 -lsqlite3 -weak-lstdc++.6 -lresolv -lavcodec -lavutil -lgsm -llinphone -lmediastreamer_base -lmediastreamer_voip -lmsamr -lmsilbc -lmssilk -lortp -lopencore-amrnb -lopencore-amrwb -lmsbcg729 -lspeex -lspeexdsp -lsrtp -lswscale -lvpx -Xlinker -dependency_info -Xlinker /Users/chriscook/Library/Developer/Xcode/DerivedData/linphone-dwnxacodktdgiodbnwvyahdziadp/Build/Intermediates/linphone.build/Debug-iphonesimulator/linphone.build/Objects-normal/x86_64/linphone_dependency_info.dat -o /Users/chriscook/Library/Developer/Xcode/DerivedData/linphone-dwnxacodktdgiodbnwvyahdziadp/Build/Products/Debug-iphonesimulator/linphone.app/linphone

ld: building for iOS simulator, but linking in object file built for OSX, file '/Users/chriscook/Desktop/LINPHONE/linphone-iphone/liblinphone-sdk/apple-darwin/lib/libSKP_SILK_SDK.a' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I assume this is an issue that would need to be overcome for anyone attempting to build this project using the new IDE? I haven't seen it reported anywhere else with regards to linphone in particular.

Any information or instruction would be greatly appreciated. Let me know if there is any additional information that might be useful.

Can't build (./prepare.py), following binaries are missing : nasm

I've followed the steps that exist in the file README.md and has installed all required dependencies via brew including NASM, but when I try to build sdk error message appears an tell me that nasm binary is missing and need to install nasm with brew. I think maybe I need to reinstall nasm but after that It still happen, can't build with the same error message.

Enable LIME in ios

Hi,
How to enable LIME in the iphone linphone compilation?
Any guide or tutorial for it?
Regards.

Building SDK in Xcode 7.0.1

Hello all:

I'm trying to use following comand to build SDK:

./prepare.py -DENABLE_X264=ON all && make

but it gives me CMake Error:

cmake /Users/Apple/linphone-iphone/submodules/cmake-builder -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/Users/Apple/linphone-iphone/liblinphone-sdk/arm64-apple-darwin.ios -DCMAKE_INSTALL_PREFIX=/Users/Apple/linphone-iphone/liblinphone-sdk/arm64-apple-darwin.ios -DLINPHONE_BUILDER_WORK_DIR=/Users/Apple/linphone-iphone/WORK/ios-arm64 -DCMAKE_TOOLCHAIN_FILE=toolchains/toolchain-ios-arm64.cmake -DLINPHONE_BUILDER_CONFIG_FILE=configs/config-ios-arm64.cmake -DLINPHONE_BUILDER_EXTERNAL_SOURCE_PATH=/Users/Apple/linphone-iphone/submodules -DENABLE_X264=ON -G "Unix Makefiles" -DLINPHONE_IOS_DEPLOYMENT_TARGET=6.0 "-DLINPHONE_BUILDER_DUMMY_LIBRARIES=libopenh264 libcunit libavcodec libspeex libpolarssl libswresample libopencore-amrnb libtunnel libopus libbellesip libopencore-amrwb libsrtp libvo-amrwbenc libbzrtp libgsm libmsilbc libmsbcg729 libswscale libvpx libmsamr libbcg729 libspeexdsp liblinphone libx264 libortp libmsopenh264 libmediastreamer_base liblinphonetester libavutil libmssilk libilbcrfc3951 libmediastreamer_voip libmswebrtc libantlr3c libmsx264"
-- Using sysroot path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk
-- Using sdk version: 9.0
-- Using sysroot path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk
-- Using sdk version: 9.0
-- Found PythonInterp: /usr/bin/python (found version "2.7.10")
-- Using toolchain file '/Users/Apple/linphone-iphone/submodules/cmake-builder/toolchains/toolchain-ios-arm64.cmake'
-- Using sysroot path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk
-- Using sdk version: 9.0
-- Using sysroot path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk
-- Using sdk version: 9.0
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/Apple/linphone-iphone/WORK/ios-arm64/cmake/Autotools
-- Using configuration file '/Users/Apple/linphone-iphone/submodules/cmake-builder/configs/config-ios-arm64.cmake'
CMake Error at configs/config-ios.cmake:71 (message):
You need at least CMake version 3.3.20150815 but you are currently using
3.2.3. There is no Cmake release available for it yet, so you must either
compile it manually or revert to XCode6 temporary.
Call Stack (most recent call first):
configs/config-ios-arm64.cmake:24 (include)
CMakeLists.txt:70 (include)

-- Configuring incomplete, errors occurred!
See also "/Users/Apple/linphone-iphone/WORK/ios-arm64/cmake/CMakeFiles/CMakeOutput.log".

How do I solve this issue?

Custom FFmpeg configuration

Hi,

I am using liblinphone in my project. But also i need FFmpeg for my custom player. FFmpeg that I am using need special configuration that means custom build. Right now I'm combine binary files from my build and from liblinphone build. Somehow it works. But in best way I would like to pass my configuration of FFmpeg to liblinphone. Or just somewhere change it.

Can you help me where to change the configuration of FFmpeg?

cannot send outgoing call

Hi, i get a problem here
I compiled the source code(linphone-iphone) and try to debug on iPhone6 plus, anything is ok except that i cannot send outgoing call to others while i can receive incoming call from my friend.
I debug it via Xcode 7.3, and here is part of logs, can you help me to fix it?

2016-04-13 13:36:08.805 linphone[541:120196] I/bel/channel [0x10946c000] [371] bytes parsed
2016-04-13 13:36:08.806 linphone[541:120196] I/bel/Found transaction matching response.
2016-04-13 13:36:08.806 linphone[541:120196] I/bel/Changing [client] [INVITE] transaction [0x1492c5260], from state [CALLING] to [PROCEEDING]
2016-04-13 13:36:08.813 linphone[541:120196] I/lib/op [0x149537220] : set_or_update_dialog() current=[0x0] new=[0x0]
2016-04-13 13:36:08.814 linphone[541:120196] I/lib/Op [0x149537220] receiving call response [100], dialog is [0x0] in state [BELLE_SIP_DIALOG_NULL]
2016-04-13 13:36:08.814 linphone[541:120196] I/bel/channel [0x10946c000]: ending recv background task with id=[9].
2016-04-13 13:36:40.396 linphone[541:120196] I/bel/Changing [client] [INVITE] transaction [0x1492c2030], from state [COMPLETED] to [TERMINATED]
2016-04-13 13:36:40.397 linphone[541:120196] I/bel/Client INVITE transaction [0x1492c2030] terminated

Help me for step 3

I try step 3 n show
ERROR:root:Could not find prepare module: 'module' object has no attribute 'Target', probably missing submodules/cmake-builder? Try running:
git submodule sync && git submodule update --init --recursive

when i try (git submodule sync && git submodule update --init --recursive) the result
fatal: Not a git repository (or any of the parent directories): .git

please help me to finish this problem

Crash when deleting a contact

Hi,

Adding a contact and deleting it causes the app to crash.

This happens in the [ContactsListTableView tableView:commitEditingStyle:forRowAtIndexPath:] method, with the following exception:

NSInternalInconsistencyException

Invalid update: invalid number of sections. The number of sections contained in the table view after the update (1) must be equal to the number of sections contained in the table view before the update (1), plus or minus the number of sections inserted or deleted (0 inserted, 1 deleted).

This was detected in the master version, running on the iPhone 6 iOS 9.2 simulator.

Thank you.

Best regards,

Filipe

./prepare.py error

When I run ./prepare.py I'm getting next error:
ERROR:root:Could not find prepare module: 'module' object has no attribute 'Target', probably missing submodules/cmake-builder? Try running:
git submodule sync && git submodule update --init --recursive
How to solve it?

How can I read server info from response header in 200 ok

Hello everyone.
I'm trying to collect server info in Objective C level, which means I need to retrieve the server field in registration response message such as 200 OK for each session. I'm wondering is it possible without modifying the liblinphone?
I roughly went through the linphonecore.h api and didn't find a clue.
Could someone give me a hint plz??

I encountered when compiling such a mistake GNU assembler not found

GNU assembler not found, install/update gas-preprocessor

If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.
make[3]: *** [../linphone-iphone/WORK/ios-armv7/Stamp/EP_ffmpeg/EP_ffmpeg-configure] Error 1
make[2]: *** [CMakeFiles/EP_ffmpeg.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [armv7-build] Error 2

HA1 password and plain password bug

There's a bug in writing plain text password if ha1 is not provided while writing auth info
File: linphone-iphone/submodules/linphone/coreapi/authentication.c
Function: linphone_auth_info_write_config

We read the store_ha1_passwd config defaulting to 1

bool_t store_ha1_passwd = lp_config_get_int(config, "sip", "store_ha1_passwd", 1);

and then we're checking if store_ha1_passwd is true, and then we're checking if obj - > ha1 isn't NULL. Then save the ha1 password.

But if ha1 was NULL then the plain password isn't being saved. Since the else is for store_ha1_passwd which is true always:

if (obj - > passwd != NULL) {
    if (store_ha1_passwd) {
        if (obj - > ha1) { /*if we have our ha1 and store_ha1_passwd set to TRUE,
then drop the clear text password for security*/
            linphone_auth_info_set_passwd(obj, NULL);
        }
    } else { /*we store clear text password only if store_ha1_passwd is FALSE*/
        lp_config_set_string(config, key, "passwd", obj - > passwd);
    }
}

Is there specific reason for such condition? In my point of view, it should've been like this:

if (store_ha1_passwd && obj - > ha1) {
/*if we have our ha1 and store_ha1_passwd set to TRUE,
    then drop the clear text password for security*/
        linphone_auth_info_set_passwd(obj, NULL);
} else { /*we store clear text password only if there's no ha1*/
    lp_config_set_string(config, key, "passwd", obj - > passwd);
}

Issue with lime enabled

Hi,

I spotted the following:

  • with lime enabled (lime=1 in the sip configurations) and using ZRTP encryption, the app crashes when you try to send a message to an account to which you do not trust. This happens when you send a message to an account you never made a call to (and therefore did not establish trust with) or to an account you may have called before but never established trust with or removed trust in the meantime.

This happens in the master version.

Thank you in advance.

Best,

Filipe

ZRTP key agreement Missing

Hi,
I try to add the following command to add Elliptic curve EC25 as key agreement, but seems the bzrtp is not working correctly or implemented.
in the [sip] section
zrtp_key_agreements_suites=MS_ZRTP_KEY_AGREEMENT_EC25

Any ideas how to add it? As i need this for compatibility issue.

Regards

I really shouldn't git pull

after git pull & git submodule update --recursive --init, I couldn't even compile it.

/Users/Steven/GitProjects/LinphoneIOS/submodules/externals/gsm/src/code.c:95:8: error:
implicitly declaring library function 'memcpy' with type 'void (void *,
const void *, unsigned long)' -Werror,-Wimplicit-function-declarationmemcpy( (char *)S->dp0, (char *)(S->dp0 + 160),
^
/Users/Steven/GitProjects/LinphoneIOS/submodules/externals/gsm/src/code.c:95:8: note:
include the header <string.h> or explicitly provide a declaration for
'memcpy'
1 error generated.
make[6]: *
* [CMakeFiles/gsm.dir/src/code.c.o] Error 1
make[5]: *** [CMakeFiles/gsm.dir/all] Error 2
make[4]: *** [all] Error 2
make[3]: *** [/Users/Steven/GitProjects/LinphoneIOS/WORK/ios-arm64/Stamp/EP_gsm/EP_gsm-build] Error 2
make[2]: *** [CMakeFiles/EP_gsm.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [arm64-build] Error 2

Determinate proxy / local network call

Hi,

I've a question, how to determinate if incoming call is from local network or over connected proxy. I tried to look what is inside LinphoneCall and LinphoneCallParams and I can't find nothing useful for my problem.

Error While Building Per README.macos.md

Hi,

I am receiving the following error while attempting to compile Linphone via the 'PKG_CONFIG_PATH=/opt/local/lib/pkgconfig ./configure --prefix=/opt/local --with-srtp=/opt/local --with-gsm=/opt/local --enable-zrtp --disable-strict && make' step in 'linphone-iphone/submodules/linphone/README.macos.md'.

videofilters/videoenc.c:268:14: error: use of undeclared identifier
'PIX_FMT_YUVJ420P'; did you mean 'AV_PIX_FMT_YUVJ420P'?
c->pix_fmt=PIX_FMT_YUVJ420P;
^~~~~~~~~~~~~~~~
AV_PIX_FMT_YUVJ420P

I am trying to rebuild the entire project from source so that I can have the latest changes incorporating iOS 9 support and whatnot. Any information or assistance would be greatly appreciated.

KIF/KIF.h file not found

Hello.
I did exactly as the README says and in the last step when I press "⌘R" it gives me a "KIF/KIF.h file not found" error in LinphoneTestCase.h in Target linphoneTests. But I was running the main target named "linphone", i don't know how those two relate each other. I found the KIF.h under a subproject KIF, but how can I import it? Am I doing anything wrong?

Sorry if I'm asking something stupid...

(also i tried to compile linphoneTesters and click run all tests but it crashes at
2016-02-19 10:23:47:737 ortp-fatal-Account for "Super Marie" sip:[email protected] could not be created on server.)

TLS transport with existing SIP account

Hi,

When I try to connect to connect to an existing SIP account using TLS it seems that UDP is always used. The registration ends up failing after several attempts with an "io error", but if I then press continue go to the account settings and change UDP to TLS in the transport section, it ends up connecting.

This was experienced in the 3.10.9 tag.

Thank you.

Best regards,

Filipe

Unable to use G729 codec

I am able to build linphone-sdk successfully. However, I am not able to use G729 audio codec in project. It is always disabled. I have tried many different build options as suggested in README.md file. But, nothing helped me.

I have tried with following different commands on linphone-iphone project root directory:
(1) ./prepare.py -c && ./prepare.py -DENABLE_GPL_THIRD_PARTIES=ON && make
(2) ./prepare.py -c && ./prepare.py -DENABLE_G729=ON && make
(3) ./prepare.py -c && ./prepare.py --build-all-codecs && make

I want to use G 729 codec in project and to display G 729 codec in Settings>Audio>Codecs list. Please, suggest me, what can I do for this.

Also, PFA output log of building process:
Terminal Saved Output 23:02:2016 0837.txt

A bug when you try to log in with an external sip address.

If you try to log in with an external sip address, even all the information are right and you fill the proxy already, you will receive a "Registration failure : unauthorized". And after you cancel it and switch to setting view to update the registration, all the things work again.

SIP Registration , IO Error issue

Hi All,
When I am trying with the latest code in Master branch,I am getting io error while connecting to the server. Please confirm is this a know issue? But code is working proper in simulator.

Please find the attached screen shots for the correct error and the build versions.
img_20160225_204103
img_20160225_204323

Thanks
Kannan P

unable to call linphone-iphone

calling from liphone-iphone is ok, but calling it back is impossible. when i try to call liphone-iphone from other linphone instance (android or linux) it behaves like there is no such device, so just "Request timeout" - logs are the same like when calling device without linphone.

it looks like this:

iphone  -> android (ok)
android -> iphone  (fail)
iphone  -> linux   (ok)
linux   -> iphone  (fail)
android -> linux   (ok)
linux   -> android (ok)

the situation is the same on both device and simulator:

iPhone 4s - iOS 9.3.1
Xcode 7.3 - iOS 9.3

and both linphone-iphone from app store and build from source:

Linphone iOS 3.11.8-30-g8a3c12e
Linphone Core 3.9.1-522-gb0c8780

Linphone iOS 3.12.1-92-gf35ab9e
Linphone Core 3.9.1-1108-g6f48b41

i've also tested it on two different wi-fi networks.

Typo in linphone_reason_to_string

Hi,

When i use linphone_reason_to_string with reason: LinphoneReasonDoNotDisturb answer is Do not distrub instead of Do not disturb.

Unable to edit or modify code for JNI library

Hello,
I am using linphone android library for video calling in my application and i have created most of the application but now I am getting an issue over here. In video calling, I need to see captured video over full scrren but that screen showing black strips on top and bottom and I am unable to remove those strips because JNI library including native code which is compiled in .so file and as you know I don't have any control on those files therefore I can not modify or edit that code.
So, please tell me how can I implement the full screen video chat to use similar code or give me any suggetion which help me to complete my application.
Below link provide you the idea that what am i looking for, please look that and provide me the solution.
Link - http://media.wiley.com/Lux/12/411812.image1.jpg
Please reply as soon as possible, I am waiting for help.

Thank you,
Aashish Sharma

There is no video in IOS app, in device

I have successfully installed Linphone on my Iphone 6 device, through this very helpful source (https://github.com/BelledonneCommunications/linphone-iphone). The app is deployed in my device, I’ve configured it to use “ostel.co” voip server online, and works like a charm. I can place calls and send messages. I cannot, however, place video calls. There is no video, whether I start an audio call and initiate video feed, or if I start a video call from the start. It doesn’t work. I am using linphone on Iphone, and a 3rd party app in the desktop. If I use linphone also on the desktop, the video call gets established but with POOR quality (another problem to solve later on). I wan't to use linphone with 3rd party software, what needs to be done?

Can you please help me solve the issue? I’ve configured my liblinphone-sdk for non third party, as there is a chance for commercial licensing later on. Linphone sdk has the following configuration, and I am surprised video does not work at all:

-- Debug:
-- Including builder antlr3c
-- Including builder polarssl
-- Including builder cunit
-- Including builder bellesip
-- Including builder ortp
-- Including builder gsm
-- Including builder opus
-- Including builder speex
-- Including builder vpx
-- Including builder srtp
-- Including builder bzrtp
-- Including builder ms2
-- Including builder libilbcrfc3951
-- Including builder msilbc
-- Including builder mswebrtc
-- Including builder mssilk
-- Including builder linphone

-- Enabled Features:

  • Unit tests , Build unit tests programs for belle-sip, mediastreamer2 and linphone.

  • Documentation , Enable documentation generation with Doxygen.

  • SRTP , SRTP media encryption support.

  • ZRTP , ZRTP media encryption support.

  • DTLS , DTLS media encryption support.

  • GSM , GSM audio encoding/decoding support.

  • iLBC , iLBC audio encoding/decoding support.

  • ISAC , ISAC audio encoding/decoding support.

  • OPUS , OPUS audio encoding/decoding support.

  • Silk , Silk audio encoding/decoding support.

  • Speex , Speex audio encoding/decoding support.

  • Video , Ability to capture and display video.

  • VPX , VPX (VP8) video encoding/decoding support.

    -- Disabled features:

    • Tunnel , Secure tunnel for SIP/RTP (require license).
    • RTP MAP , Always include rtpmap in SDP.
    • GPL third parties , Usage of GPL third-party code (FFmpeg and x264).
    • Non free codecs , Allow inclusion of non-free codecs in the build.
    • AMR-NB , AMR narrow-band audio encoding/decoding support (require license).
    • AMR-WB , AMR wide-band audio encoding/decoding support (require license).
    • G.729 , G.729 audio encoding/decoding support (require license).
    • WASAPI , Windows Audio Session API (WASAPI) sound card support.
    • WebRTC AEC , WebRTC echo canceller support.
    • FFmpeg , Some video processing features via FFmpeg: JPEG encoding/decoding, video scaling, H264 decoding...
    • H263 , H263 video encoding/decoding support (require license).
    • H263+ , H263+ video encoding/decoding support (require license).
    • MPEG4 , MPEG4 video encoding/decoding support (require license).
    • OpenH264 , H.264 video encoding/decoding support with the openh264 library (require license).
    • X264 , H.264 video encoding support with the x264 library (require license).
    • V4L , V4L camera driver.
    • MKV , MKV playing and recording support.

Issue with lime

Hi,

There was a previous issue regarding lime where a device with lime enabled would crash when sending a message to another device. That is now fixed, but now I am unable to send messages between two devices with lime enabled. The "composing" notice appears, but the messages are not sent.

This happens with the latest version. To replicate it is enough to set lime=1 and try to send a message.

Thank you.

Best regards,

Filipe

Sip account validation (invalid)

I just noticed that the latest build does not have proper validation on the sip configuration page.
1-3 characters is considered invalid, 4 is valid and 4+ is invalid.

Let me know if additional info is required :)

when i use the sdks on the iphone4 ,there are 69 warning!

bb5 4h ccutxu zz opw 9
82401462-be8f-41d6-9e65-5544be3c2e3a

hi, i use xcode7 compile the code, run the real machine(iphone4),69 issues!
but when i use (./prepare.py i386 && make) in simulators iPhone 4s is ok,
so TARGET_IPHONE_SIMULATOR is ok, in TARGET_OS_IPHONE(armv7) have some issues,
how to fix it ?

6 warning

ld: warning: ARM function not 4-byte aligned: __b_evaluation from /Volumes/data/newmemo/linphone-iphone/liblinphone-sdk/apple-darwin/lib/libavcodec.a(simple_idct_arm.o)
ld: warning: ARM function not 4-byte aligned: __a_evaluation from /Volumes/data/newmemo/linphone-iphone/liblinphone-sdk/apple-darwin/lib/libavcodec.a(simple_idct_arm.o)
ld: warning: ARM function not 4-byte aligned: __end_b_evaluation2 from /Volumes/data/newmemo/linphone-iphone/liblinphone-sdk/apple-darwin/lib/libavcodec.a(simple_idct_arm.o)
ld: warning: ARM function not 4-byte aligned: __a_evaluation2 from /Volumes/data/newmemo/linphone-iphone/liblinphone-sdk/apple-darwin/lib/libavcodec.a(simple_idct_arm.o)
ld: warning: ARM function not 4-byte aligned: __end_simple_idct_arm from /Volumes/data/newmemo/linphone-iphone/liblinphone-sdk/apple-darwin/lib/libavcodec.a(simple_idct_arm.o)
ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in _avcodec_register_all from /Volumes/data/newmemo/linphone-iphone/liblinphone-sdk/apple-darwin/lib/libavcodec.a(allcodecs.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie

63 warning
warning: (armv7) could not find object file symbol for symbol _ff_add_pixels_clamped_armv6
warning: (armv7) could not find object file symbol for symbol _ff_get_pixels_armv6
warning: (armv7) could not find object file symbol for symbol _ff_diff_pixels_armv6
warning: (armv7) could not find object file symbol for symbol _ff_pix_abs16_armv6
warning: (armv7) could not find object file symbol for symbol _ff_pix_abs16_x2_armv6
warning: (armv7) could not find object file symbol for symbol _ff_pix_abs16_y2_armv6
warning: (armv7) could not find object file symbol for symbol _ff_pix_abs8_armv6
warning: (armv7) could not find object file symbol for symbol _ff_sse16_armv6
warning: (armv7) could not find object file symbol for symbol _ff_pix_norm1_armv6
warning: (armv7) could not find object file symbol for symbol _ff_pix_sum_armv6
warning: (armv7) could not find object file symbol for symbol _ff_h264_idct_add_neon
warning: (armv7) could not find object file symbol for symbol _ff_h264_idct_dc_add_neon
warning: (armv7) could not find object file symbol for symbol _ff_h264_idct_add16_neon
warning: (armv7) could not find object file symbol for symbol _ff_h264_idct_add16intra_neon
warning: (armv7) could not find object file symbol for symbol _ff_h264_idct_add8_neon
warning: (armv7) could not find object file symbol for symbol _ff_h264_idct8_add_neon
warning: (armv7) could not find object file symbol for symbol _ff_h264_idct8_dc_add_neon
warning: (armv7) could not find object file symbol for symbol _ff_h264_idct8_add4_neon
warning: (armv7) could not find object file symbol for symbol _ff_put_pixels16_arm
warning: (armv7) could not find object file symbol for symbol _ff_put_pixels8_arm
warning: (armv7) could not find object file symbol for symbol _ff_put_pixels8_x2_arm
warning: (armv7) could not find object file symbol for symbol _ff_put_no_rnd_pixels8_x2_arm
warning: (armv7) could not find object file symbol for symbol _ff_put_pixels8_y2_arm
warning: (armv7) could not find object file symbol for symbol _ff_put_no_rnd_pixels8_y2_arm
warning: (armv7) could not find object file symbol for symbol _ff_put_pixels8_xy2_arm
warning: (armv7) could not find object file symbol for symbol _ff_put_no_rnd_pixels8_xy2_arm
warning: (armv7) could not find object file symbol for symbol _ff_avg_pixels16_armv6
warning: (armv7) could not find object file symbol for symbol _ff_put_pixels16_x2_armv6
warning: (armv7) could not find object file symbol for symbol _ff_put_pixels16_y2_armv6
warning: (armv7) could not find object file symbol for symbol _ff_put_pixels16_x2_no_rnd_armv6
warning: (armv7) could not find object file symbol for symbol _ff_put_pixels16_y2_no_rnd_armv6
warning: (armv7) could not find object file symbol for symbol _ff_put_pixels16_armv6
warning: (armv7) could not find object file symbol for symbol _ff_put_pixels8_armv6
warning: (armv7) could not find object file symbol for symbol _ff_put_pixels8_x2_armv6
warning: (armv7) could not find object file symbol for symbol _ff_put_pixels8_y2_armv6
warning: (armv7) could not find object file symbol for symbol _ff_put_pixels8_x2_no_rnd_armv6
warning: (armv7) could not find object file symbol for symbol _ff_put_pixels8_y2_no_rnd_armv6
warning: (armv7) could not find object file symbol for symbol _ff_avg_pixels8_armv6
warning: (armv7) could not find object file symbol for symbol _ff_scalarproduct_int16_neon
warning: (armv7) could not find object file symbol for symbol _ff_scalarproduct_and_madd_int16_neon
warning: (armv7) could not find object file symbol for symbol _ff_j_rev_dct_arm
warning: (armv7) could not find object file symbol for symbol _ff_simple_idct_arm
warning: (armv7) could not find object file symbol for symbol __row_loop
warning: (armv7) could not find object file symbol for symbol __b_evaluation
warning: (armv7) could not find object file symbol for symbol __end_b_evaluation
warning: (armv7) could not find object file symbol for symbol __a_evaluation
warning: (armv7) could not find object file symbol for symbol __end_a_evaluation
warning: (armv7) could not find object file symbol for symbol __almost_empty_row
warning: (armv7) could not find object file symbol for symbol __end_row_loop
warning: (armv7) could not find object file symbol for symbol __col_loop
warning: (armv7) could not find object file symbol for symbol __b_evaluation2
warning: (armv7) could not find object file symbol for symbol __end_b_evaluation2
warning: (armv7) could not find object file symbol for symbol __a_evaluation2
warning: (armv7) could not find object file symbol for symbol __end_a_evaluation2
warning: (armv7) could not find object file symbol for symbol __end_col_loop
warning: (armv7) could not find object file symbol for symbol __end_simple_idct_arm
warning: (armv7) could not find object file symbol for symbol __end_bef_a_evaluation
warning: (armv7) could not find object file symbol for symbol _ff_simple_idct_armv6
warning: (armv7) could not find object file symbol for symbol _ff_simple_idct_add_armv6
warning: (armv7) could not find object file symbol for symbol _ff_simple_idct_put_armv6
warning: (armv7) could not find object file symbol for symbol _ff_simple_idct_put_neon
warning: (armv7) could not find object file symbol for symbol _ff_simple_idct_add_neon
warning: (armv7) could not find object file symbol for symbol _ff_simple_idct_neon

Crash when app is running in background

We're experiencing a crash when app is in background for few minutes, its frequently reproducible on iOS 8 and 9. Any pointer or help would be appreciated.

We've background mode enabled
we're using tcp transport.

Thread : Crashed: com.apple.main-thread
0  PhoneApp                  0xc86f6c belle_sip_source_uninit + 13135724
1  PhoneApp                  0xc8df59 channel_invoke_state_listener + 13164377
2  PhoneApp                  0xc8ee01 channel_inactive_timeout + 13168129
3  PhoneApp                  0xc8756f belle_sip_main_loop_iterate + 13137263
4  PhoneApp                  0xc876db belle_sip_main_loop_sleep + 13137627
5  PhoneApp                  0xc4d913 sal_iterate + 12900627
6  PhoneApp                  0xc64fd5 linphone_core_iterate + 12996565
7  PhoneApp                  0x885247 -[LinphoneManager iterate] + 8933959
8  Foundation                     0x2513b365 __NSFireTimer + 64
9  CoreFoundation                 0x2432b38f __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 14
10 CoreFoundation                 0x2432afc1 __CFRunLoopDoTimer + 936
11 CoreFoundation                 0x24328e0d __CFRunLoopRun + 1484
12 CoreFoundation                 0x2427c119 CFRunLoopRunSpecific + 520
13 CoreFoundation                 0x2427bf05 CFRunLoopRunInMode + 108
14 GraphicsServices               0x2d402ac9 GSEventRunModal + 160
15 UIKit                          0x284bef15 UIApplicationMain + 144
16 PhoneApp                  0x17d77 main (main.m:17)
17 libdyld.dylib                  0x35f95873 start + 2

UI - Dialpad oversize

Hi there, I know that this is not a high alert issue but earlier models of the iPhone with 4.7 inch displays have this issue.

When making a call the dialpad is not well placed on the screen thus make the 0 key unusable. I am not an iOS developer and would have loved to contribute if I was.

BackGroundMode

Hi guys

The Linphone code is work when background mode in simulator .We can see local push notification and received call but not working in real device . Why did not work real device?.

make command is not running

First of all, I am android developer but I am unable to create any issue in linphone android page, so I am posting my issue here.
I have installed all specified components on linphone android page but I am unable to run make command. I am working on Ubuntu 14.04 LTS.
I am getting below error after run the make command :

Missing some git submodules. Did you run 'git submodule update --init --recursive'?
Makefile:74: *** commands commence before first target. Stop.

I tried all specified solution that google gave me but didn't help me.
Please provide me some solution as soon as possible so I can run make command and setup my linphone android project.

Thank you
Aashish Sharma

Compilation Error on Xcode 7

Hi,

I try to launch Linphone for iPhone, I have download the last master branch version.
During the build process I get an error:

  1. Install Xcode 7.0 from AppStore.
  2. Install HomeBrew, a package manager for OS X.
  3. Build SDK : ./prepare.py -c && ./prepare.py && make
    An error occurred:

Guys-MacBook-Pro-2:LinPhoneiOS guykahlon$ ./prepare.py -c && ./prepare.py && make
cmake /Users/guykahlon/Developer/LinPhoneiOS/submodules/cmake-builder -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/Users/guykahlon/Developer/LinPhoneiOS/liblinphone-sdk/x86_64-apple-darwin.ios -DCMAKE_INSTALL_PREFIX=/Users/guykahlon/Developer/LinPhoneiOS/liblinphone-sdk/x86_64-apple-darwin.ios -DLINPHONE_BUILDER_WORK_DIR=/Users/guykahlon/Developer/LinPhoneiOS/WORK/ios-x86_64 -DCMAKE_TOOLCHAIN_FILE=toolchains/toolchain-ios-x86_64.cmake -DLINPHONE_BUILDER_CONFIG_FILE=configs/config-ios-x86_64.cmake -DLINPHONE_BUILDER_EXTERNAL_SOURCE_PATH=/Users/guykahlon/Developer/LinPhoneiOS/submodules -G "Unix Makefiles"
-- Using sysroot path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk
-- Using sysroot path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk
-- Found PythonInterp: /usr/bin/python (found version "2.7.10")
-- Using toolchain file '/Users/guykahlon/Developer/LinPhoneiOS/submodules/cmake-builder/toolchains/toolchain-ios-x86_64.cmake'
-- Using sysroot path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk
-- Using sysroot path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/guykahlon/Developer/LinPhoneiOS/WORK/ios-x86_64/cmake/Autotools
-- Using configuration file '/Users/guykahlon/Developer/LinPhoneiOS/submodules/cmake-builder/configs/config-ios-x86_64.cmake'
CMake Error at configs/config-ios.cmake:78 (message):
You need at least CMake version 3.3.20150815 but you are currently using
3.3.2
Call Stack (most recent call first):
configs/config-ios-x86_64.cmake:24 (include)
CMakeLists.txt:69 (include)

-- Configuring incomplete, errors occurred!
See also "/Users/guykahlon/Developer/LinPhoneiOS/WORK/ios-x86_64/cmake/CMakeFiles/CMakeOutput.log".
Guys-MacBook-Pro-2:LinPhoneiOS guykahlon$

Can you assist please?

Thanks,
Guy

Build Error With Xocde 6.2

Hi,

I try to launch Linphone for iPhone, I have download the last master branch version.
During the build process I get an error:

Install Xcode 6.4
Install HomeBrew, a package manager for OS X.
Build SDK : ./prepare.py -c && ./prepare.py && make An error occurred.

/Users/XXX/Documents/linphone-iphone/WORK/ios-x86_64/cmake/EP_vpx_configure.sh: line 32: /Users/XXX/Documents/linphone-iphone/submodules/externals/libvpx/configure: No such file or directory
make[3]: *** [/Users/XXX/Documents/linphone-iphone/WORK/ios-x86_64/Stamp/EP_vpx/EP_vpx-configure] Error 127
make[2]: *** [CMakeFiles/EP_vpx.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all-x86_64] Error 2

Then from suggestion based on this link:
http://lists.nongnu.org/archive/html/linphone-developers/2015-09/msg00029.html
I downgraded to Xcode 6.2

Build SDK : ./prepare.py -c && ./prepare.py && make
./prepare.py -c && ./prepare.py all --enable-non-free-codecs --disable-gpl-third-parties -DENABLE_VPX=OFF

Response was:
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/XXX/Documents/linphone-iphone/WORK/ios-x86_64/cmake
WARNING:



***** Linphone SDK without 3rd party GPL software *****
***** If you acquired a proprietary license from Belledonne *****
***** Communications, this SDK can be used to create *****
***** a proprietary linphone-based application. *****



Then
Open linphone.xcodeproj in Xcode: open linphone.xcodeproj

Try to Run: Thje following is the error:

pResource liblinphone-sdk/apple-darwin/share/linphone/rootca.pem /Users/XXX/Library/Developer/Xcode/DerivedData/linphone-binsaljywoiqbkgqyhcxaaicznoc/Build/Products/Debug-iphonesimulator/linphone.app/rootca.pem
cd /Users/XXX/Documents/linphone-iphone
export PATH="/Applications/Xcode6.2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:(null)/Users/XXX/.gem/ruby/2.0.0(null):(null)/Library/Ruby/Gems/2.0.0(null):(null)/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0(null):/Applications/Xcode6.2.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/XXX/Documents/linphone-iphone/liblinphone-sdk/apple-darwin/share/linphone/rootca.pem /Users/XXX/Library/Developer/Xcode/DerivedData/linphone-binsaljywoiqbkgqyhcxaaicznoc/Build/Products/Debug-iphonesimulator/linphone.app

error: /Users/XXX/Documents/linphone-iphone/liblinphone-sdk/apple-darwin/share/linphone/rootca.pem: No such file or directory

Getting a lot of decoder errors on the caller side for the first 5-10 seconds of OpenH264 video

I recently upgraded to the latest git version of linphone-iphone (f35ab9e) and noticed a significant amount of missing frames when beginning an OpenH264 video call on the caller side, sometimes 4, other times up to 10-15 seconds. I don't recall having this issue about two months ago when I last tested.

I noticed this behavior when initiating the call from a 4S or a 5S, but did not notice it when initiating the call from a 6S so maybe hardware has a part to play in it?

This is what OpenH264 is initialized with on the caller side:

I/lib/[OpenH264] this = 0x0x138d441c0, Info:CWelsH264SVCEncoder::InitEncoder(), openh264 codec version = f35ab9e+M

I/lib/[OpenH264] this = 0x0x138d441c0, Info:iUsageType = 0,iPicWidth= 480;iPicHeight= 640;iTargetBitrate= 1062100;iMaxBitrate= 1118000;iRCMode= 1;iPaddingFlag= 0;iTemporalLayerNum= 1;iSpatialLayerNum= 1;fFrameRate= 30.000000f;uiIntraPeriod= 300;eSpsPpsIdStrategy = 0;bPrefixNalAddingCtrl = 0;bSimulcastAVC=0;bEnableDenoise= 0;bEnableBackgroundDetection= 1;bEnableSceneChangeDetect = 0;bEnableAdaptiveQuant= 0;bEnableFrameSkip= 1;bEnableLongTermReference= 0;iLtrMarkPeriod= 30;iComplexityMode = 1;iNumRefFrame = 1;iEntropyCodingModeFlag = 0;uiMaxNalSize = 1240;iLTRRefNum = 0;iMultipleThreadIdc = 2;iLoopFilterDisableIdc = 0 (offset(alpha/beta): 0,0;iMaxQp = 51;iMinQp = 0)

I/lib/[OpenH264] this = 0x0x138d441c0, Info:sSpatialLayers[0]: .iVideoWidth= 480; .iVideoHeight= 640; .fFrameRate= 30.000000f; .iSpatialBitrate= 1062100; .iMaxSpatialBitrate= 1118000; .sSliceArgument.uiSliceMode= 3; .sSliceArgument.iSliceNum= 0; .sSliceArgument.uiSliceSizeConstraint= 1240;uiProfileIdc = 66;uiLevelIdc = 0

I/lib/[OpenH264] this = 0x0x138d441c0, Warning:ParamValidationExt(), slice mode = SM_SIZELIMITED_SLICE, uiSliceSizeConstraint = 1240 ,uiMaxNalsize = 1240, will take uiMaxNalsize!

I/lib/[OpenH264] this = 0x0x138d441c0, Info:WelsInitEncoderExt() exit, overall memory usage: 9003079 bytes

And then I see a lot of these in the log:

E/lib/OpenH264 decoder: DecodeFrame2 failed: 0x10
I/lib/Request sending of PLI on videostream [0x138d05630]

Eventually this:

E/lib/OpenH264 decoder: DecodeFrame2 failed: 0x24
I/lib/Request sending of PLI on videostream [0x138d05630]
E/lib/OpenH264 decoder: DecodeFrame2 failed: 0x20
I/lib/Request sending of PLI on videostream [0x138d05630]

And then finally:

I/lib/First video frame decoded successfully

Is anyone else experiencing this behavior? I can produce full logs from both sides of the convo if needed. Thanks!

Build failed with openh264 codec

Hi,

I am trying to build linphone with openh264 codec and failed with

Run command:

./prepare.py -c && ./prepare.py --enable-non-free-codecs -DENABLE_OPENH264=ON all && make

Output:

-- Installing: /Users/ios/linphone-iphone/liblinphone-sdk/x86_64-apple-darwin.ios/lib/mediastreamer/plugins/libmsilbc.a
[100%] Completed 'EP_msilbc'
[100%] Built target EP_msilbc
rm -f WORK/ios-x86_64/Stamp/EP_msopenh264/EP_msopenh264-update; \
  /Applications/Xcode.app/Contents/Developer/usr/bin/make -C WORK/ios-x86_64/cmake EP_msopenh264
Scanning dependencies of target EP_openh264
[  0%] Creating directories for 'EP_openh264'
[  1%] No download step for 'EP_openh264'
[  3%] No patch step for 'EP_openh264'
[  3%] No update step for 'EP_openh264'
[  3%] Checking for source code changes for 'EP_openh264'
[  4%] Generating /Users/ios/linphone-iphone/WORK/ios-x86_64/Build/openh264/check_changes.txt
[  4%] Performing configure step for 'EP_openh264'
[  6%] Performing build step for 'EP_openh264'
/Users/ios/linphone-iphone/submodules/externals/openh264//codec/common/x86/deblock.asm:1758: fatal: No section for index 2 offset 0 found
make[5]: *** [codec/common/x86/deblock.o] Error 1
make[4]: *** [/Users/ios/linphone-iphone/WORK/ios-x86_64/Stamp/EP_openh264/EP_openh264-build] Error 2
make[3]: *** [CMakeFiles/EP_openh264.dir/all] Error 2
make[2]: *** [CMakeFiles/EP_msopenh264.dir/rule] Error 2
make[1]: *** [EP_msopenh264] Error 2
make: *** [x86_64-build-msopenh264] Error 2

Full log here: error_log.txt

Video codecs: H.263,H.263plus - on Linphone iPhone

Hi,

How can these "Video codecs: H.263,H.263plus" be enabled on Linphone iPhone.

I was able to get H264 using below command:
./prepare.py -c && ./prepare.py --enable-non-free-codecs -DENABLE_OPENH264=ON all && make

Thanks

-DENABLE_GPL_THIRD_PARTIES=NO error

Hi,

In the master version, when executing "./prepare.py -DENABLE_GPL_THIRD_PARTIES=NO" the following error is thrown:

CMake Error at options/ms2.cmake:41 (message):
Trying to enable FFmpeg but GPL third parties not enabled
(ENABLE_GPL_THIRD_PARTIES).

I am assuming that -DENABLE_FFMPEG=NO must also be used, correct?

Thank you.

Best regards.

Getting Started Step 3

Hi Guys,
I got stucked once trying to install the prepare.py. The following error message occurs. Can you please help? :)
Happy Easter!

ERROR:root:Could not find prepare module: 'module' object has no attribute 'Target', probably missing submodules/cmake-builder? Try running: git submodule sync && git submodule update --init --recursive

Experiencing App Crashes

Please see the below log for crashes:

CRASH 1:

Crashed: com.apple.root.default-qos
SIGABRT ABORT 0x0000000196553270
raw
0 libsystem_kernel.dylib
__pthread_kill + 8
16 AddressBook
ABRecordCopyValue + 124
17

FastAddressBook.m line 216
-[FastAddressBook loadData]
18

FastAddressBook.m line 177
__25-[FastAddressBook reload]_block_invoke
19 AddressBook
__37-[ABTCC accessRequestWithCompletion:]_block_invoke + 48
25 libsystem_pthread.dylib
start_wqthread + 4


CRASH 2:

12
Crashed: com.apple.root.default-qos
SIGABRT ABORT 0x0000000196553270
raw
0 libsystem_kernel.dylib
__pthread_kill + 8
9 CoreFoundation
-[NSArray componentsJoinedByString:] + 480
10

FastAddressBook.m line 98
+[FastAddressBook normalizeSipURI:]
11

FastAddressBook.m line 202
-[FastAddressBook loadData]
12

FastAddressBook.m line 177
__25-[FastAddressBook reload]_block_invoke
13 AddressBook
__37-[ABTCC accessRequestWithCompletion:]_block_invoke + 48
19 libsystem_pthread.dylib
start_wqthread + 4


CRASH 3:

0
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x00000000636125a8
raw
0 libobjc.A.dylib
objc_msgSend + 16
3 CoreFoundation
+[NSArray arrayWithArray:] + 92
4

SettingsViewController.m line 194
-[IASKAppSettingsViewControllerEx settingsReader]
5

IASKAppSettingsViewController.m line 323
-[IASKAppSettingsViewController setHiddenKeys:animated:]
6

SettingsViewController.m line 506
-[SettingsViewController viewWillAppear:]
7 UIKit
-[UIViewController _setViewAppearState:isAnimating:] + 516
9 UIKit
-[UIView(Internal) _addSubview:positioned:relativeTo:] + 452
10

UICompositeViewController.m line 334
+[UICompositeViewController addSubView:view:]
11

UICompositeViewController.m line 581
-[UICompositeViewController update:tabBar:stateBar:fullscreen:]
12

UICompositeViewController.m line 595
-[UICompositeViewController changeView:]
13

PhoneMainView.m line 589
-[PhoneMainView _changeCurrentView:transition:force:]
14

PhoneMainView.m line 570
-[PhoneMainView changeCurrentView:push:]
15

UIMainBar.m line 446
-[UIMainBar onSettingsClick:]
16 UIKit
-[UIApplication sendAction:to:from:forEvent:] + 96
25 UIKit
UIApplicationMain + 1488
26

main.m line 24
main
27
libdyld.dylib


CRASH 4:

0
Crashed: com.apple.main-thread
SIGABRT ABORT 0x0000000196553270
raw
0 libsystem_kernel.dylib
__pthread_kill + 8
25 UIKit
-[UIView(Internal) _addSubview:positioned:relativeTo:] + 1792
26

UICompositeViewController.m line 334
+[UICompositeViewController addSubView:view:]
27

UICompositeViewController.m line 583
-[UICompositeViewController update:tabBar:stateBar:fullscreen:]
28

UICompositeViewController.m line 595
-[UICompositeViewController changeView:]
29

PhoneMainView.m line 589
-[PhoneMainView _changeCurrentView:transition:force:]
30

PhoneMainView.m line 570
-[PhoneMainView changeCurrentView:push:]
31

WizardViewController.m line 610
-[WizardViewController registrationUpdate:message:]
32

WizardViewController.m line 1030
-[WizardViewController registrationUpdateEvent:]
33 CoreFoundation
CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 20
35 Foundation
-[NSNotificationCenter postNotificationName:object:userInfo:] + 72
36

LinphoneManager.m line 864
-[LinphoneManager onRegister:cfg:state:message:]
37

linphone_core_notify_registration_state_changed + 1914220
38

linphone_proxy_config_set_state + 1885948
39

register_success + 1732516
40

belle_sip_client_transaction_notify_response + 102536
41

nict_set_completed + 76728
42

belle_sip_provider_dispatch_message + 78940
43

belle_sip_channel_process_stream + 4297519204
44

belle_sip_channel_process_data + 4297510724
45

on_udp_data + 110640
46

belle_sip_main_loop_iterate + 4297476556
47

belle_sip_main_loop_sleep + 4297477036
48

sal_iterate + 1679980
49

linphone_core_iterate + 1815020
50

LinphoneManager.m line 1367
-[LinphoneManager iterate]
51 Foundation
__NSFireTimer + 92
57 UIKit
UIApplicationMain + 1488
58

main.m line 24
main
59
libdyld.dylib
start + 4

Issue while creating a new Message.

Following code in class ChatRoomViewController.m

LinphoneChatMessage *msg = linphone_chat_room_create_message(chatRoom, [message UTF8String]);

//Below line added by me
BOOL outgoing = linphone_chat_message_is_outgoing(msg);
Bool value comes to be FALSE.

It should be true instead, as the message has been created.

Therefore while sending a message from Linphone app, there is a certain jump of cell for message sent.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.