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.64k stars 162 forks source link

BUG: Latest version cannot stay connected to my Wyze V3 cameras but 2.9.12 and previous work fine #1315

Open RyanEwen opened 2 months ago

RyanEwen commented 2 months ago

Describe the bug

After updating to 2.10.1 I cannot seem to get video streams (using the web ui) to start or remain started if a stream or two does happen to start. The logs don't show any errors - just client disconnecting and connecting.

Downgrading to 2.9.12 solves the issue and all 6 cameras work smoothly again via WebRTC & HLS.

Affected Bridge Version

v2.10.1

Bridge type

Docker Run/Compose

Affected Camera(s)

Wyze V3

Affected Camera Firmware

latest

docker-compose or config (if applicable)

wyze-bridge:
    image: mrlt8/wyze-bridge:latest
    network_mode: host
    environment:
      - WYZE_EMAIL=xxx@gmail.com
      - WYZE_PASSWORD=xxx
      - API_ID=xxx
      - API_KEY=xxx
      - NET_MODE=LAN
      - WB_AUTH=false
      - WB_IP=192.168.2.10
    restart: unless-stopped

Logs (web UI often shows 'side-cam Disconnected' error):

wyze-bridge_1  |
wyze-bridge_1  | 🚀 DOCKER-WYZE-BRIDGE v2.10.1 X86_64
wyze-bridge_1  |
wyze-bridge_1  | [WyzeBridge] 🔍 Could not find local cache for 'auth'
wyze-bridge_1  | [WyzeBridge] ☁️ Fetching 'auth' from the Wyze API...
wyze-bridge_1  |  * Serving Flask app 'frontend'
wyze-bridge_1  |  * Debug mode: off
wyze-bridge_1  | [WyzeBridge] WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
wyze-bridge_1  |  * Running on all addresses (0.0.0.0)
wyze-bridge_1  |  * Running on http://127.0.0.1:5000
wyze-bridge_1  |  * Running on http://192.168.2.10:5000
wyze-bridge_1  | [WyzeBridge] Press CTRL+C to quit
wyze-bridge_1  | [WyzeBridge] 💾 Saving 'auth' to local cache...
wyze-bridge_1  | [WyzeBridge] [AUTH] WB_AUTH=False
wyze-bridge_1  | [WyzeBridge] 🔍 Could not find local cache for 'user'
wyze-bridge_1  | [WyzeBridge] ☁️ Fetching 'user' from the Wyze API...
wyze-bridge_1  | [WyzeBridge] 💾 Saving 'user' to local cache...
wyze-bridge_1  | [WyzeBridge] 🔍 Could not find local cache for 'cameras'
wyze-bridge_1  | [WyzeBridge] ☁️ Fetching 'cameras' from the Wyze API...
wyze-bridge_1  | [WyzeBridge] [API] Fetched [7] cameras
wyze-bridge_1  | [WyzeBridge] 💾 Saving 'cameras' to local cache...
wyze-bridge_1  | [WyzeBridge] [+] Adding Chicken Cam  [WYZE_CAKP2JFUS]
wyze-bridge_1  | [WyzeBridge] [+] Adding Deck Cam  [WYZE_CAKP2JFUS]
wyze-bridge_1  | [WyzeBridge] [+] Adding Back Cam [WYZE_CAKP2JFUS]
wyze-bridge_1  | [WyzeBridge] [+] Adding Doorbell [GW_BE1]
wyze-bridge_1  | [WyzeBridge] [GW_BE1] Doorbell not supported
wyze-bridge_1  | [WyzeBridge] [+] Adding Front Cam [WYZE_CAKP2JFUS]
wyze-bridge_1  | [WyzeBridge] [+] Adding Side Cam [WYZE_CAKP2JFUS]
wyze-bridge_1  | [WyzeBridge] [+] Adding Kitchen Cam [WYZE_CAKP2JFUS]
wyze-bridge_1  | [WyzeBridge] [MTX] starting MediaMTX 1.8.4
wyze-bridge_1  | [WyzeBridge] 🎬 7 streams enabled
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:13] "GET /api/sse_status HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Chicken Cam  on 192.168.2.101
wyze-bridge_1  | [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Deck Cam  on 192.168.2.90
wyze-bridge_1  | [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Back Cam on 192.168.2.89
wyze-bridge_1  | [chicken-cam] 📡 Getting 180kb/s HD stream (H264/20fps) via LAN mode (WiFi: 64%) FW: 4.36.11.8391 🔒
wyze-bridge_1  | [chicken-cam] WARNING: Skipping wrong frame_size at start of stream [frame_size=1]
wyze-bridge_1  | [WyzeBridge] ✅ '/chicken-cam stream is UP! (3/3)
wyze-bridge_1  | [deck-cam] 📡 Getting 180kb/s HD stream (H264/20fps) via LAN mode (WiFi: 92%) FW: 4.36.11.8391 🔒
wyze-bridge_1  | [deck-cam] WARNING: Skipping wrong frame_size at start of stream [frame_size=1]
wyze-bridge_1  | [WyzeBridge] ✅ '/deck-cam stream is UP! (3/3)
wyze-bridge_1  | [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Front Cam on 192.168.2.33
wyze-bridge_1  | [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Side Cam on 192.168.2.34
wyze-bridge_1  | [back-cam] 📡 Getting 180kb/s HD stream (H264/20fps) via LAN mode (WiFi: 98%) FW: 4.36.11.8391 🔒
wyze-bridge_1  | [back-cam] WARNING: Skipping wrong frame_size at start of stream [frame_size=1]
wyze-bridge_1  | [WyzeBridge] ✅ '/back-cam stream is UP! (3/3)
wyze-bridge_1  | [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Kitchen Cam on 192.168.2.32
wyze-bridge_1  | [front-cam] 📡 Getting 180kb/s HD stream (H264/20fps) via LAN mode (WiFi: 99%) FW: 4.36.11.8391 🔒
wyze-bridge_1  | [front-cam] WARNING: Skipping wrong frame_size at start of stream [frame_size=1]
wyze-bridge_1  | [WyzeBridge] ✅ '/front-cam stream is UP! (3/3)
wyze-bridge_1  | [side-cam] 📡 Getting 180kb/s HD stream (H264/20fps) via LAN mode (WiFi: 95%) FW: 4.36.11.8391 🔒
wyze-bridge_1  | [kitchen-cam] 📡 Getting 180kb/s HD stream (H264/20fps) via LAN mode (WiFi: 99%) FW: 4.36.11.8391 🔒
wyze-bridge_1  | [kitchen-cam] WARNING: Skipping wrong frame_size at start of stream [frame_size=1]
wyze-bridge_1  | [WyzeBridge] ✅ '/kitchen-cam stream is UP! (3/3)
wyze-bridge_1  | [side-cam] WARNING: Skipping wrong frame_size at start of stream [frame_size=1]
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:27] "GET / HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:27] "GET /static/bulma.css HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:27] "GET /static/loading.svg HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:27] "GET /static/site.css HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:27] "GET /static/bulma-toast.js HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:27] "GET /static/site.js HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:27] "GET /static/webrtc.js HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from front-cam
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from back-cam
wyze-bridge_1  | [WyzeBridge] ☁️ Pulling "doorbell" thumbnail to /img/doorbell.jpg
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from kitchen-cam
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from deck-cam
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from back-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:27] "GET /img/doorbell.jpg HTTP/1.1" 304 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:27] "GET /img/back-cam.jpg HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from chicken-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:27] "GET /api/sse_status HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from front-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:28] "GET /img/front-cam.jpg HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:28] "GET /signaling/front-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:28] "GET /signaling/side-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:28] "GET /signaling/back-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:28] "GET /signaling/doorbell?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:28] "GET /signaling/deck-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:28] "GET /signaling/kitchen-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:28] "GET /signaling/chicken-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:28] "GET /img/doorbell.jpg HTTP/1.1" 304 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:28] "GET /img/back-cam.jpg HTTP/1.1" 304 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:28] "GET /img/front-cam.jpg HTTP/1.1" 304 -
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from chicken-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:29] "GET /img/chicken-cam.jpg HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:29] "GET /img/chicken-cam.jpg HTTP/1.1" 304 -
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from deck-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:29] "GET /img/deck-cam.jpg HTTP/1.1" 200 -
wyze-bridge_1  | [kitchen-cam] [video] super slow
wyze-bridge_1  | [kitchen-cam] WARNING: clear buffer
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:29] "GET /img/deck-cam.jpg HTTP/1.1" 304 -
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from kitchen-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:30] "GET /img/kitchen-cam.jpg HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:30] "GET /img/kitchen-cam.jpg HTTP/1.1" 304 -
wyze-bridge_1  | [WyzeBridge] [side-cam] Snapshot timed out
wyze-bridge_1  | [WyzeBridge] ☁️ Pulling "side-cam" thumbnail to /img/side-cam.jpg
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:42] "GET /img/side-cam.jpg HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:42] "GET /img/side-cam.jpg HTTP/1.1" 304 -
wyze-bridge_1  | [side-cam] [Exception] Did not receive a frame for 20s
wyze-bridge_1  | [WyzeBridge] ❌ '/side-cam' stream is down
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [07/Aug/2024 14:37:44] "GET /signaling/side-cam?webrtc HTTP/1.1" 200 -
RyanEwen commented 2 months ago

This is probably helpful: The log from 2.10.1 above mentions side-cam being super slow - and I just noticed that camera in particular has an issue in 2.9.12 as well - it takes forrrever to get streaming. I wonder if 2.10.1 gets held up by that camera whereas 2.9.12 did something different / in parallel to keep things running?

mrlt8 commented 2 months ago

Do you still have issues if using the RTSP stream?

One of the changes in v2.10 was the updated mediaMTX and some users had issues with the WebRTC stream.

RyanEwen commented 2 months ago

I haven't tried RTSP streams but the HLS streams struggle to load as well. I can get bursts of frames on some cameras which is better than WebRTC but still not usable

mrlt8 commented 2 months ago

hmm, could you try setting - MTX_WRITEQUEUESIZE=1024 in your docker-compose.yml under environment:?

RyanEwen commented 2 months ago

No appreciable difference. Here's a log (I had both the web UI open as well as another page with the webrtc streams within iframes)

rewen@home-server:~/home-automation$ docker-compose logs -f wyze-bridge
Attaching to home-automation_wyze-bridge_1
wyze-bridge_1  |
wyze-bridge_1  | 🚀 DOCKER-WYZE-BRIDGE v2.10.1 X86_64
wyze-bridge_1  |
wyze-bridge_1  | [WyzeBridge] 🔍 Could not find local cache for 'auth'
wyze-bridge_1  | [WyzeBridge] ☁️ Fetching 'auth' from the Wyze API...
wyze-bridge_1  |  * Serving Flask app 'frontend'
wyze-bridge_1  |  * Debug mode: off
wyze-bridge_1  | [WyzeBridge] WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
wyze-bridge_1  |  * Running on all addresses (0.0.0.0)
wyze-bridge_1  |  * Running on http://127.0.0.1:5000
wyze-bridge_1  |  * Running on http://192.168.2.10:5000
wyze-bridge_1  | [WyzeBridge] Press CTRL+C to quit
wyze-bridge_1  | [WyzeBridge] 💾 Saving 'auth' to local cache...
wyze-bridge_1  | [WyzeBridge] [AUTH] WB_AUTH=False
wyze-bridge_1  | [WyzeBridge] 🔍 Could not find local cache for 'user'
wyze-bridge_1  | [WyzeBridge] ☁️ Fetching 'user' from the Wyze API...
wyze-bridge_1  | [WyzeBridge] 💾 Saving 'user' to local cache...
wyze-bridge_1  | [WyzeBridge] 🔍 Could not find local cache for 'cameras'
wyze-bridge_1  | [WyzeBridge] ☁️ Fetching 'cameras' from the Wyze API...
wyze-bridge_1  | [WyzeBridge] [API] Fetched [7] cameras
wyze-bridge_1  | [WyzeBridge] 💾 Saving 'cameras' to local cache...
wyze-bridge_1  | [WyzeBridge] [+] Adding Chicken Cam  [WYZE_CAKP2JFUS]
wyze-bridge_1  | [WyzeBridge] [+] Adding Deck Cam  [WYZE_CAKP2JFUS]
wyze-bridge_1  | [WyzeBridge] [+] Adding Back Cam [WYZE_CAKP2JFUS]
wyze-bridge_1  | [WyzeBridge] [+] Adding Doorbell [GW_BE1]
wyze-bridge_1  | [WyzeBridge] [GW_BE1] Doorbell not supported
wyze-bridge_1  | [WyzeBridge] [+] Adding Front Cam [WYZE_CAKP2JFUS]
wyze-bridge_1  | [WyzeBridge] [+] Adding Side Cam [WYZE_CAKP2JFUS]
wyze-bridge_1  | [WyzeBridge] [+] Adding Kitchen Cam [WYZE_CAKP2JFUS]
wyze-bridge_1  | [WyzeBridge] [MTX] starting MediaMTX 1.8.4
wyze-bridge_1  | [WyzeBridge] 🎬 7 streams enabled
wyze-bridge_1  | [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Chicken Cam  on 192.168.2.101
wyze-bridge_1  | [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Side Cam on 192.168.2.34
wyze-bridge_1  | [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Front Cam on 192.168.2.33
wyze-bridge_1  | [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Back Cam on 192.168.2.89
wyze-bridge_1  | [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Deck Cam  on 192.168.2.90
wyze-bridge_1  | [side-cam] [-90] IOTC_ER_DEVICE_OFFLINE
wyze-bridge_1  | [chicken-cam] 📡 Getting 180kb/s HD stream (H264/20fps) via LAN mode (WiFi: 35%) FW: 4.36.11.8391 🔒
wyze-bridge_1  | [chicken-cam] WARNING: Skipping wrong frame_size at start of stream [frame_size=1]
wyze-bridge_1  | [WyzeBridge] 👻 Side Cam is offline.
wyze-bridge_1  | [WyzeBridge] Side Cam will cooldown for 10s.
wyze-bridge_1  | [back-cam] 📡 Getting 180kb/s HD stream (H264/20fps) via LAN mode (WiFi: 98%) FW: 4.36.11.8391 🔒
wyze-bridge_1  | [deck-cam] 📡 Getting 180kb/s HD stream (H264/20fps) via LAN mode (WiFi: 98%) FW: 4.36.11.8391 🔒
wyze-bridge_1  | [deck-cam] WARNING: Skipping wrong frame_size at start of stream [frame_size=1]
wyze-bridge_1  | [WyzeBridge] ✅ '/chicken-cam stream is UP! (3/3)
wyze-bridge_1  | [WyzeBridge] ✅ '/deck-cam stream is UP! (3/3)
wyze-bridge_1  | [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Kitchen Cam on 192.168.2.32
wyze-bridge_1  | [back-cam] WARNING: Skipping wrong frame_size at start of stream [frame_size=1]
wyze-bridge_1  | [front-cam] 📡 Getting 180kb/s HD stream (H264/20fps) via LAN mode (WiFi: 92%) FW: 4.36.11.8391 🔒
wyze-bridge_1  | [front-cam] WARNING: Skipping wrong frame_size at start of stream [frame_size=1]
wyze-bridge_1  | [WyzeBridge] ✅ '/back-cam stream is UP! (3/3)
wyze-bridge_1  | [WyzeBridge] ✅ '/front-cam stream is UP! (3/3)
wyze-bridge_1  | [kitchen-cam] 📡 Getting 180kb/s HD stream (H264/20fps) via LAN mode (WiFi: 95%) FW: 4.36.11.8391 🔒
wyze-bridge_1  | [kitchen-cam] WARNING: Skipping wrong frame_size at start of stream [frame_size=1]
wyze-bridge_1  | [WyzeBridge] ✅ '/kitchen-cam stream is UP! (3/3)
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:31] "GET / HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:31] "GET /static/bulma.css HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:31] "GET /static/site.css HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:31] "GET /static/loading.svg HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:31] "GET /static/bulma-toast.js HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:31] "GET /static/site.js HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:31] "GET /static/webrtc.js HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from front-cam
wyze-bridge_1  | [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Side Cam on 192.168.2.34
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from back-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:31] "GET /api/sse_status HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] ☁️ Pulling "doorbell" thumbnail to /img/doorbell.jpg
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from deck-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:31] "GET /img/doorbell.jpg HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from kitchen-cam
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from front-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:31] "GET /img/front-cam.jpg HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from chicken-cam
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from kitchen-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:31] "GET /img/kitchen-cam.jpg HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:31] "GET /signaling/front-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:31] "GET /signaling/side-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:31] "GET /signaling/back-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:31] "GET /signaling/doorbell?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:31] "GET /signaling/deck-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:32] "GET /signaling/kitchen-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:32] "GET /signaling/chicken-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:32] "GET /favicon.ico HTTP/1.1" 404 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:32] "GET /img/doorbell.jpg HTTP/1.1" 304 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:32] "GET /img/front-cam.jpg HTTP/1.1" 304 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:32] "GET /img/kitchen-cam.jpg HTTP/1.1" 304 -
wyze-bridge_1  | [side-cam] [-90] IOTC_ER_DEVICE_OFFLINE
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from deck-cam
wyze-bridge_1  | [WyzeBridge] 👻 Side Cam is offline.
wyze-bridge_1  | [WyzeBridge] Side Cam will cooldown for 10s.
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:32] "GET /img/deck-cam.jpg HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:32] "GET /img/deck-cam.jpg HTTP/1.1" 304 -
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from back-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:32] "GET /img/back-cam.jpg HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:32] "GET /img/back-cam.jpg HTTP/1.1" 304 -
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from chicken-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:36] "GET /img/chicken-cam.jpg HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:36] "GET /img/chicken-cam.jpg HTTP/1.1" 304 -
wyze-bridge_1  | [WyzeBridge] [side-cam] Snapshot timed out
wyze-bridge_1  | [WyzeBridge] ☁️ Pulling "side-cam" thumbnail to /img/side-cam.jpg
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:46] "GET /img/side-cam.jpg HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:46] "GET /img/side-cam.jpg HTTP/1.1" 304 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:49] "GET /signaling/front-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:49] "GET /signaling/back-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:50] "GET /signaling/deck-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:50] "GET /signaling/kitchen-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:17:50] "GET /signaling/chicken-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:01] "GET /img/loading.svg HTTP/1.1" 307 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:01] "GET /img/doorbell.jpg HTTP/1.1" 304 -
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from front-cam
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from deck-cam
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from back-cam
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from kitchen-cam
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from chicken-cam
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from deck-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:02] "GET /snapshot/deck-cam.jpg?1723169881374 HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:02] "GET /static/notavailable.svg HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:02] "GET /img/doorbell.jpg HTTP/1.1" 304 -
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from deck-cam
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from kitchen-cam
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from chicken-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:02] "GET /snapshot/kitchen-cam.jpg?1723169881374 HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:02] "GET /snapshot/chicken-cam.jpg?1723169881374 HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:02] "GET /img/loading.svg HTTP/1.1" 307 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:02] "GET /static/notavailable.svg HTTP/1.1" 304 -
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from kitchen-cam
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from chicken-cam
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from back-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:02] "GET /snapshot/back-cam.jpg?1723169881373 HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from back-cam
wyze-bridge_1  | [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Side Cam on 192.168.2.34
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from front-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:03] "GET /snapshot/front-cam.jpg?1723169881373 HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:03] "GET /signaling/side-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 📖 New client reading from front-cam
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from deck-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:04] "GET /snapshot/deck-cam.jpg?1723169881374 HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:04] "GET /signaling/doorbell?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 🎉 Connecting to WyzeCam Doorbell Pro - Doorbell on
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:04] "GET /snapshot/kitchen-cam.jpg?1723169881374 HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from back-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:04] "GET /snapshot/back-cam.jpg?1723169881373 HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from kitchen-cam
wyze-bridge_1  | [doorbell] [-10] IOTC_ER_UNLICENSE
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from front-cam
wyze-bridge_1  | [WyzeBridge] Doorbell will cooldown for 10s.
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:05] "GET /snapshot/front-cam.jpg?1723169881373 HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 📕 Client stopped reading from chicken-cam
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:06] "GET /snapshot/chicken-cam.jpg?1723169881374 HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:07] "GET /signaling/front-cam?webrtc HTTP/1.1" 200 -
wyze-bridge_1  | [WyzeBridge] 192.168.2.74 - - [09/Aug/2024 02:18:07] "GET /signaling/back-cam?webrtc HTTP/1.1" 200 -
mrlt8 commented 2 months ago

Can you try setting ON_DEMAND=False?

It's probably related to the updated MediaMTX version. Unfortunately, the newer versions seem to have several issues and the dev is not accepting any pull requests or viable solutions.

RyanEwen commented 2 months ago

Sorry for the delay - No improvement from this change unfortunately