Hi,
I am trying to build pjsip (pjproject-2.2.1) with video support on a
Raspbian (Debian Wheezy) Linux Raspberry PI platform, but "make dep"
ends with errors
I have already built pjsip library without video support and I have
successfully developed a little sip application with audio, but now I
need to send video to remote ua (Linphone). I don't need to get video
from remote ua, I just need to send video to it.
Did anyone succeed in building pjproject-2.2.1 with video support on
Raspberry PI and using Raspberry PI camera board to stream video with
pjsip/pjmedia?
I have addedd
#define PJMEDIA_HAS_VIDEO 1
in
pjproject-2.2.1/pjlib/include/pj/config_site.h
and I have installed SDL2
"make dep" ends with:
....
make[2]: Entering directory /home/raspi/build/pjproject-2.2.1/pjlib/build' .pjlib-test-armv6l-unknown-linux-gnueabihf.depend:1: *** missing separator. Stop. make[2]: Leaving directory /home/raspi/build/pjproject-2.2.1/pjlib/build'
make[1]: *** [depend] Error 2
make[1]: Leaving directory `/home/raspi/build/pjproject-2.2.1/pjlib/build'
make: *** [dep] Error 1
Thank you in advance for any suggestion
Best regards
Silvio
On Fri, Apr 25, 2014 at 12:41 PM, SL pj@lugato.it wrote:
Did anyone succeed in building pjproject-2.2.1 with video support on
Raspberry PI and using Raspberry PI camera board to stream video with
pjsip/pjmedia?
Have you read this?
http://trac.pjsip.org/repos/wiki/Getting-Started/Autoconf#VideoSupportfor2.0andabove
I have built pjsip succesfully on cubieboard but I had to dowload and
compile my own ffmpeg, matching the suggested branch on the link
above, ffmpeg 1.x (I'm using the 1.2.6 release). At first I tried to
build pjsip using the ffmpeg version available as package for my
operating system, which is newer than 1.x, but it didn't work.
Also, you need v4l2 libraries at least, these I installed from the
package available in my OS.
I have addedd
#define PJMEDIA_HAS_VIDEO 1
in
pjproject-2.2.1/pjlib/include/pj/config_site.h
and I have installed SDL2
"make dep" ends with:
....
make[2]: Entering directory /home/raspi/build/pjproject-2.2.1/pjlib/build' .pjlib-test-armv6l-unknown-linux-gnueabihf.depend:1: *** missing separator. Stop. make[2]: Leaving directory /home/raspi/build/pjproject-2.2.1/pjlib/build'
make[1]: *** [depend] Error 2
make[1]: Leaving directory `/home/raspi/build/pjproject-2.2.1/pjlib/build'
make: *** [dep] Error 1
Thank you in advance for any suggestion
Best regards
Silvio
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Saludos
Ernesto Celis de la Fuente
http://expressit.celisdelafuente.net
I have finally solved the problem to build pjsip 2.2.1 with video
support, by issuing:
make distclean
before issuing
./configure
make dep
make
make install
Now pjsip 2.2.1 with video support (set by #define PJMEDIA_HAS_VIDEO in
pjlib/include/pj/config_site.h) compiles correctly on my Rasperry.
I hope that this could be an useful suggestion to everyone that could
find problems in pjsip compilation ;)
Best regards
Silvio
Are you able to use the static libraries provided by the build in a C/C++
project? I am experiencing some issues with this and can't seem to solve the
problem.