ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #20824
Re: sip softphone
El día Saturday, May 28, 2016 a las 04:49:28PM +0200, Reiner Klenk escribió:
> >
> >
> >
> > The essential step before is get to know how to access the audio device
> > from such an application. Video would perhaps be a no-go because there is
> > some
> > driver for X11, but not for Mir. Or maybe a libertine container could be
> > used. This is all to investigate and once I could have made a SIP call
> > from within the chrooted env, building a click is no big issues.
> >
> > Someone from Canonical could say something about how to access audio
> > devices? In FreeBSD you would use devices like /dev/dsp0.0 ...
> >
> You should probably use pulseaudio. The pulseaudio devices are visible in
> a chroot if you mount a couple of directories from the host. I am running a
> mate-session in a chroot and sound works without further configuration.
> Unfortunately, baresip doesn't appear to have pulseaudio drivers. However,
> it does include alsa drivers and these should be able to talk to
> pulseaudio.
I can even launch it from outside the chroot with:
$ cat baresip.sh
#!/bin/sh
LD_LIBRARY_PATH=/home/phablet/myRoot/usr/local/lib:/home/phablet/myRoot/usr/local/lib/baresip/modules
export LD_LIBRARY_PATH
/home/phablet/myRoot/usr/local/bin/baresip
and having the module path as well configured in baresip's config file
as:
$ fgrep myR .baresip/config
module_path /home/phablet/myRoot/usr/local/lib/baresip/modules
it starts fine;
will see how I can figure out the access to audio...
Thanks
matthias
--
Matthias Apitz, ✉ guru@xxxxxxxxxxx, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045
"Die Verkaufsschlager des Buchmarkts geben Auskunft über den Zustand einer Gesellschaft bzw.
sind, was diese Zeiten angeht, Gradmesser fortschreitenden Schwachsinns. ..." (jW 19.05.2016)
References