mpromonet / webrtc-streamer

WebRTC streamer for V4L2 capture devices, RTSP sources and Screen Capture
https://webrtcstreamer.agreeabletree-365b9a90.canadacentral.azurecontainerapps.io/?layout=2x2
The Unlicense
3.02k stars 607 forks source link

Failed to DESCRIBE: liveMedia0 #664

Open gOODiDEA2002 opened 9 months ago

gOODiDEA2002 commented 9 months ago

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

To Reproduce 1、config.json

{ "urls":{
"cam01" : { "video": "rtsp://Admin:A1234567@192.168.200.5: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 commented 9 months ago

Hi,

You may get more information increasing log level.

Best Regards, Michel.

gOODiDEA2002 commented 9 months ago

vlc displays the rtsp video normally

1707268476895

mpromonet commented 9 months ago

Hi,

Increasing the log level may help you.

Best Regards, Michel.

gOODiDEA2002 commented 9 months ago

how to modify the log level?

XiezhDev commented 5 months ago

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 commented 5 months ago

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

mpromonet commented 5 months ago

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