mrlt8 / docker-wyze-bridge

WebRTC/RTSP/RTMP/LL-HLS bridge for Wyze cams in a docker container
GNU Affero General Public License v3.0
2.62k stars 162 forks source link

RTSP Feeds not working?? #988

Open JGonzo10 opened 1 year ago

JGonzo10 commented 1 year ago

I'm trying to use the RTSP feeds for Scrypted or HomeBridge and cannot pull up a feed with the RTSP link that is provided. I can generate a RTSP jpeg but not a video feed. Anyone else running into this issue? How can I resolve this?

mrlt8 commented 1 year ago

I'm using some RTSP feeds in scrypted without any issue. Can you confirm the RTSP address and stream are working in a media player like VLC?

gsarrica commented 1 year ago

@mrlt8 I have the same issue using the home assistant addon. Note: This is the first time I have tried the addon.

I have tried testing in VLC. I have also tried the IP address instead of the homeassistant dns and have the same results.

Home Assistant version: 2023.9.1

Connection failed: VLC could not connect to "homeassistant.local:8554". Your input can't be opened: VLC is unable to open the MRL 'rtsp://homeassistant.local:8554/testcam'. Check the log for details.

From the VLC logs: [0000015ef3914710] live555 demux error: Failed to connect with rtsp://homeassistant.local:8554/testcam [0000015ef39bb510] main stream error: connection failed: Connection refused by peer [0000015ef39bb510] main stream error: connection failed: Connection refused by peer [0000015ef39bb510] main stream error: connection failed: Connection refused by peer [0000015ef39bb510] main stream error: connection failed: Connection refused by peer [0000015ef39bb510] satip stream error: Failed to connect to RTSP server homeassistant.local:8554 [0000015ef39bb510] main stream error: connection failed: Connection refused by peer [0000015ef39bb510] main stream error: connection failed: Connection refused by peer [0000015ef39bb510] main stream error: connection failed: Connection refused by peer [0000015ef39bb510] main stream error: connection failed: Connection refused by peer [0000015ef39bb510] access_realrtsp stream error: cannot connect to homeassistant.local:8554

gsarrica commented 1 year ago

I found the issue.

The port does not update in the RTSP link.

The configuration was set to 8552 but yet the link from the UI still gives you 8554. Maybe it is hardcoded and not read from the configuration.

mrlt8 commented 1 year ago

We can't read the port information from inside the container, so you will have to manually specify it: https://github.com/mrlt8/docker-wyze-bridge/wiki/WebUI#custom-ports