atyenoria / janus-webrtc-gateway-docker

Perfect Docker Image for Media Streaming Expert User ( https://github.com/meetecho/janus-gateway )
688 stars 200 forks source link

libcurl >= 7.45.0 needed for rtsp #7

Closed Bhlowe closed 1 year ago

Bhlowe commented 6 years ago

If you can, could you upgrade libcurl to >=7.45 ?

for the janus_streaming.c plugin, I get the following error: JANUS_LOG(LOG_WARN, "RTSP digest authentication unsupported (needs libcurl >= 7.45.0)\n");

Thank you for the best janus docker.

atyenoria commented 6 years ago

@Bhlowe Okay, I will do that. Thank you for the feedback!

vovapolu commented 5 years ago

Any progress on that issue? I have the same error and I need proper authentication provided by libcurl

atyenoria commented 5 years ago

How can I reproduce it?

vovapolu commented 5 years ago

@atyenoria I'm not sure that you can easily reproduce this issue. I can describe my case.

I'm using streaming plugin with a IP-camera that requires authorization. My config for streaming plugin looks like this:

camera1: {
    type = "rtsp"
    id = 1
    description = "Camera1"
    audio = false
    video = true
    videopt = 126
    videortpmap = "H264/90000"
    videofmtp = "profile-level-id=42e01f;packetization-mode=1"
    url = "rtsp://<camera-ip>:554/"
    rtsp_user = "admin"
    rtsp_pwd = "password"
}

With this config your container can't authenticate to the camera, because of the old version of libcurl.

I've already fixed this issue for me building docker container on debian stretch instead of jessie as in your container. Debian stretch has newer version of libcurl. But I have completely rewritten docker image using instructions from the main repo https://github.com/meetecho/janus-gateway because I couldn't make all your additional dependencies work for stretch (probably I don't need them at all, I need only streaming plugin).

Classsic commented 5 years ago

@vovapolu can you share your Dockerfile? I get the same issue.

vovapolu commented 5 years ago

@Classsic Yeah, sure. https://gist.github.com/vovapolu/fcbb70d3c94d2618901449e518f43aaf I've disabled all the plugins except streaming and haven't optimized size of the container yet. It copies janus configuration files from conf dir and web-interface files from camera-streams dir.

Classsic commented 5 years ago

Great, I will testit and give a feedback. Thanks.