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.65k stars 168 forks source link

"The media could not be loaded, either because the server or network failed or because the format is not supported." #520

Open bobloadmire opened 2 years ago

bobloadmire commented 2 years ago

I'm not sure whats wrong with my setup. It should be working fine according to the docs, but I've no idea why i'm getting these 404,304,200 errors. I just updated one of the cams to the latest firmware to make sure, same error.

2022/08/20 19:15:33 [Sissy's Room] WARNING: Audio pipe closed 2022/08/20 19:15:34 [Sissy's Room] FFMPEG stopped 2022/08/20 19:15:34 [WyzeBridge] [ON-DEMAND] ⌛️ WyzeCam V3 - sissys-room on 192.168.0.66 (1/3) 2022/08/20 19:15:35 [WyzeBridge] [ON-DEMAND] ⌛️ WyzeCam V3 - driveway on 192.168.0.63 (1/3) 2022/08/20 19:15:41 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:41] "GET /img/side-yard.jpg HTTP/1.1" 404 - 2022/08/20 19:15:41 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:41] "GET /img/downstairs-patio.jpg HTTP/1.1" 304 - 2022/08/20 19:15:41 [WyzeBridge] 127.0.0.1 - - [20/Aug/2022 19:15:41] "GET /events/start/hot-tub HTTP/0.9" 200 - 2022/08/20 19:15:45 [Hot Tub] 📡 Getting 120kb/s HD stream (20fps) via LAN mode (WiFi: 86%) FW: 4.61.0.3 (2/3) 2022/08/20 19:15:45 [Hot Tub] 🔊 Audio Enabled - ALAW > COPY/16,000Hz 2022/08/20 19:15:45 [Hot Tub] WARNING: Skipping smaller frame at start of stream (frame_size=1) 2022/08/20 19:15:45 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:45] "GET /img/lincs-room.jpg HTTP/1.1" 404 - 2022/08/20 19:15:45 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:45] "GET /img/bonus-room.jpg HTTP/1.1" 404 - 2022/08/20 19:15:45 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:45] "GET /img/sissys-room.jpg HTTP/1.1" 304 - 2022/08/20 19:15:45 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:45] "GET /img/loading.svg HTTP/1.1" 404 - 2022/08/20 19:15:45 [WyzeBridge] 127.0.0.1 - - [20/Aug/2022 19:15:45] "GET /events/start/side-yard HTTP/0.9" 200 - 2022/08/20 19:15:45 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:45] "GET /img/downstairs-patio.jpg HTTP/1.1" 304 - 2022/08/20 19:15:45 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:45] "GET /img/loading.svg HTTP/1.1" 404 - 2022/08/20 19:15:45 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:45] "GET /img/loading.svg HTTP/1.1" 404 - 2022/08/20 19:15:45 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:45] "GET /img/loading.svg HTTP/1.1" 404 - 2022/08/20 19:15:45 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:45] "GET /img/loading.svg HTTP/1.1" 404 - 2022/08/20 19:15:45 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:45] "GET /img/pan.jpg HTTP/1.1" 404 - 2022/08/20 19:15:45 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:45] "GET /img/loading.svg HTTP/1.1" 404 - 2022/08/20 19:15:46 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:46] "GET /img/loading.svg HTTP/1.1" 404 - 2022/08/20 19:15:46 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:46] "GET /img/loading.svg HTTP/1.1" 404 - 2022/08/20 19:15:46 [WyzeBridge] 127.0.0.1 - - [20/Aug/2022 19:15:46] "GET /events/start/lincs-room HTTP/0.9" 200 - 2022/08/20 19:15:47 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:47] "GET /img/hot-tub.jpg HTTP/1.1" 404 - 2022/08/20 19:15:47 [RTSP][HOT-TUB] ✅ '/hot-tub' stream is UP! (3/3) 2022/08/20 19:15:47 [WyzeBridge] 127.0.0.1 - - [20/Aug/2022 19:15:47] "GET /events/start/bonus-room HTTP/0.9" 200 - 2022/08/20 19:15:47 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:47] "GET /img/kitchen-cam.jpg HTTP/1.1" 404 - 2022/08/20 19:15:47 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:47] "GET /img/sissys-room.jpg HTTP/1.1" 304 - 2022/08/20 19:15:47 [WyzeBridge] 127.0.0.1 - - [20/Aug/2022 19:15:47] "GET /events/start/pan HTTP/0.9" 200 - 2022/08/20 19:15:47 [Linc's Room] IOTC_ER_DEVICE_OFFLINE 2022/08/20 19:15:47 [Side Yard] Camera is checking enr, can't auth. 2022/08/20 19:15:48 [WyzeBridge] 👻 lincs-room offline. WILL retry in 10s. 2022/08/20 19:15:48 [Side Yard] 'NoneType' object has no attribute 'encode' 2022/08/20 19:15:49 [WyzeBridge] [ON-DEMAND] ⌛️ WyzeCam V3 - side-yard on 192.168.0.64 (1/3) 2022/08/20 19:15:49 [Pan] IOTC_ER_DEVICE_OFFLINE 2022/08/20 19:15:49 [Bonus Room] 📡 Getting 120kb/s HD stream (15fps) via LAN mode (WiFi: 97%) FW: 4.28.4.49 (2/3) 2022/08/20 19:15:49 [Bonus Room] 🔊 Audio Enabled - PCM > COPY/8,000Hz 2022/08/20 19:15:49 [Bonus Room] Local boa HTTP server enabled on http://192.168.0.65 2022/08/20 19:15:49 [Bonus Room] starting boa server 2022/08/20 19:15:50 [WyzeBridge] 👻 pan offline. WILL retry in 10s. 2022/08/20 19:15:50 [Bonus Room] Pulling alarm file from camera (file_name='20220820_18_16_35.jpg') 2022/08/20 19:15:50 [Bonus Room] WARNING: Audio pipe closed 2022/08/20 19:15:51 [Bonus Room] FFMPEG stopped 2022/08/20 19:15:51 [Bonus Room] [MOTION] Alarm file detected at 2022-08-21 01:16:35 2022/08/20 19:15:51 [Bonus Room] Pulling photo file from camera (file_name='20220411_13_34_54.jpg') 2022/08/20 19:15:53 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:53] "GET /img/driveway.jpg HTTP/1.1" 404 - 2022/08/20 19:15:53 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:15:53] "GET /img/hot-tub.jpg HTTP/1.1" 404 - 2022/08/20 19:15:54 [WyzeBridge] 127.0.0.1 - - [20/Aug/2022 19:15:54] "GET /events/start/driveway HTTP/0.9" 200 - 2022/08/20 19:15:55 [Driveway] IOTC_ER_DEVICE_OFFLINE 2022/08/20 19:15:56 [WyzeBridge] 👻 driveway offline. WILL retry in 10s. 2022/08/20 19:15:58 [WyzeBridge] [ON-DEMAND] ⌛️ WyzeCam V3 - lincs-room on 192.168.0.62 (1/3) 2022/08/20 19:15:58 [WyzeBridge] [ON-DEMAND] ⌛️ WyzeCam V2 - bonus-room on 192.168.0.65 (1/3) 2022/08/20 19:16:00 [WyzeBridge] [ON-DEMAND] ⌛️ WyzeCam Pan - pan on 192.168.0.66 (1/3) 2022/08/20 19:16:03 [RTSP][HOT-TUB] ❌ '/hot-tub' stream is down 2022/08/20 19:16:04 [Hot Tub] WARNING: Audio pipe closed 2022/08/20 19:16:05 [Hot Tub] FFMPEG stopped 2022/08/20 19:16:06 [WyzeBridge] [ON-DEMAND] ⌛️ WyzeCam V3 - driveway on 192.168.0.63 (1/3) 2022/08/20 19:16:06 [WyzeBridge] [ON-DEMAND] ⌛️ WyzeCam V3 - hot-tub on 192.168.0.61 (1/3) 2022/08/20 19:16:15 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:15] "GET /img/side-yard.jpg HTTP/1.1" 404 - 2022/08/20 19:16:15 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:15] "GET /img/sissys-room.jpg HTTP/1.1" 304 - 2022/08/20 19:16:15 [WyzeBridge] 127.0.0.1 - - [20/Aug/2022 19:16:15] "GET /events/start/side-yard HTTP/0.9" 200 - 2022/08/20 19:16:16 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:16] "GET /img/lincs-room.jpg HTTP/1.1" 404 - 2022/08/20 19:16:16 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:16] "GET /img/downstairs-patio.jpg HTTP/1.1" 304 - 2022/08/20 19:16:16 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:16] "GET /img/downstairs-patio.jpg HTTP/1.1" 304 - 2022/08/20 19:16:16 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:16] "GET /img/loading.svg HTTP/1.1" 404 - 2022/08/20 19:16:16 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:16] "GET /img/loading.svg HTTP/1.1" 404 - 2022/08/20 19:16:16 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:16] "GET /img/loading.svg HTTP/1.1" 404 - 2022/08/20 19:16:16 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:16] "GET /img/loading.svg HTTP/1.1" 404 - 2022/08/20 19:16:16 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:16] "GET /img/loading.svg HTTP/1.1" 404 - 2022/08/20 19:16:16 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:16] "GET /img/loading.svg HTTP/1.1" 404 - 2022/08/20 19:16:16 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:16] "GET /img/loading.svg HTTP/1.1" 404 - 2022/08/20 19:16:16 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:16] "GET /img/loading.svg HTTP/1.1" 404 - 2022/08/20 19:16:16 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:16] "GET /img/sissys-room.jpg HTTP/1.1" 304 - 2022/08/20 19:16:16 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:16] "GET /img/downstairs-patio.jpg HTTP/1.1" 304 - 2022/08/20 19:16:16 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:16] "GET /img/loading.svg HTTP/1.1" 404 - 2022/08/20 19:16:17 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:17] "GET /img/bonus-room.jpg HTTP/1.1" 404 - 2022/08/20 19:16:17 [WyzeBridge] 127.0.0.1 - - [20/Aug/2022 19:16:17] "GET /events/start/kitchen-cam HTTP/0.9" 200 - 2022/08/20 19:16:17 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:17] "GET /img/pan.jpg HTTP/1.1" 404 - 2022/08/20 19:16:17 [Side Yard] Camera is checking enr, can't auth. 2022/08/20 19:16:18 [Side Yard] 'NoneType' object has no attribute 'encode' 2022/08/20 19:16:19 [WyzeBridge] [ON-DEMAND] ⌛️ WyzeCam V3 - side-yard on 192.168.0.64 (1/3) 2022/08/20 19:16:24 [WyzeBridge] 172.30.32.2 - - [20/Aug/2022 19:16:24] "GET /img/driveway.jpg HTTP/1.1" 404 -

mrlt8 commented 2 years ago

Most of those can be ignored as they're coming from the WebUI. 404 is being caused by loading.svg which should be loaded from /static instead of /img - I'll need to double check the javascript.

The only one that is of concern is Camera is checking enr, can't auth. could potentially be related to #510

bobloadmire commented 2 years ago

Hmmm yeah I've never had the stream ever work, I thought the key would atleast work for a little bit. Any other clues for why I can't start a stream at all?

mrlt8 commented 2 years ago

What type of camera is side-yard? Does it load correctly in the app?

bobloadmire commented 2 years ago

What type of camera is side-yard? Does it load correctly in the app?

"Authentication failed. Camera is initializing" it might need a reboot.

bobloadmire commented 2 years ago

Oddly the cam I updated to latest firmware and works perfectly in the app, I cannot connect in Home assistant, and throws 0 errors in the logs. When I click RTSP it's just spins forever, nothing in logs

mrlt8 commented 2 years ago

In the WebUI, can you "clear cache and reconnect" under restart?

bobloadmire commented 2 years ago

Didn't seem to help. But I am seeing some stuff in the logs now. Odd it's saying stream is up, nothing plays at all. Tested my phone and Edge on windows.

2022/08/20 21:15:16 [RTSP][KITCHEN-CAM] ✅ '/kitchen-cam' stream is UP! (3/3) 2022/08/20 21:15:16 [Kitchen Cam] 📡 Getting 120kb/s HD stream (20fps) via LAN mode (WiFi: 90%) FW: 4.36.9.139 🔒 (DTLS) (2/3) 2022/08/20 21:15:16 [Kitchen Cam] WARNING: Skipping smaller frame at start of stream (frame_size=1) 2022/08/20 21:15:16 [Sissy's Room] 📡 Getting 120kb/s HD stream (20fps) via LAN mode (WiFi: 99%) FW: 4.36.9.139 🔒 (DTLS) (2/3) 2022/08/20 21:15:16 [Sissy's Room] WARNING: Skipping smaller frame at start of stream (frame_size=1) 2022/08/20 21:15:17 [RTSP][SISSYS-ROOM] ✅ '/sissys-room' stream is UP! (3/3) 2022/08/20 21:15:18 [Side Yard] Camera is checking enr, can't auth. 2022/08/20 21:15:18 [RTSP][KITCHEN-CAM] ❌ '/kitchen-cam' stream is down 2022/08/20 21:15:18 [RTSP][KITCHEN-CAM] ✅ '/kitchen-cam' stream is UP! (3/3) 2022/08/20 21:15:19 [Side Yard] Camera is checking enr, can't auth. 2022/08/20 21:15:19 [Side Yard] 'NoneType' object has no attribute 'encode'

bobloadmire commented 2 years ago

Ok so I just tried on Edge on Android, and while RTSP says "can't play video" HLS does work, so that's a little progress. Wonder why they both don't work in the HA app?

mrlt8 commented 2 years ago

Can you try opening the stream in a media player like VLC? I don't think any browsers have native support for rtsp/rtsp.

bobloadmire commented 2 years ago

I believe my issue is due to the fact that I'm remote accessing my HA instance over cloudflare and cloudflare isn't able to forward the HLS stream. Is there a work around for this?

peasem commented 2 years ago

I was able to get the cameras to work in HA using Generic Camera integration by using a local address and not trying to go through the Cloudflare tunnel.

http://homeassistant.local:5000/img/.jpg rtsp://homeassistant.local:8554/

You can use the IP address as well.

This does not help with the WebUI as it is using the Cloudflare URL. It would be nice if we could change the base URL for the WebUI to get around this problem.

mrlt8 commented 2 years ago

You can with WB_RTSP_URL=rtsp://my-hostname-or-ip:8554/ same for the other two:

WB_HLS_URL WB_RTMP_URL

peasem commented 2 years ago

When I try that, it is not appending the camera name.

mrlt8 commented 2 years ago

whoops, I think that was broken in the last update. Will push a fix now!

bobloadmire commented 2 years ago

am i understanding correctly, I can set up a cloud flare fowarder for a certain port (e.g. cam.cloudflare.com>localhost:8554) and then tell the add on to use cam.cloudflare.com to forward the cam traffic?

mrlt8 commented 2 years ago

You'll have to setup all the forwarding first, then this will let you change the address that is displayed in the WebUI.

copetogo commented 2 years ago

I am also facing the same issue but my config logs shows some error not sure what though. One thing is my snapshot is getting updated on the web UI but not the RTSP stream

[h264 @ 0x2e0b0d0] decode_slice_header error Output file #0 does not contain any stream [h264 @ 0x364cc90] Missing reference picture, default is 0 [h264 @ 0x364cc90] decode_slice_header error [h264 @ 0x439bc90] Missing reference picture, default is 0 [h264 @ 0x439bc90] decode_slice_header error [h264 @ 0x3798c90] Missing reference picture, default is 0 [h264 @ 0x3798c90] decode_slice_header error Output file #0 does not contain any stream Fatal Python error: init_sys_streams: can't initialize sys standard streams Python runtime state: core initialized Traceback (most recent call last): File "/usr/local/lib/python3.10/codecs.py", line 309, in init def init(self, errors='strict'): KeyboardInterrupt [h264 @ 0x34ecc90] Missing reference picture, default is 0 [h264 @ 0x34ecc90] decode_slice_header error [h264 @ 0x4121c90] Missing reference picture, default is 0 [h264 @ 0x4121c90] decode_slice_header error Output file #0 does not contain any stream [h264 @ 0x3b93c90] Missing reference picture, default is 0 [h264 @ 0x3b93c90] decode_slice_header error [h264 @ 0x37d8c90] Missing reference picture, default is 0 [h264 @ 0x37d8c90] decode_slice_header error [h264 @ 0x2dabc90] Missing reference picture, default is 0 [h264 @ 0x2dabc90] decode_slice_header error 2022/10/27 20:42:55 [RTSP][BABY-MONITOR] 📖 New client reading 2022/10/27 20:42:55 [RTSP][BABY-MONITOR] 📕 Client stopped reading Output file #0 does not contain any stream Output file #0 does not contain any stream Fatal Python error: init_import_site: Failed to import the site module Python runtime state: initialized Traceback (most recent call last): File "/usr/local/lib/python3.10/site.py", line 73, in import os File "/usr/local/lib/python3.10/os.py", line 29, in from _collections_abc import _check_methods File "/usr/local/lib/python3.10/_collections_abc.py", line 166, in class AsyncIterable(metaclass=ABCMeta): File "/usr/local/lib/python3.10/abc.py", line 106, in new cls = super().new(mcls, name, bases, namespace, **kwargs) KeyboardInterrupt Output file #0 does not contain any stream Fatal Python error: init_import_site: Failed to import the site module Python runtime state: initialized Traceback (most recent call last): File "", line 1022, in _find_and_load KeyboardInterrupt [h264 @ 0x33490d0] Missing reference picture, default is 0 [h264 @ 0x33490d0] decode_slice_header error Output file #0 does not contain any stream Output file #0 does not contain any stream [h264 @ 0x40c00d0] Missing reference picture, default is 0 [h264 @ 0x40c00d0] decode_slice_header error [h264 @ 0x356d0d0] Missing reference picture, default is 0 [h264 @ 0x356d0d0] decode_slice_header error 2022/10/27 21:04:59 [RTSP][BABY-MONITOR] 📖 New client reading 2022/10/27 21:05:10 [RTSP][BABY-MONITOR] snapshot timed out 2022/10/27 21:05:10 [RTSP][BABY-MONITOR] 📕 Client stopped reading 2022/10/27 21:05:11 [Baby monitor] WARNING: Audio pipe closed 2022/10/27 21:05:11 [RTSP][BABY-MONITOR] ❌ '/baby-monitor' stream is down Cannot determine format of input stream 0:0 after EOF Error marking filters as finished 2022/10/27 21:05:11 [Baby monitor] Stream did not receive a frame for over 20s 2022/10/27 21:05:12 [WyzeBridge] [ON-DEMAND] ⌛️ WyzeCam V3 - baby-monitor on 192.168.1.42 (1/3) 2022/10/29 09:58:10 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:58:10] "GET / HTTP/1.1" 200 - 2022/10/29 09:58:10 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:58:10] "GET /static/site.css HTTP/1.1" 304 - 2022/10/29 09:58:10 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:58:10] "GET /static/site.js HTTP/1.1" 200 - 2022/10/29 09:58:10 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:58:10] "GET /img/baby-monitor.jpg HTTP/1.1" 200 - 2022/10/29 09:58:10 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:58:10] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 09:58:10 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:58:10] "GET /api/sse_status HTTP/1.1" 200 - 2022/10/29 09:58:11 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:58:11] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 09:58:19 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:58:19] "GET /?video= HTTP/1.1" 200 - 2022/10/29 09:58:19 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:58:19] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 09:58:19 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:58:19] "GET /api/sse_status HTTP/1.1" 200 - 2022/10/29 09:58:19 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:58:19] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 09:58:19 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:58:19] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 09:58:19 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:58:19] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 09:58:26 [WyzeBridge] Stopping the cameras... 2022/10/29 09:58:26 [WyzeBridge] Stopping rtsp-simple-server... 2022/10/29 09:58:26 [WyzeBridge] 📚 Using 'user' from local cache... 2022/10/29 09:58:26 [WyzeBridge] ☁️ Fetching 'cameras' from the Wyze API... 2022/10/29 09:58:26 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:58:26] "GET /restart/all HTTP/1.1" 200 - 2022/10/29 09:58:27 [WyzeBridge] ⚠️ Error getting cameras - Expired token? 2022/10/29 09:58:27 [WyzeBridge] ♻️ Refreshing tokens 2022/10/29 09:58:28 [WyzeBridge] 💾 Saving 'auth' to local cache... 2022/10/29 09:58:43 [WyzeBridge] ☁️ Fetching 'cameras' from the Wyze API... 2022/10/29 09:58:44 [WyzeBridge] 💾 Saving 'cameras' to local cache... 2022/10/29 09:58:44 [WyzeBridge] 🎬 STARTING ALL 1 CAMERAS 2022/10/29 09:58:45 [WyzeBridge] Starting rtsp-simple-server v0.20.0 2022/10/29 09:58:46 [WyzeBridge] [ON-DEMAND] ⌛️ WyzeCam V3 - baby-monitor on 192.168.1.42 (1/3) 2022/10/29 09:58:49 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:58:49] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 09:58:49 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:58:49] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 09:59:20 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:59:20] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 09:59:20 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:59:20] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 09:59:50 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:59:50] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 09:59:50 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 09:59:50] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 10:00:20 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 10:00:20] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 10:00:20 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 10:00:20] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 10:00:49 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 10:00:49] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 10:00:49 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 10:00:49] "GET /img/baby-monitor.jpg HTTP/1.1" 304 -

mrlt8 commented 2 years ago

Hmm. Can you restart the container itself?

copetogo commented 2 years ago

Hmm. Can you restart the container itself?

I tried restarting .Although some of the errors i am not getting but it still hasn't resolved the problem of not able to view video. Just a brief overview i am running this docker on HA instance running on duckdns (Rpi4) if it is relevant information Docker Wyze Bridge 2022/10/29 11:46:56 [WyzeBridge] 🚀 STARTING DOCKER-WYZE-BRIDGE v1.8.11 2022/10/29 11:46:56 [WyzeBridge] 🏠 Home Assistant Mode 2022/10/29 11:46:56 [WyzeBridge] 📚 Using 'user' from local cache...

copetogo commented 2 years ago

Hmm. Can you restart the container itself?

I tried restarting .Although some of the errors i am not getting but it still hasn't resolved the problem of not able to view video. Just a brief overview i am running this docker on HA instance running on duckdns (Rpi4) if it is relevant information Docker Wyze Bridge 2022/10/29 11:46:56 [WyzeBridge] 🚀 STARTING DOCKER-WYZE-BRIDGE v1.8.11 2022/10/29 11:46:56 [WyzeBridge] 🏠 Home Assistant Mode 2022/10/29 11:46:56 [WyzeBridge] 📚 Using 'user' from local cache...

  • Serving Flask app 'frontend'
  • Debug mode: off 2022/10/29 11:46:56 [WyzeBridge] 📚 Using 'cameras' from local cache... 2022/10/29 11:46:56 [WyzeBridge] WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on all addresses (0.0.0.0)
  • Running on http://127.0.0.1:5000
  • Running on http://172.30.33.10:5000 2022/10/29 11:46:56 [WyzeBridge] Press CTRL+C to quit 2022/10/29 11:46:56 [WyzeBridge] 🎬 STARTING ALL 1 CAMERAS 2022/10/29 11:46:57 [WyzeBridge] Starting rtsp-simple-server v0.20.0 2022/10/29 11:46:57 [WyzeBridge] [ON-DEMAND] ⌛️ WyzeCam V3 - baby-monitor on 192.168.1.42 (1/3) 2022/10/29 11:46:59 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:46:59] "GET / HTTP/1.1" 200 - 2022/10/29 11:46:59 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:46:59] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:46:59 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:46:59] "GET /api/sse_status HTTP/1.1" 200 - 2022/10/29 11:46:59 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:46:59] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:46:59 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:46:59] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:47:01 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:47:01] "GET /?video= HTTP/1.1" 200 - 2022/10/29 11:47:01 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:47:01] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:47:01 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:47:01] "GET /api/sse_status HTTP/1.1" 200 - 2022/10/29 11:47:01 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:47:01] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:47:01 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:47:01] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:47:01 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:47:01] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:47:59 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:47:59] "GET / HTTP/1.1" 200 - 2022/10/29 11:47:59 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:47:59] "GET /api/sse_status HTTP/1.1" 200 - 2022/10/29 11:48:00 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:48:00] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:48:06 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:48:06] "GET /?video= HTTP/1.1" 200 - 2022/10/29 11:48:06 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:48:06] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:48:06 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:48:06] "GET /api/sse_status HTTP/1.1" 200 - 2022/10/29 11:48:06 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:48:06] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:48:35 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:48:35] "GET /?snapshot= HTTP/1.1" 200 - 2022/10/29 11:48:35 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:48:35] "GET /?snapshot= HTTP/1.1" 200 - 2022/10/29 11:48:35 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:48:35] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:48:36 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:48:36] "GET /?snapshot= HTTP/1.1" 200 - 2022/10/29 11:48:36 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:48:36] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:48:36 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:48:36] "GET /?snapshot= HTTP/1.1" 200 - 2022/10/29 11:48:36 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:48:36] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:48:36 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:48:36] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:48:36 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:48:36] "GET /api/sse_status HTTP/1.1" 200 - 2022/10/29 11:48:36 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:48:36] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:48:36 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:48:36] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:48:36 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:48:36] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:49:20 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:49:20] "GET /?video= HTTP/1.1" 200 - 2022/10/29 11:49:20 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:49:20] "GET /static/site.js HTTP/1.1" 304 - 2022/10/29 11:49:20 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:49:20] "GET /static/site.css HTTP/1.1" 304 - 2022/10/29 11:49:20 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:49:20] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:49:21 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:49:21] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:49:21 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:49:21] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:49:21 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:49:21] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:49:21 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:49:21] "GET /api/sse_status HTTP/1.1" 200 - 2022/10/29 11:49:21 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:49:21] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:49:51 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:49:51] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:49:51 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:49:51] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:50:16 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:50:16] "GET / HTTP/1.1" 200 - 2022/10/29 11:50:16 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:50:16] "GET /static/site.css HTTP/1.1" 304 - 2022/10/29 11:50:16 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:50:16] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:50:16 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:50:16] "GET /static/site.js HTTP/1.1" 304 - 2022/10/29 11:50:16 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:50:16] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:50:16 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:50:16] "GET /api/sse_status HTTP/1.1" 200 - 2022/10/29 11:50:16 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:50:16] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:50:19 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:50:19] "GET /?video= HTTP/1.1" 200 - 2022/10/29 11:50:19 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:50:19] "GET /static/site.css HTTP/1.1" 304 - 2022/10/29 11:50:19 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:50:19] "GET /static/site.js HTTP/1.1" 304 - 2022/10/29 11:50:19 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:50:19] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:50:19 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:50:19] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:50:19 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:50:19] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:50:19 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:50:19] "GET /img/baby-monitor.jpg HTTP/1.1" 304 - 2022/10/29 11:50:19 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:50:19] "GET /api/sse_status HTTP/1.1" 200 - 2022/10/29 11:50:19 [WyzeBridge] 172.30.32.2 - - [29/Oct/2022 11:50:19] "GET /img/baby-monitor.jpg HTTP/1.1" 304 -

so a bit of a update on the web UI i cannot view the video stream on the UI but using generic camera integration on HA i can view the live stream, so i am guessing it is the problem with the webUI interface

mrlt8 commented 2 years ago

Can you open the RTSP stream in a media player like VLC?

copetogo commented 1 year ago

Can you open the RTSP stream in a media player like VLC?

sorry for the late reply , to answer your question no i am not able to view the rtsp stream in VLC. what does that mean? also the rtsp stream is working using the generic camera integration in HA