[Streaming Plugin / Issue with RTSP on Pi] : Complaining libcurl support not compiled

673 views
Skip to first unread message

Gwen Kergroach

unread,
Oct 31, 2015, 5:13:07 AM10/31/15
to meetecho-janus
Dear all,

I'm currenlty setting-up a configuration where my Rasp Pi board is relaying a RTSP stream coming either from an IP camera or a external video streamer. The flows are encoded in H264 baseline profile in VGA and are readable using vlc.

The issue, I'm encountering is popping out when modifiying the "streaming.plugin" file with the RTSP entry. When launching the Janus-Gateway, it comes out with an error regarding the RTSP entry as below :

Does anyone encountered the same issue ?

[rtsp-test]

type = rtsp

id = 99

description = RTSP Test

audio = no

video = yes

url=rtsp://192.168.1.34:8004/live/dvd.sdp

 

Hereafter, the logs when starting the janus-gateway

 

sudo bash /home/pi/janus_launcher_public.sh

---------------------------------------------------

  Starting Meetecho Janus (WebRTC Gateway) v0.0.9

---------------------------------------------------

 

Reading configuration from /opt/janus/etc/janus//janus.cfg

Checking command line arguments...

Debug/log level is 4

Debug/log timestamps are disabled

Adding 'vmnet' to the ICE ignore list...

Using 192.168.1.30 as local IP...

Initializing ICE stuff (Full mode, ICE-TCP candidates disabled, IPv6 support disabled)

Using 2.11.175.60 as our public IP in SDP

ICE handles watchdog started

Fingerprint of our certificate: D2:B9:31:8F:DF:24:D8:0E:ED:D2:EF:25:9E:AF:6F:B8:34:AE:53:9C:E6:F3:8F:F2:64:15:FA:E8:7F:53:2D:38

Plugins folder: /opt/janus/lib/janus/plugins

Loading plugin 'libjanus_sip.so'...

JANUS SIP plugin initialized!

SIP watchdog started

Loading plugin 'libjanus_videocall.so'...

JANUS VideoCall plugin initialized!

VideoCall watchdog started

Loading plugin 'libjanus_recordplay.so'...

JANUS Record&Play plugin initialized!

Record&Play watchdog started

Loading plugin 'libjanus_audiobridge.so'...

AudioBridge watchdog started

JANUS AudioBridge plugin initialized!

Loading plugin 'libjanus_streaming.so'...

[ERR] [plugins/janus_streaming.c:janus_streaming_init:542] Can't add 'rtsp' stream 'rtsp-test', libcurl support not compiled...

JANUS Streaming plugin initialized!

Streaming watchdog started

Loading plugin 'libjanus_echotest.so'...

JANUS EchoTest plugin initialized!

EchoTest watchdog started

Loading plugin 'libjanus_videoroom.so'...

JANUS VideoRoom plugin initialized!

VideoRoom watchdog started

Loading plugin 'libjanus_voicemail.so'...

JANUS VoiceMail plugin initialized!

VoiceMail watchdog started

[FATAL] [janus.c:main:4590] Couldn't start webserver on port 8088...

Loading plugin 'libjanus_streaming.so'...

 [ERR] [plugins/janus_streaming.c:janus_streaming_init:542] Can't add 'rtsp' stream 'rtsp-test', libcurl support not compiled...

JANUS Streaming plugin initialized!


I did install

sudo apt-get install subversion

o    $svn co http://sctp-refimpl.googlecode.com/svn/trunk/KERN/usrsctp usrsctp

o    $cd usrsctp

o    $./bootstrap

o    $./configure --prefix=/usr && make && sudo make install


and I have recompiled the janus-gateway :

·         $ cd janus-gateway

·         $ sh autogen.sh

·         $ ./configure --disable-websockets  --disable-rabbitmq --disable-docs  --prefix=/opt/janus

·         $ sudo make

·         $ sudo make install

The issue remains.

Thanks for your help
Regards
GWENAEL

Lorenzo Miniero

unread,
Oct 31, 2015, 5:16:49 AM10/31/15
to meetecho-janus
The error message is quite explicit: you don't have libcurl development libraries installed. RTSP support needs that and so it can't do what you want. Install libcurl-dev(el) and do a new configure/make/make install round in Janus.

L.
...

Gwen Kergroach

unread,
Nov 2, 2015, 4:20:31 PM11/2/15
to meetecho-janus
Hye there,

Even so the error message is explicit, I suspect an issue with ARM as the following libcurl librairies are installed on my Pi board :

ii  libcurl3:armhf                        7.26.0-1+wheezy13                       armhf        easy-to-use client-side URL transfer library (OpenSSL flavour)
ii  libcurl3-gnutls:armhf                 7.26.0-1+wheezy13                       armhf        easy-to-use client-side URL transfer library (GnuTLS flavour)
ii  libcurl3-nss:armhf                    7.26.0-1+wheezy13                       armhf        easy-to-use client-side URL transfer library (NSS flavour)
ii  libcurl4-openssl-dev                  7.26.0-1+wheezy13                       armhf        development files and documentation for libcurl (OpenSSL flavour)

I did several retries, but the error message is still popping up when launching the janus gateway.

Is there anybody else who faced a similar problem when activating rtsp ?

Regards
Gwen K.

Lorenzo Miniero

unread,
Nov 2, 2015, 6:33:45 PM11/2/15
to meetecho-janus
You need the development (headers) version of libcurl, I guess those are only the runtime libraries.

L.

Lorenzo Miniero

unread,
Nov 2, 2015, 6:34:26 PM11/2/15
to meetecho-janus
Whops, sorry, missed the libcurl4-openssl-dev there. If it's installed, not sure what else to suggest.

L.

Bala Krishna

unread,
Dec 7, 2017, 11:34:46 AM12/7/17
to meetecho-janus
Is this error resolved? If yes, how?
Reply all
Reply to author
Forward
0 new messages