Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you add libcurl >= 7.45.0 #6

Open
Bhlowe opened this issue Nov 7, 2017 · 4 comments
Open

Can you add libcurl >= 7.45.0 #6

Bhlowe opened this issue Nov 7, 2017 · 4 comments

Comments

@Bhlowe
Copy link

Bhlowe commented Nov 7, 2017

Hi Brendan,

The streaming plugin requires libcurl >7.45.0 for RTSP connections. I see the following error.

Getting [WARN] RTSP digest authentication unsupported (needs libcurl >= 7.45.0)

I can pipe the rtsp to ffmpeg and use RTP.. but would like to use rtsp direct.

EDIT 2: This will build, but it didn't update curl like I wanted..

&& printf "\ndeb-src http://deb.debian.org/debian jessie main\ndeb-src http://deb.debian.org/debian jessie-updates main\n"  >> /etc/apt/sources.list \
&& cat /etc/apt/sources.list && echo "starting update..." \
&& DEBIAN_FRONTEND=noninteractive apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get -y build-dep curl \
&&  DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends wget \
&& mkdir ~/curl \
&& cd ~/curl \
&& wget http://curl.haxx.se/download/curl-7.50.2.tar.bz2 \
&& tar -xvjf curl-7.50.2.tar.bz2 \
&& cd curl-7.50.2 \
&& ./configure \
&& make \
&& make install \
&& ldconfig \
&& cd .. \

@krull
Copy link
Owner

krull commented Nov 7, 2017

Hey Thanks for this.

I will add this sometime soon.

Thanks again.

@krull
Copy link
Owner

krull commented Dec 5, 2017

Hi @Bhlowe just an update, the stretch build I have has:

Setting up libcurl3:amd64 (7.52.1-5+deb9u3) ...

FYI. You can check this out at this branch.

YMMV

krull.

@Bhlowe
Copy link
Author

Bhlowe commented Dec 6, 2017

Cool. Thanks. I also found it important to upgrade libmicrohttpd... I was getting crashes with the default one. (meetecho/janus-gateway#212)

cd /tmp

wget http://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.16.tar
tar -xvzf libmicrohttpd-0.9.16.tar.gz
rm -f libmicrohttpd-0.9.16.tar.gz
cd libmicrohttpd-0.9.16
./configure
make
make install
ldconfig

@krull
Copy link
Owner

krull commented Dec 8, 2017

@Bhlowe, I don't know if it still hold true, but https is still a cpu hog from a bug on libmicrohttpd, hence it wasn't recommended to go directly to libmicrohttpd via https. You can find more info here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants