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.03k stars 609 forks source link

Failed to DESCRIBE: URL does not begin with #646

Open zhaozhenshun opened 1 year ago

zhaozhenshun commented 1 year ago

docker run laster version. report this question. but this address is ok

Failed to DESCRIBE: URL does not begin with "rtsp://" or "rtsps://" [1019:776][167] (rtspvideocapturer.cpp:29): RTSPVideoCapturer:onError url:rtsp://97.68.104.34/axis-media/media.amp error:URL does not begin with "rtsp://" or "rtsps://"

system 3751700824044_ pic 2851700814444_ pic

mpromonet commented 1 year ago

Hi,

I just try with latest version it seems to works well: mpromonet/webrtc-streamer latest d4b12ad570d6 8 days ago 267MB Best Regards, Michel.

hk1993 commented 1 year ago

pull latest look the same size version info mpromonet/webrtc-streamer latest d4b12ad570d6 10 days ago 267MB

all log is.........................................................

Version:v0.8.4-15-gd4a5051/Linux-x86_64 civetweb@v1.16 webrtc@35d3656-dirty live555helper@0e74999 { "urls" : { "Allendale" : { "position" : "42.972250,-85.953650", "video" : "rtsp://71.83.5.156/axis-media/media.amp" }, "Asahi" : { "position" : "35.717000,140.650000", "video" : "rtsp://211.132.61.124/axis-media/media.amp" }, "Bayonne" : { "position" : "43.483330,-1.483330", "video" : "rtsp://193.142.128.20/axis-media/media.amp" }, "Bedford Hills" : { "video" : "rtsp://73.114.177.111/axis-media/media.amp" }, "BigSky" : { "position" : "45.284650,-111.368290", "video" : "rtsp://76.75.8.120/axis-media/media.amp" }, "Great Falls" : { "position" : "47.551039,-111.539400", "video" : "rtsp://76.75.8.116/axis-media/media.amp" }, "Mendoza" : { "position" : "-32.890840,-68.827170", "video" : "rtsp://190.113.172.8/" }, "Montana" : { "video" : "rtsp://64.187.201.16/axis-media/media.amp" }, "Nordland" : { "position" : "67.280000,14.405010", "video" : "rtsp://77.110.228.219/axis-media/media.amp" }, "Norwich" : { "video" : "rtsp://37.157.51.30/axis-media/media.amp" }, "Orlando" : { "position" : "28.538340,-81.379240", "video" : "rtsp://97.68.104.34/axis-media/media.amp" }, "Pocapaglia" : { "video" : "rtsp://176.65.94.105/axis-media/media.amp" }, "PriceCenterPlaza" : { "video" : "rtsp://132.239.12.145/axis-media/media.amp" }, "Test" : { "video" : "rtsp://demo:demo@ipvmdemo.dyndns.org:5541/onvif-media/media.amp?sessiontimeout=60&streamtype=unicast" }, "Vaison-La-Romaine" : { "position" : "44.238960,5.074610", "video" : "rtsp://176.139.87.16/axis-media/media.amp" }, "Vancouver" : { "position" : "49.249660,-123.119340", "video" : "rtsp://174.6.126.86/axis-media/media.amp" }, "VyhladJazero" : { "video" : "rtsp://stream.strba.sk:1935/strba/VYHLAD_JAZERO.stream" }, "Waterford" : { "position" : "52.258330,-7.111940", "video" : "rtsp://86.44.41.160/axis-media/media.amp" }, "Wershofen" : { "position" : "50.444820,6.813330", "video" : "rtsp://80.90.151.112/axis-media/media.amp" }, "Western Cape" : { "position" : "-33.925840,18.423220", "video" : "rtsp://196.21.92.82/axis-media/media.amp" }, "Zeeland" : { "position" : "51.5,3.613890", "video" : "rtsp://213.34.225.97/axis-media/media.amp" }, "rtmp" : { "video" : "rtmp://171.25.232.10/12d525bc9f014e209c1280bc0d46a87e" } } }Logger level:4 Failed to create secure directory (/home/user/.config/pulse): No such file or directory HTTP Listen at 0.0.0.0:8000 Failed to DESCRIBE: URL does not begin with "rtsp://" or "rtsps://" Failed to DESCRIBE: URL does not begin with "rtsp://" or "rtsps://" Failed to DESCRIBE: URL does not begin with "rtsp://" or "rtsps://

mpromonet commented 1 year ago

Hi,

What webrtc stream are you trying to call ? Probably increasing log level will help you.

Best Regards Michel

hk1993 commented 1 year ago

1.use this to run docker run -e "LOG_LEVEL=debug" -itd -p 28000:8000 --name webrtc-streamer mpromonet/webrtc-streamer bug log is same up 2.click demo buttons for webrtc stream trying, then log show "Failed to DESCRIBE: URL does not begin with "rtsp://" or "rtsps://"" demo buttons like "Allendale"、"Asahi"....

mpromonet commented 1 year ago

Hi,

Using docker it is usually better to use --net=host, ice candidate fails without. but this is after openning rtsp conenction. Using tools like tshark, tcpdump or strace could help you to localize the issue.

Best Regards, Michel.