davideesse
Posts: 11
Joined: Sun Feb 24, 2019 8:31 am

problem with linphone

Sun Feb 24, 2019 8:34 am

Hi everybody.
i've a fresh raspbian on raspberry. i've Install build dependencies from raspbian repositories, Clone the linphone-desktop git repository, Setup compilation options and i proceed with the compilation. everything would seem ok but when i prompt ./linphonec
i have this issues:
``
2019-02-23 23:45:05:397 mediastreamer-error-Connection to the pulseaudio server failed

2019-02-23 23:45:05:432 liblinphone-fatal-Unable to open linphone database.
Aborted
``

i ve also create a new directory named linphone on /home/pi/.local/share

what i ve to do for fix ?

thank you

eutampieri
Posts: 19
Joined: Tue Dec 08, 2015 7:40 pm

Re: problem with linphone

Mon Feb 25, 2019 8:47 am

Is pulseaudio installed?
Try sudo apt install pulseaudio and reboot.

davideesse
Posts: 11
Joined: Sun Feb 24, 2019 8:31 am

Re: problem with linphone

Mon Feb 25, 2019 9:22 pm

yes, i ve istalled pulseaudio, but i have the same reply:

Code: Select all

root@raspberrypi:/home/pi/linphone-desktop/OUTPUT/no-ui/bin# ./linphonec
2019-02-25 20:52:32:674 mediastreamer-error-Connection to the pulseaudio server failed
2019-02-25 20:52:33:014 liblinphone-fatal-Unable to open linphone database.
Aborted
i have a fresh raspbian and i ve follow the wiki from "Compiling linphone on the rasberry pi" but i have error.

brandoncheah
Posts: 31
Joined: Thu Sep 27, 2018 9:52 am

Re: problem with linphone

Tue Feb 26, 2019 3:59 am

Go to your /home/pi folder and show hidden files, then copy "linphone.db" file and paste into /home/pi/.local/share/linphone

davideesse
Posts: 11
Joined: Sun Feb 24, 2019 8:31 am

Re: problem with linphone

Tue Feb 26, 2019 6:10 pm

i don't have linphone.db in my home/pi folder i had use the command ls -al . i've search the file and i found on ./home/pi/linphone-desktop/linphone-sdk/linphone/tester/db/linphone.db

i copy the file into /home/pi/.local/share/linphone but the same reply:

Code: Select all

root@raspberrypi:/home/pi/linphone-desktop/OUTPUT/no-ui/bin# ./linphonec
2019-02-26 18:02:58:491 mediastreamer-error-Connection to the pulseaudio server failed
2019-02-26 18:02:58:830 liblinphone-fatal-Unable to open linphone database.
Aborted

davideesse
Posts: 11
Joined: Sun Feb 24, 2019 8:31 am

Re: problem with linphone

Wed Mar 06, 2019 6:07 pm

hi everybody .
i m not able to run linphone on raspberry yet.
i follow the wiki guide and i do this steps:
on a fresh installation through ssh:

echo ipv6 >> /etc/modules
reboot
sudo apt-get install cmake automake autoconf libtool intltool yasm libasound2-dev libpulse-dev libv4l-dev nasm git libglew-dev
git clone git://git.linphone.org/linphone-desktop.git --recursive
cd linphone-desktop
./prepare.py no-ui -DENABLE_OPENH264=ON -DENABLE_WEBRTC_AEC=OFF -DENABLE_UNIT_TESTS=OFF -DENABLE_MKV=OFF -DENABLE_FFMPEG=ON -DENABLE_CXX_WRAPPER=OFF -DENABLE_NON_FREE_CODECS=ON -DENABLE_VCARD=OFF -DENABLE_BV16=OFF -DENABLE_V4L=OFF
make -j4

delete the WORk directory

and finally
root@raspberrypi:/home/pi/linphone-desktop/OUTPUT/no-ui/bin# ./linphonec
2019-03-06 17:51:58:980 mediastreamer-error-Connection to the pulseaudio server failed
2019-03-06 17:51:59:017 liblinphone-fatal-Unable to open linphone database.
Aborted

Someone can help me please?
i don't konw what is wrong.

thank

bram68
Posts: 2
Joined: Wed Mar 13, 2019 12:11 pm

Re: problem with linphone

Thu Mar 14, 2019 1:26 pm

I start linphone without pulsaudio. But it was very unstable, after receiving the call it crash after 5 seconds.
How do you want to use linphone? For video chat it is good to use WebRTC in Cromium. For simple access to the camera - start the video streaming.

Return to “Advanced users”