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

Failed to DESCRIBE: liveMedia0 #664

Open
gOODiDEA2002 opened this issue Feb 6, 2024 · 11 comments
Open

Failed to DESCRIBE: liveMedia0 #664

gOODiDEA2002 opened this issue Feb 6, 2024 · 11 comments

Comments

@gOODiDEA2002
Copy link

Describe the bug
docker can't render rtsp video, Failed to DESCRIBE: liveMedia0

To Reproduce
1、config.json

{
"urls":{
"cam01" : { "video": "rtsp://Admin:[email protected]:554/Streaming/Channels/101"}
}
}

2、docker

docker run -p 8000:8000 -v $PWD/config.json:/app/config.json mpromonet/webrtc-streamer

3、http://127.0.0.1:8000/
The video playback window remains black

Expected behavior
The video window displays the video normally

Screenshots
Screenshot

@mpromonet
Copy link
Owner

Hi,

You may get more information increasing log level.

Best Regards,
Michel.

@gOODiDEA2002
Copy link
Author

vlc displays the rtsp video normally

1707268476895

@mpromonet
Copy link
Owner

Hi,

Increasing the log level may help you.

Best Regards,
Michel.

@gOODiDEA2002
Copy link
Author

how to modify the log level?

@XiezhDev
Copy link

how to modify the log level?

To modify the log level of WebRTC-Streamer, you can use the -v option when running the application. This option controls the verbosity of the logs:

-v for verbose logging
-vv for more verbose logging
-vvv for even more verbose logging

@lianglll
Copy link

I have also encountered such problems, how to solve them?

@mpromonet
Copy link
Owner

Hi,
Did you try to add --net host ?
Best Regards
Michel

@xiaoyf-hub
Copy link

I have also encountered such problems, how to solve them?

@mpromonet
Copy link
Owner

Hi @xiaoyf-hub

Which one ?

Best Regards
Michel

@xiaoyf-hub
Copy link

Hi, this is my log, but I'm not sure what the problem is

Failed to DESCRIBE: liveMedia0
[011:117][16228] (rtspvideocapturer.cpp:29): RTSPVideoCapturer:onError url:rtsp://admin:[email protected]:554/00 error:liveMedia0
Created new TCP socket 1500 for connection
Connecting to 172.16.18.151, port 554 on socket 1500...
...remote connection opened
Sending request: DESCRIBE rtsp://admin:[email protected]:554/00 RTSP/1.0
CSeq: 2
User-Agent: LIVE555 Streaming Media v2024.08.01
Accept: application/sdp

@mpromonet
Copy link
Owner

mpromonet commented Jan 19, 2025

Hi @xiaoyf-hub

This means sending RTSP DESCRIBE get an error. With authentication, you should have a first answer

RTSP/1.0 401 Unauthorized

and then

Resending...

with user & password

I just tried with Basic & Digest authentication, both seems working with same user & password you tried.

Best Regards,
Michel.

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

No branches or pull requests

5 participants