Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wyze-bridge will only start 1 camera #2

Closed
SomebodySysop opened this issue Jun 27, 2021 · 37 comments
Closed

wyze-bridge will only start 1 camera #2

SomebodySysop opened this issue Jun 27, 2021 · 37 comments

Comments

@SomebodySysop
Copy link

SomebodySysop commented Jun 27, 2021

I have two cameras: WyzeCam301 and WyzeCam302

Wyze-Bridge appears to be working, but it will not start my first camera (301). It starts the second camera (302) fine. Is the program looping through and only creating stream for the last camera it finds?

rtsp-server | 2021/06/27 19:53:30 I [0/0] rtsp-simple-server v0.16.3
rtsp-server | 2021/06/27 19:53:30 I [0/0] [RTSP] UDP/RTP listener opened on :8000
rtsp-server | 2021/06/27 19:53:30 I [0/0] [RTSP] UDP/RTCP listener opened on :8001
rtsp-server | 2021/06/27 19:53:30 I [0/0] [RTSP] TCP listener opened on :8554
rtsp-server | 2021/06/27 19:53:30 I [0/0] [RTMP] listener opened on :1935
rtsp-server | 2021/06/27 19:53:30 I [0/0] [HLS] listener opened on :8888
wyze-bridge | Traceback (most recent call last):
wyze-bridge | File "/opt/wyzecam/wyzecam-to-rtmp.py", line 42, in
wyze-bridge | main()
wyze-bridge | File "/opt/wyzecam/wyzecam-to-rtmp.py", line 18, in main
wyze-bridge | auth_info = login(user, password)
wyze-bridge | File "/usr/local/lib/python3.8/site-packages/wyzecam/api.py", line 47, in login
wyze-bridge | resp.raise_for_status()
wyze-bridge | File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 943, in raise_for_status
wyze-bridge | raise HTTPError(http_error_msg, response=self)
wyze-bridge | requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://auth-prod.api.wyze.com/user/login
wyze-bridge | ffmpeg version 4.1.6-1deb10u1 Copyright (c) 2000-2020 the FFmpeg developers
wyze-bridge | built with gcc 8 (Debian 8.3.0-6)
wyze-bridge | configuration: --prefix=/usr --extra-version='1
deb10u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
wyze-bridge | libavutil 56. 22.100 / 56. 22.100
wyze-bridge | libavcodec 58. 35.100 / 58. 35.100
wyze-bridge | libavformat 58. 20.100 / 58. 20.100
wyze-bridge | libavdevice 58. 5.100 / 58. 5.100
wyze-bridge | libavfilter 7. 40.101 / 7. 40.101
wyze-bridge | libavresample 4. 0. 0 / 4. 0. 0
wyze-bridge | libswscale 5. 3.100 / 5. 3.100
wyze-bridge | libswresample 3. 3.100 / 3. 3.100
wyze-bridge | libpostproc 55. 3.100 / 55. 3.100
wyze-bridge | Input #0, h264, from 'pipe:':
wyze-bridge | Duration: N/A, bitrate: N/A
wyze-bridge | Stream #0:0: Video: h264 (Main), yuv420p(tv, bt709, progressive), 1920x1080, 20 fps, 20 tbr, 1200k tbn, 40 tbc
rtsp-server | 2021/06/27 19:53:48 I [0/0] [RTMP] [conn 172.18.0.2:43860] opened
wyze-bridge | Output #0, flv, to 'rtmp://rtsp-server:1935/wyzecam302':
wyze-bridge | Metadata:
wyze-bridge | encoder : Lavf58.20.100
rtsp-server | 2021/06/27 19:53:48 I [1/0] [RTMP] [conn 172.18.0.2:43860] is publishing to path 'wyzecam302', 1 track
wyze-bridge | Stream #0:0: Video: h264 (Main) ([7][0][0][0] / 0x0007), yuv420p(tv, bt709, progressive), 1920x1080, q=2-31, 20 fps, 20 tbr, 1k tbn, 1200k tbc
wyze-bridge | Stream mapping:
wyze-bridge | Stream #0:0 -> #0:0 (copy)
wyze-bridge | [flv @ 0x559918d50280] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
rtsp-server | 2021/06/27 19:54:08 I [1/0] [RTSP] [conn 192.168.1.69:64069] opened
rtsp-server | 2021/06/27 19:54:08 I [1/0] [RTSP] [conn 192.168.1.69:64069] ERR: no one is publishing to path 'wyzecam301'
rtsp-server | 2021/06/27 19:54:08 I [1/0] [RTSP] [conn 192.168.1.69:64069] closed
rtsp-server | 2021/06/27 19:54:13 I [1/0] [RTSP] [conn 192.168.1.69:64070] opened
rtsp-server | 2021/06/27 19:54:13 I [1/0] [RTSP] [session 2575826756] opened by 192.168.1.69:64070
rtsp-server | 2021/06/27 19:54:13 I [1/1] [RTSP] [session 2575826756] is reading from path 'wyzecam302', 1 track with TCP
rtsp-server | 2021/06/27 19:55:08 I [1/1] [RTSP] [conn 192.168.1.69:50625] opened
rtsp-server | 2021/06/27 19:55:08 I [1/1] [RTSP] [conn 192.168.1.69:50625] ERR: no one is publishing to path 'wyzecam301'
rtsp-server | 2021/06/27 19:55:08 I [1/1] [RTSP] [conn 192.168.1.69:50625] closed

@SomebodySysop
Copy link
Author

I did some more troubleshooting. Turns out that it is the wyzecam-to-rtmp.py script that is not opening the 2nd camera. I ran it manually and now the camera 301 is streaming to nvr.

/home/ron/wyze-to-rtmp/bin/python /home/ron/wyze-to-rtmp/wyze-to-rtmp.py --user [user] --password [pw] --cameraname "WyzeCam301" --url rtmp://127.0.0.1/wyzecam301

This is the same problem I was having when I tried to create a script to start this on boot. One camera would start but not the other. I am wondering if it might have something to do with this error:

wyze-bridge | requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://auth-prod.api.wyze.com/user/login

Perhaps wyze isn't allowing back-to-back logins?

@imhotep
Copy link

imhotep commented Jun 27, 2021

I am also having this issue. It seems like the wyzecam-to-rtmp script can only run one camera at a time.

@jims777
Copy link

jims777 commented Jun 27, 2021

I can get 2, sometimes 3, cameras going at the same time. And it seems to be different cameras depending on which ones I try first. I get "ERR: no one is publishing to path" from the log above and also "ERR: path must end with a slash".

From a discussion for another program also using rtsp-simple-server, there is some special consideration when using rtsp-simple-streamer and ffmpeg in the same docker. See the last message:

bluenviron/mediamtx#433

@mrlt8
Copy link
Owner

mrlt8 commented Jun 28, 2021

Made some changes to try to catch the failed login or ffmpeg error and restart wyzecam-to-rtmp.py when it does..

I've run into them in the past, but they seem to come and go, which makes it hard to debug!

@SomebodySysop
Copy link
Author

Made some changes to try to catch the failed login or ffmpeg error and restart wyzecam-to-rtmp.py when it does..

I've run into them in the past, but they seem to come and go, which makes it hard to debug!

Cool! I know it sounds like a dumb question, but how do I get these changes. I'm like totally new to docker.

@mrlt8
Copy link
Owner

mrlt8 commented Jun 28, 2021

You may need to edit your docker-compose.yml with your credentials after pulling the changes.

You can try something like this to rebuild the container:

docker-compose up --build --force-recreate --remove-orphans

@SomebodySysop
Copy link
Author

You may need to edit your docker-compose.yml with your credentials after pulling the changes.

You can try something like this to rebuild the container:

docker-compose up --build --force-recreate --remove-orphans

Simple enough. Don't need to specifically pull the new image first?

@mrlt8
Copy link
Owner

mrlt8 commented Jun 28, 2021

git reset --hard HEAD
git pull

That should pull the latest changes, and you'll probably need to update your credentials in docker-compose.yml before rebuiling.

@jims777
Copy link

jims777 commented Jun 28, 2021

I'm still getting errors when trying to open more than 2 or 3 cams. The changes seem to make the streams that aren't going to connect die faster if that makes sense. VLC gives more errors, faster. Here is a log. I was manually trying to view the streams with VLC from another computer so I didn't try to access them all.

Starting rtsp-server ... done
Starting wyze-bridge ... done
Attaching to rtsp-server, wyze-bridge
rtsp-server       | 2021/06/28 21:22:14 I [0/0] rtsp-simple-server v0.16.3
rtsp-server       | 2021/06/28 21:22:14 I [0/0] [RTSP] TCP listener opened on :8554
rtsp-server       | 2021/06/28 21:22:14 I [0/0] [RTMP] listener opened on :1935
rtsp-server       | 2021/06/28 21:22:14 I [0/0] [HLS] listener opened on :8888
wyze-bridge       | [Wyze v3]: Starting...
wyze-bridge       | [Northeast Cam]: Starting...
wyze-bridge       | [Back Porch Cam]: Starting...
wyze-bridge       | [Southwest Cam]: Starting...
wyze-bridge       | [Southeast Cam]: Starting...
wyze-bridge       | [Wyze sense hub]: Starting...
wyze-bridge       | [Parking Cam]: Starting...
wyze-bridge       | [Porch Cam]: Starting...
wyze-bridge       | [Garage Cam]: Starting...
wyze-bridge       | [Wyze sense hub]: requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://aut                                                                                                            h-prod.api.wyze.com/user/login
wyze-bridge       | [Wyze sense hub]: Starting...
rtsp-server       | 2021/06/28 21:22:29 I [0/0] [RTMP] [conn 172.18.0.3:49800] opened
rtsp-server       | 2021/06/28 21:22:29 I [1/0] [RTMP] [conn 172.18.0.3:49800] is publishing to path 'parking-cam', 1 track
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50913] opened
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50913] ERR: no one is publishing to path 'northeast-ca                                                                                                            m'
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50913] closed
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50914] opened
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [session 3578207389] opened by 192.168.0.109:50914
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50914] ERR: path must end with a slash (northeast-cam)
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50914] closed
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [session 3578207389] closed
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50915] opened
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50915] closed
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50916] opened
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50916] ERR: no one is publishing to path 'northeast-ca                                                                                                            m'
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50916] closed
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50917] opened
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [session 1513932483] opened by 192.168.0.109:50917
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50917] ERR: path must end with a slash (northeast-cam)
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50917] closed
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [session 1513932483] closed
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50918] opened
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50918] closed
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTMP] [conn 172.18.0.3:49808] opened
rtsp-server       | 2021/06/28 21:22:35 I [2/0] [RTMP] [conn 172.18.0.3:49808] is publishing to path 'garage-cam', 1 track
rtsp-server       | 2021/06/28 21:22:35 I [2/0] [RTSP] [conn 192.168.0.109:50919] opened
rtsp-server       | 2021/06/28 21:22:35 I [2/0] [RTSP] [conn 192.168.0.109:50919] ERR: no one is publishing to path 'northeast-ca                                                                                                            m'
rtsp-server       | 2021/06/28 21:22:35 I [2/0] [RTSP] [conn 192.168.0.109:50919] closed
rtsp-server       | 2021/06/28 21:22:35 I [2/0] [RTSP] [conn 192.168.0.109:50920] opened
rtsp-server       | 2021/06/28 21:22:35 I [2/0] [RTSP] [session 1292461260] opened by 192.168.0.109:50920
rtsp-server       | 2021/06/28 21:22:35 I [2/0] [RTSP] [conn 192.168.0.109:50920] ERR: path must end with a slash (northeast-cam)
rtsp-server       | 2021/06/28 21:22:35 I [2/0] [RTSP] [conn 192.168.0.109:50920] closed
rtsp-server       | 2021/06/28 21:22:35 I [2/0] [RTSP] [conn 192.168.0.109:50921] opened
rtsp-server       | 2021/06/28 21:22:35 I [2/0] [RTSP] [session 1292461260] closed
rtsp-server       | 2021/06/28 21:22:35 I [2/0] [RTSP] [conn 192.168.0.109:50921] closed
rtsp-server       | 2021/06/28 21:22:35 I [2/0] [RTMP] [conn 172.18.0.3:49810] opened
rtsp-server       | 2021/06/28 21:22:35 I [3/0] [RTMP] [conn 172.18.0.3:49810] is publishing to path 'northeast-cam', 1 track
rtsp-server       | 2021/06/28 21:22:35 I [3/0] [RTMP] [conn 172.18.0.3:49812] opened
rtsp-server       | 2021/06/28 21:22:35 I [4/0] [RTMP] [conn 172.18.0.3:49812] is publishing to path 'porch-cam', 1 track
rtsp-server       | 2021/06/28 21:22:35 I [4/0] [RTMP] [conn 172.18.0.3:49814] opened
rtsp-server       | 2021/06/28 21:22:35 I [4/0] [path northeast-cam] closing existing publisher
rtsp-server       | 2021/06/28 21:22:35 I [4/0] [RTMP] [conn 172.18.0.3:49814] is publishing to path 'northeast-cam', 1 track
rtsp-server       | 2021/06/28 21:22:35 I [4/0] [RTMP] [conn 172.18.0.3:49810] closed
rtsp-server       | 2021/06/28 21:22:35 I [4/0] [RTSP] [conn 192.168.0.109:50922] opened
rtsp-server       | 2021/06/28 21:22:35 I [4/0] [RTSP] [session 3557046373] opened by 192.168.0.109:50922
rtsp-server       | 2021/06/28 21:22:35 I [4/0] [RTSP] [session 1894507704] opened by 192.168.0.109:50922
rtsp-server       | 2021/06/28 21:22:35 I [4/1] [RTSP] [session 1894507704] is reading from path 'northeast-cam', 1 track with TC                                                                                                            P
rtsp-server       | 2021/06/28 21:22:35 I [4/1] [RTMP] [conn 172.18.0.3:49816] opened
rtsp-server       | 2021/06/28 21:22:35 I [5/1] [RTMP] [conn 172.18.0.3:49816] is publishing to path 'back-porch-cam', 1 track
wyze-bridge       | [Wyze v3]: Conversion failed!
rtsp-server       | 2021/06/28 21:22:36 I [5/1] [RTMP] [conn 172.18.0.3:49818] opened
rtsp-server       | 2021/06/28 21:22:36 I [6/1] [RTMP] [conn 172.18.0.3:49818] is publishing to path 'southwest-cam', 1 track
rtsp-server       | 2021/06/28 21:22:36 I [6/1] [RTMP] [conn 172.18.0.3:49820] opened
rtsp-server       | 2021/06/28 21:22:36 I [7/1] [RTMP] [conn 172.18.0.3:49820] is publishing to path 'southeast-cam', 1 track
wyze-bridge       | [Wyze v3]: Starting...
rtsp-server       | 2021/06/28 21:23:05 I [7/1] [RTSP] [conn 192.168.0.109:50926] opened
rtsp-server       | 2021/06/28 21:23:05 I [7/1] [RTSP] [session 383495580] opened by 192.168.0.109:50926
rtsp-server       | 2021/06/28 21:23:05 I [7/1] [RTSP] [session 3311048151] opened by 192.168.0.109:50926
rtsp-server       | 2021/06/28 21:23:05 I [7/2] [RTSP] [session 3311048151] is reading from path 'garage-cam', 1 track with TCP
rtsp-server       | 2021/06/28 21:23:22 I [7/2] [RTMP] [conn 172.18.0.3:49820] ERR: read tcp 172.18.0.2:1935->172.18.0.3:49820: i                                                                                                            /o timeout
rtsp-server       | 2021/06/28 21:23:22 I [6/2] [RTMP] [conn 172.18.0.3:49820] closed
wyze-bridge       | [Southeast Cam]: Conversion failed!
wyze-bridge       | [Southeast Cam]: Starting...
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50929] opened
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50929] ERR: no one is publishing to path 'southeast-ca                                                                                                            m'
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50929] closed
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50930] opened
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [session 1982239893] opened by 192.168.0.109:50930
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50930] ERR: path must end with a slash (southeast-cam)
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50930] closed
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [session 1982239893] closed
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50931] opened
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50931] closed
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50932] opened
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50932] ERR: no one is publishing to path 'southeast-ca                                                                                                            m'
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50932] closed
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50933] opened
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [session 3984774934] opened by 192.168.0.109:50933
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50933] ERR: path must end with a slash (southeast-cam)
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50933] closed
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [session 3984774934] closed
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50934] opened
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50934] closed
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50935] opened
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50935] ERR: no one is publishing to path 'southeast-ca                                                                                                            m'
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50935] closed
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50936] opened
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [session 1858725682] opened by 192.168.0.109:50936
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50936] ERR: path must end with a slash (southeast-cam)
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50936] closed
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [session 1858725682] closed
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50937] opened
rtsp-server       | 2021/06/28 21:23:36 I [6/2] [RTSP] [conn 192.168.0.109:50937] closed
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [conn 192.168.0.109:50938] opened
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [conn 192.168.0.109:50938] ERR: no one is publishing to path 'southeast-ca                                                                                                            m'
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [conn 192.168.0.109:50938] closed
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [conn 192.168.0.109:50939] opened
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [session 2027620738] opened by 192.168.0.109:50939
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [conn 192.168.0.109:50940] opened
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [conn 192.168.0.109:50939] ERR: path must end with a slash (southeast-cam)
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [conn 192.168.0.109:50939] closed
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [session 2027620738] closed
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [conn 192.168.0.109:50940] closed
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [conn 192.168.0.109:50941] opened
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [conn 192.168.0.109:50941] ERR: no one is publishing to path 'southeast-ca                                                                                                            m'
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [conn 192.168.0.109:50941] closed
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [conn 192.168.0.109:50942] opened
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [session 175131350] opened by 192.168.0.109:50942
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [session 175131350] closed
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [conn 192.168.0.109:50942] ERR: path must end with a slash (southeast-cam)
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [conn 192.168.0.109:50942] closed
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [conn 192.168.0.109:50943] opened
rtsp-server       | 2021/06/28 21:23:37 I [6/2] [RTSP] [conn 192.168.0.109:50943] closed
rtsp-server       | 2021/06/28 21:23:39 I [6/2] [RTSP] [conn 192.168.0.109:50944] opened
rtsp-server       | 2021/06/28 21:23:39 I [6/2] [RTSP] [conn 192.168.0.109:50944] ERR: no one is publishing to path 'southeast-ca                                                                                                            m'
rtsp-server       | 2021/06/28 21:23:39 I [6/2] [RTSP] [conn 192.168.0.109:50944] closed
rtsp-server       | 2021/06/28 21:23:39 I [6/2] [RTSP] [conn 192.168.0.109:50945] opened
rtsp-server       | 2021/06/28 21:23:39 I [6/2] [RTSP] [session 3111003738] opened by 192.168.0.109:50945
rtsp-server       | 2021/06/28 21:23:39 I [6/2] [RTSP] [conn 192.168.0.109:50946] opened
rtsp-server       | 2021/06/28 21:23:39 I [6/2] [RTSP] [session 3111003738] closed
rtsp-server       | 2021/06/28 21:23:39 I [6/2] [RTSP] [conn 192.168.0.109:50946] closed
rtsp-server       | 2021/06/28 21:23:39 I [6/2] [RTSP] [conn 192.168.0.109:50945] ERR: path must end with a slash (southeast-cam)
rtsp-server       | 2021/06/28 21:23:39 I [6/2] [RTSP] [conn 192.168.0.109:50945] closed
rtsp-server       | 2021/06/28 21:23:42 I [6/2] [RTSP] [conn 192.168.0.109:50947] opened
rtsp-server       | 2021/06/28 21:23:42 I [6/2] [RTSP] [conn 192.168.0.109:50947] ERR: no one is publishing to path 'southeast-ca                                                                                                            m'
rtsp-server       | 2021/06/28 21:23:42 I [6/2] [RTSP] [conn 192.168.0.109:50947] closed
rtsp-server       | 2021/06/28 21:23:42 I [6/2] [RTSP] [conn 192.168.0.109:50948] opened
rtsp-server       | 2021/06/28 21:23:42 I [6/2] [RTSP] [session 639089945] opened by 192.168.0.109:50948
rtsp-server       | 2021/06/28 21:23:42 I [6/2] [RTSP] [conn 192.168.0.109:50948] ERR: path must end with a slash (southeast-cam)
rtsp-server       | 2021/06/28 21:23:42 I [6/2] [RTSP] [conn 192.168.0.109:50948] closed
rtsp-server       | 2021/06/28 21:23:42 I [6/2] [RTSP] [session 639089945] closed
rtsp-server       | 2021/06/28 21:23:42 I [6/2] [RTSP] [conn 192.168.0.109:50949] opened
rtsp-server       | 2021/06/28 21:23:42 I [6/2] [RTSP] [conn 192.168.0.109:50949] closed
rtsp-server       | 2021/06/28 21:23:46 I [6/2] [RTSP] [conn 192.168.0.109:50950] opened
rtsp-server       | 2021/06/28 21:23:46 I [6/2] [RTSP] [conn 192.168.0.109:50950] ERR: no one is publishing to path 'southeast-ca                                                                                                            m'
rtsp-server       | 2021/06/28 21:23:46 I [6/2] [RTSP] [conn 192.168.0.109:50950] closed
rtsp-server       | 2021/06/28 21:23:46 I [6/2] [RTSP] [conn 192.168.0.109:50951] opened
rtsp-server       | 2021/06/28 21:23:46 I [6/2] [RTSP] [session 788057660] opened by 192.168.0.109:50951
rtsp-server       | 2021/06/28 21:23:46 I [6/2] [RTSP] [session 788057660] closed
rtsp-server       | 2021/06/28 21:23:46 I [6/2] [RTSP] [conn 192.168.0.109:50951] ERR: path must end with a slash (southeast-cam)
rtsp-server       | 2021/06/28 21:23:46 I [6/2] [RTSP] [conn 192.168.0.109:50951] closed
rtsp-server       | 2021/06/28 21:23:46 I [6/2] [RTSP] [conn 192.168.0.109:50952] opened
rtsp-server       | 2021/06/28 21:23:46 I [6/2] [RTSP] [conn 192.168.0.109:50952] closed
rtsp-server       | 2021/06/28 21:23:49 I [6/2] [RTSP] [conn 192.168.0.109:50954] opened
rtsp-server       | 2021/06/28 21:23:49 I [6/2] [RTSP] [conn 192.168.0.109:50954] ERR: no one is publishing to path 'southeast-ca                                                                                                            m'
rtsp-server       | 2021/06/28 21:23:49 I [6/2] [RTSP] [conn 192.168.0.109:50954] closed
rtsp-server       | 2021/06/28 21:23:49 I [6/2] [RTSP] [conn 192.168.0.109:50955] opened
rtsp-server       | 2021/06/28 21:23:49 I [6/2] [RTSP] [session 1521959731] opened by 192.168.0.109:50955
rtsp-server       | 2021/06/28 21:23:49 I [6/2] [RTSP] [conn 192.168.0.109:50955] ERR: path must end with a slash (southeast-cam)
rtsp-server       | 2021/06/28 21:23:49 I [6/2] [RTSP] [conn 192.168.0.109:50955] closed
rtsp-server       | 2021/06/28 21:23:49 I [6/2] [RTSP] [session 1521959731] closed
rtsp-server       | 2021/06/28 21:23:49 I [6/2] [RTSP] [conn 192.168.0.109:50956] opened
rtsp-server       | 2021/06/28 21:23:49 I [6/2] [RTSP] [conn 192.168.0.109:50956] closed
rtsp-server       | 2021/06/28 21:23:52 I [6/2] [RTSP] [conn 192.168.0.109:50957] opened
rtsp-server       | 2021/06/28 21:23:52 I [6/2] [RTSP] [conn 192.168.0.109:50957] ERR: no one is publishing to path 'southeast-ca                                                                                                            m'
rtsp-server       | 2021/06/28 21:23:52 I [6/2] [RTSP] [conn 192.168.0.109:50957] closed
rtsp-server       | 2021/06/28 21:23:52 I [6/2] [RTSP] [conn 192.168.0.109:50958] opened
rtsp-server       | 2021/06/28 21:23:52 I [6/2] [RTSP] [session 2985918677] opened by 192.168.0.109:50958
rtsp-server       | 2021/06/28 21:23:52 I [6/2] [RTSP] [session 2985918677] closed
rtsp-server       | 2021/06/28 21:23:52 I [6/2] [RTSP] [conn 192.168.0.109:50958] ERR: path must end with a slash (southeast-cam)
rtsp-server       | 2021/06/28 21:23:52 I [6/2] [RTSP] [conn 192.168.0.109:50958] closed
rtsp-server       | 2021/06/28 21:23:52 I [6/2] [RTSP] [conn 192.168.0.109:50959] opened
rtsp-server       | 2021/06/28 21:23:52 I [6/2] [RTSP] [conn 192.168.0.109:50959] closed
rtsp-server       | 2021/06/28 21:23:55 I [6/2] [RTSP] [conn 192.168.0.109:50961] opened
rtsp-server       | 2021/06/28 21:23:55 I [6/2] [RTSP] [conn 192.168.0.109:50961] ERR: no one is publishing to path 'southeast-ca                                                                                                            m'
rtsp-server       | 2021/06/28 21:23:55 I [6/2] [RTSP] [conn 192.168.0.109:50961] closed
rtsp-server       | 2021/06/28 21:23:55 I [6/2] [RTSP] [conn 192.168.0.109:50962] opened
rtsp-server       | 2021/06/28 21:23:55 I [6/2] [RTSP] [session 537838720] opened by 192.168.0.109:50962
rtsp-server       | 2021/06/28 21:23:55 I [6/2] [RTSP] [conn 192.168.0.109:50962] ERR: path must end with a slash (southeast-cam)
rtsp-server       | 2021/06/28 21:23:55 I [6/2] [RTSP] [session 537838720] closed
rtsp-server       | 2021/06/28 21:23:55 I [6/2] [RTSP] [conn 192.168.0.109:50963] opened
rtsp-server       | 2021/06/28 21:23:55 I [6/2] [RTSP] [conn 192.168.0.109:50962] closed
rtsp-server       | 2021/06/28 21:23:55 I [6/2] [RTSP] [conn 192.168.0.109:50963] closed
rtsp-server       | 2021/06/28 21:23:56 I [6/2] [RTMP] [conn 172.18.0.3:49808] ERR: read tcp 172.18.0.2:1935->172.18.0.3:49808: i                                                                                                            /o timeout
rtsp-server       | 2021/06/28 21:23:56 I [5/1] [RTSP] [conn 192.168.0.109:50926] closed
rtsp-server       | 2021/06/28 21:23:56 I [5/1] [RTSP] [session 3311048151] closed
rtsp-server       | 2021/06/28 21:23:56 I [5/1] [RTMP] [conn 172.18.0.3:49808] closed
rtsp-server       | 2021/06/28 21:23:56 I [5/1] [RTSP] [session 383495580] closed
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50965] opened
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50965] ERR: no one is publishing to path 'garage-cam'
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50965] closed
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50966] opened
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [session 3205382815] opened by 192.168.0.109:50966
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [session 3205382815] closed
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50966] ERR: path must end with a slash (garage-cam)
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50966] closed
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50967] opened
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50967] closed
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50968] opened
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50968] ERR: no one is publishing to path 'garage-cam'
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50968] closed
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50969] opened
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [session 3913187460] opened by 192.168.0.109:50969
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [session 3913187460] closed
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50969] ERR: path must end with a slash (garage-cam)
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50969] closed
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50970] opened
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50970] closed
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50971] opened
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50971] ERR: no one is publishing to path 'garage-cam'
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50971] closed
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50972] opened
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [session 140601434] opened by 192.168.0.109:50972
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50972] ERR: path must end with a slash (garage-cam)
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50972] closed
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [session 140601434] closed
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50973] opened
rtsp-server       | 2021/06/28 21:23:57 I [5/1] [RTSP] [conn 192.168.0.109:50973] closed
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [conn 192.168.0.109:50975] opened
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [conn 192.168.0.109:50975] ERR: no one is publishing to path 'garage-cam'
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [conn 192.168.0.109:50975] closed
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [conn 192.168.0.109:50976] opened
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [session 3457170] opened by 192.168.0.109:50976
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [conn 192.168.0.109:50976] ERR: path must end with a slash (garage-cam)
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [conn 192.168.0.109:50976] closed
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [session 3457170] closed
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [conn 192.168.0.109:50977] opened
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [conn 192.168.0.109:50977] closed
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [conn 192.168.0.109:50979] opened
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [conn 192.168.0.109:50979] ERR: no one is publishing to path 'southeast-ca                                                                                                            m'
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [conn 192.168.0.109:50979] closed
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [conn 192.168.0.109:50980] opened
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [session 2710877054] opened by 192.168.0.109:50980
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [conn 192.168.0.109:50980] ERR: path must end with a slash (southeast-cam)
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [conn 192.168.0.109:50980] closed
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [conn 192.168.0.109:50981] opened
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [session 2710877054] closed
rtsp-server       | 2021/06/28 21:23:58 I [5/1] [RTSP] [conn 192.168.0.109:50981] closed
rtsp-server       | 2021/06/28 21:23:59 I [5/1] [RTSP] [conn 192.168.0.109:50982] opened
rtsp-server       | 2021/06/28 21:23:59 I [5/1] [RTSP] [conn 192.168.0.109:50982] ERR: no one is publishing to path 'garage-cam'
rtsp-server       | 2021/06/28 21:23:59 I [5/1] [RTSP] [conn 192.168.0.109:50982] closed
rtsp-server       | 2021/06/28 21:23:59 I [5/1] [RTSP] [conn 192.168.0.109:50983] opened
rtsp-server       | 2021/06/28 21:23:59 I [5/1] [RTSP] [session 3003436445] opened by 192.168.0.109:50983
rtsp-server       | 2021/06/28 21:23:59 I [5/1] [RTSP] [conn 192.168.0.109:50983] ERR: path must end with a slash (garage-cam)
rtsp-server       | 2021/06/28 21:23:59 I [5/1] [RTSP] [conn 192.168.0.109:50983] closed
rtsp-server       | 2021/06/28 21:23:59 I [5/1] [RTSP] [session 3003436445] closed
rtsp-server       | 2021/06/28 21:23:59 I [5/1] [RTSP] [conn 192.168.0.109:50984] opened
rtsp-server       | 2021/06/28 21:23:59 I [5/1] [RTSP] [conn 192.168.0.109:50984] closed
rtsp-server       | 2021/06/28 21:24:00 I [5/1] [RTSP] [conn 192.168.0.109:50985] opened
rtsp-server       | 2021/06/28 21:24:00 I [5/1] [RTSP] [conn 192.168.0.109:50985] ERR: no one is publishing to path 'garage-cam'
rtsp-server       | 2021/06/28 21:24:00 I [5/1] [RTSP] [conn 192.168.0.109:50985] closed
rtsp-server       | 2021/06/28 21:24:00 I [5/1] [RTSP] [conn 192.168.0.109:50986] opened
rtsp-server       | 2021/06/28 21:24:00 I [5/1] [RTSP] [session 1967248814] opened by 192.168.0.109:50986
rtsp-server       | 2021/06/28 21:24:00 I [5/1] [RTSP] [session 1967248814] closed
rtsp-server       | 2021/06/28 21:24:00 I [5/1] [RTSP] [conn 192.168.0.109:50986] ERR: path must end with a slash (garage-cam)
rtsp-server       | 2021/06/28 21:24:00 I [5/1] [RTSP] [conn 192.168.0.109:50986] closed
rtsp-server       | 2021/06/28 21:24:00 I [5/1] [RTSP] [conn 192.168.0.109:50987] opened
rtsp-server       | 2021/06/28 21:24:00 I [5/1] [RTSP] [conn 192.168.0.109:50987] closed
rtsp-server       | 2021/06/28 21:24:01 I [5/1] [RTMP] [conn 172.18.0.3:49834] opened
wyze-bridge       | [Southeast Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/southeast-cam':
rtsp-server       | 2021/06/28 21:24:01 I [6/1] [RTMP] [conn 172.18.0.3:49834] is publishing to path 'southeast-cam', 1 track
rtsp-server       | 2021/06/28 21:24:02 I [6/1] [RTSP] [conn 192.168.0.109:50988] opened
rtsp-server       | 2021/06/28 21:24:02 I [6/1] [RTSP] [session 1461676011] opened by 192.168.0.109:50988
rtsp-server       | 2021/06/28 21:24:02 I [6/1] [RTSP] [session 86358064] opened by 192.168.0.109:50988
rtsp-server       | 2021/06/28 21:24:02 I [6/2] [RTSP] [session 86358064] is reading from path 'southeast-cam', 1 track with TCP
rtsp-server       | 2021/06/28 21:24:02 I [6/2] [RTMP] [conn 172.18.0.3:49816] ERR: read tcp 172.18.0.2:1935->172.18.0.3:49816: i                                                                                                            /o timeout
rtsp-server       | 2021/06/28 21:24:02 I [5/2] [RTMP] [conn 172.18.0.3:49816] closed
rtsp-server       | 2021/06/28 21:24:03 I [5/2] [RTSP] [conn 192.168.0.109:50989] opened
rtsp-server       | 2021/06/28 21:24:03 I [5/2] [RTSP] [conn 192.168.0.109:50989] ERR: no one is publishing to path 'garage-cam'
rtsp-server       | 2021/06/28 21:24:03 I [5/2] [RTSP] [conn 192.168.0.109:50989] closed
rtsp-server       | 2021/06/28 21:24:03 I [5/2] [RTSP] [conn 192.168.0.109:50990] opened
rtsp-server       | 2021/06/28 21:24:03 I [5/2] [RTSP] [session 458068091] opened by 192.168.0.109:50990
rtsp-server       | 2021/06/28 21:24:03 I [5/2] [RTSP] [conn 192.168.0.109:50990] ERR: path must end with a slash (garage-cam)
rtsp-server       | 2021/06/28 21:24:03 I [5/2] [RTSP] [conn 192.168.0.109:50990] closed
rtsp-server       | 2021/06/28 21:24:03 I [5/2] [RTSP] [session 458068091] closed
rtsp-server       | 2021/06/28 21:24:03 I [5/2] [RTSP] [conn 192.168.0.109:50991] opened
rtsp-server       | 2021/06/28 21:24:03 I [5/2] [RTSP] [conn 192.168.0.109:50991] closed
rtsp-server       | 2021/06/28 21:24:07 I [5/2] [RTSP] [conn 192.168.0.109:50992] opened
rtsp-server       | 2021/06/28 21:24:07 I [5/2] [RTSP] [conn 192.168.0.109:50992] ERR: no one is publishing to path 'garage-cam'
rtsp-server       | 2021/06/28 21:24:07 I [5/2] [RTSP] [conn 192.168.0.109:50992] closed
rtsp-server       | 2021/06/28 21:24:07 I [5/2] [RTSP] [conn 192.168.0.109:50993] opened
rtsp-server       | 2021/06/28 21:24:07 I [5/2] [RTSP] [session 2654781777] opened by 192.168.0.109:50993
rtsp-server       | 2021/06/28 21:24:07 I [5/2] [RTSP] [session 2654781777] closed
rtsp-server       | 2021/06/28 21:24:07 I [5/2] [RTSP] [conn 192.168.0.109:50993] ERR: path must end with a slash (garage-cam)
rtsp-server       | 2021/06/28 21:24:07 I [5/2] [RTSP] [conn 192.168.0.109:50993] closed
rtsp-server       | 2021/06/28 21:24:07 I [5/2] [RTSP] [conn 192.168.0.109:50994] opened
rtsp-server       | 2021/06/28 21:24:07 I [5/2] [RTSP] [conn 192.168.0.109:50994] closed
rtsp-server       | 2021/06/28 21:24:10 I [5/2] [RTSP] [conn 192.168.0.109:50995] opened
rtsp-server       | 2021/06/28 21:24:10 I [5/2] [RTSP] [conn 192.168.0.109:50995] ERR: no one is publishing to path 'garage-cam'
rtsp-server       | 2021/06/28 21:24:10 I [5/2] [RTSP] [conn 192.168.0.109:50995] closed
rtsp-server       | 2021/06/28 21:24:10 I [5/2] [RTSP] [conn 192.168.0.109:50996] opened
rtsp-server       | 2021/06/28 21:24:10 I [5/2] [RTSP] [session 2686984347] opened by 192.168.0.109:50996
rtsp-server       | 2021/06/28 21:24:10 I [5/2] [RTSP] [session 2686984347] closed
rtsp-server       | 2021/06/28 21:24:10 I [5/2] [RTSP] [conn 192.168.0.109:50996] ERR: path must end with a slash (garage-cam)
rtsp-server       | 2021/06/28 21:24:10 I [5/2] [RTSP] [conn 192.168.0.109:50996] closed
rtsp-server       | 2021/06/28 21:24:10 I [5/2] [RTSP] [conn 192.168.0.109:50997] opened
rtsp-server       | 2021/06/28 21:24:10 I [5/2] [RTSP] [conn 192.168.0.109:50997] closed
rtsp-server       | 2021/06/28 21:24:12 I [5/2] [RTSP] [conn 192.168.0.109:50998] opened
rtsp-server       | 2021/06/28 21:24:12 I [5/2] [RTSP] [session 2657336491] opened by 192.168.0.109:50998
rtsp-server       | 2021/06/28 21:24:12 I [5/2] [RTSP] [session 280903729] opened by 192.168.0.109:50998
rtsp-server       | 2021/06/28 21:24:12 I [5/3] [RTSP] [session 280903729] is reading from path 'southwest-cam', 1 track with TCP
rtsp-server       | 2021/06/28 21:24:13 I [5/3] [RTSP] [conn 192.168.0.109:50999] opened
rtsp-server       | 2021/06/28 21:24:13 I [5/3] [RTSP] [conn 192.168.0.109:50999] ERR: no one is publishing to path 'garage-cam'
rtsp-server       | 2021/06/28 21:24:13 I [5/3] [RTSP] [conn 192.168.0.109:50999] closed
rtsp-server       | 2021/06/28 21:24:13 I [5/3] [RTSP] [conn 192.168.0.109:51000] opened
rtsp-server       | 2021/06/28 21:24:13 I [5/3] [RTSP] [session 657251103] opened by 192.168.0.109:51000
rtsp-server       | 2021/06/28 21:24:13 I [5/3] [RTSP] [conn 192.168.0.109:51000] ERR: path must end with a slash (garage-cam)
rtsp-server       | 2021/06/28 21:24:13 I [5/3] [RTSP] [conn 192.168.0.109:51000] closed
rtsp-server       | 2021/06/28 21:24:13 I [5/3] [RTSP] [session 657251103] closed
rtsp-server       | 2021/06/28 21:24:13 I [5/3] [RTSP] [conn 192.168.0.109:51001] opened
rtsp-server       | 2021/06/28 21:24:13 I [5/3] [RTSP] [conn 192.168.0.109:51001] closed
rtsp-server       | 2021/06/28 21:24:16 I [5/3] [RTSP] [conn 192.168.0.109:51002] opened
rtsp-server       | 2021/06/28 21:24:16 I [5/3] [RTSP] [conn 192.168.0.109:51002] ERR: no one is publishing to path 'garage-cam'
rtsp-server       | 2021/06/28 21:24:16 I [5/3] [RTSP] [conn 192.168.0.109:51002] closed
rtsp-server       | 2021/06/28 21:24:16 I [5/3] [RTSP] [conn 192.168.0.109:51003] opened
rtsp-server       | 2021/06/28 21:24:16 I [5/3] [RTSP] [session 638690941] opened by 192.168.0.109:51003
rtsp-server       | 2021/06/28 21:24:16 I [5/3] [RTSP] [conn 192.168.0.109:51003] ERR: path must end with a slash (garage-cam)
rtsp-server       | 2021/06/28 21:24:16 I [5/3] [RTSP] [conn 192.168.0.109:51003] closed
rtsp-server       | 2021/06/28 21:24:16 I [5/3] [RTSP] [session 638690941] closed
rtsp-server       | 2021/06/28 21:24:16 I [5/3] [RTSP] [conn 192.168.0.109:51004] opened
rtsp-server       | 2021/06/28 21:24:16 I [5/3] [RTSP] [conn 192.168.0.109:51004] closed
rtsp-server       | 2021/06/28 21:24:20 I [5/3] [RTSP] [conn 192.168.0.109:51005] opened
rtsp-server       | 2021/06/28 21:24:20 I [5/3] [RTSP] [conn 192.168.0.109:51005] ERR: no one is publishing to path 'garage-cam'
rtsp-server       | 2021/06/28 21:24:20 I [5/3] [RTSP] [conn 192.168.0.109:51005] closed
rtsp-server       | 2021/06/28 21:24:20 I [5/3] [RTSP] [conn 192.168.0.109:51006] opened
rtsp-server       | 2021/06/28 21:24:20 I [5/3] [RTSP] [session 835786418] opened by 192.168.0.109:51006
rtsp-server       | 2021/06/28 21:24:20 I [5/3] [RTSP] [session 835786418] closed
rtsp-server       | 2021/06/28 21:24:20 I [5/3] [RTSP] [conn 192.168.0.109:51007] opened
rtsp-server       | 2021/06/28 21:24:20 I [5/3] [RTSP] [conn 192.168.0.109:51006] ERR: path must end with a slash (garage-cam)
rtsp-server       | 2021/06/28 21:24:20 I [5/3] [RTSP] [conn 192.168.0.109:51006] closed
rtsp-server       | 2021/06/28 21:24:20 I [5/3] [RTSP] [conn 192.168.0.109:51007] closed
rtsp-server       | 2021/06/28 21:24:21 I [5/3] [RTSP] [conn 192.168.0.109:51008] opened
rtsp-server       | 2021/06/28 21:24:21 I [5/3] [RTSP] [conn 192.168.0.109:51008] ERR: no one is publishing to path 'garage-cam'
rtsp-server       | 2021/06/28 21:24:21 I [5/3] [RTSP] [conn 192.168.0.109:51008] closed
rtsp-server       | 2021/06/28 21:24:21 I [5/3] [RTSP] [conn 192.168.0.109:51009] opened
rtsp-server       | 2021/06/28 21:24:21 I [5/3] [RTSP] [session 3020823774] opened by 192.168.0.109:51009
rtsp-server       | 2021/06/28 21:24:21 I [5/3] [RTSP] [conn 192.168.0.109:51009] ERR: path must end with a slash (garage-cam)
rtsp-server       | 2021/06/28 21:24:21 I [5/3] [RTSP] [conn 192.168.0.109:51009] closed
rtsp-server       | 2021/06/28 21:24:21 I [5/3] [RTSP] [session 3020823774] closed
rtsp-server       | 2021/06/28 21:24:21 I [5/3] [RTSP] [conn 192.168.0.109:51010] opened
rtsp-server       | 2021/06/28 21:24:21 I [5/3] [RTSP] [conn 192.168.0.109:51010] closed
rtsp-server       | 2021/06/28 21:24:25 I [5/3] [RTSP] [conn 192.168.0.109:51011] opened
rtsp-server       | 2021/06/28 21:24:25 I [5/3] [RTSP] [conn 192.168.0.109:51011] ERR: no one is publishing to path 'garage-cam'
rtsp-server       | 2021/06/28 21:24:25 I [5/3] [RTSP] [conn 192.168.0.109:51011] closed
rtsp-server       | 2021/06/28 21:24:25 I [5/3] [RTSP] [conn 192.168.0.109:51012] opened
rtsp-server       | 2021/06/28 21:24:25 I [5/3] [RTSP] [session 517406401] opened by 192.168.0.109:51012
rtsp-server       | 2021/06/28 21:24:25 I [5/3] [RTSP] [conn 192.168.0.109:51012] ERR: path must end with a slash (garage-cam)
rtsp-server       | 2021/06/28 21:24:25 I [5/3] [RTSP] [conn 192.168.0.109:51012] closed
rtsp-server       | 2021/06/28 21:24:25 I [5/3] [RTSP] [session 517406401] closed
rtsp-server       | 2021/06/28 21:24:25 I [5/3] [RTSP] [conn 192.168.0.109:51013] opened
rtsp-server       | 2021/06/28 21:24:25 I [5/3] [RTSP] [conn 192.168.0.109:51013] closed
rtsp-server       | 2021/06/28 21:24:28 I [5/3] [RTSP] [conn 192.168.0.109:51014] opened
rtsp-server       | 2021/06/28 21:24:28 I [5/3] [RTSP] [conn 192.168.0.109:51014] ERR: no one is publishing to path 'garage-cam'
rtsp-server       | 2021/06/28 21:24:28 I [5/3] [RTSP] [conn 192.168.0.109:51014] closed
rtsp-server       | 2021/06/28 21:24:28 I [5/3] [RTSP] [conn 192.168.0.109:51015] opened
rtsp-server       | 2021/06/28 21:24:28 I [5/3] [RTSP] [session 4054557843] opened by 192.168.0.109:51015
rtsp-server       | 2021/06/28 21:24:28 I [5/3] [RTSP] [conn 192.168.0.109:51016] opened
rtsp-server       | 2021/06/28 21:24:28 I [5/3] [RTSP] [conn 192.168.0.109:51015] ERR: path must end with a slash (garage-cam)
rtsp-server       | 2021/06/28 21:24:28 I [5/3] [RTSP] [conn 192.168.0.109:51015] closed
rtsp-server       | 2021/06/28 21:24:28 I [5/3] [RTSP] [session 4054557843] closed
rtsp-server       | 2021/06/28 21:24:28 I [5/3] [RTSP] [conn 192.168.0.109:51016] closed
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [conn 192.168.0.109:51017] opened
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [conn 192.168.0.109:51017] ERR: no one is publishing to path 'garage-cam'
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [conn 192.168.0.109:51017] closed
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [conn 192.168.0.109:51018] opened
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [session 2856051446] opened by 192.168.0.109:51018
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [conn 192.168.0.109:51018] ERR: path must end with a slash (garage-cam)
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [conn 192.168.0.109:51018] closed
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [session 2856051446] closed
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [conn 192.168.0.109:51019] opened
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [conn 192.168.0.109:51019] closed
^CGracefully stopping... (press Ctrl+C again to force)
Stopping wyze-bridge ... done
Stopping rtsp-server ... done

@imhotep
Copy link

imhotep commented Jun 28, 2021

The changes make it restart but I am still facing the issue with more than 1 camera

@SomebodySysop
Copy link
Author

git reset --hard HEAD
git pull

That should pull the latest changes, and you'll probably need to update your credentials in docker-compose.yml before rebuiling.

So, the process seems to be:

From /home/ron/docker/docker-wyze-bridge

git reset --hard HEAD
git pull

update your credentials in docker-compose.yml before rebuilding.

docker-compose up --build --force-recreate --remove-orphans

Did the above, restarted computer, all the cameras came up! I have one that just keeps disconnecting for some reason (the first one I installed!) but it eventually re-connects.

@SomebodySysop
Copy link
Author

I'm still getting errors when trying to open more than 2 or 3 cams. The changes seem to make the streams that aren't going to connect die faster if that makes sense. VLC gives more errors, faster. Here is a log. I was manually trying to view the streams with VLC from another computer so I didn't try to access them all.

Starting rtsp-server ... done
Starting wyze-bridge ... done
Attaching to rtsp-server, wyze-bridge
rtsp-server       | 2021/06/28 21:22:14 I [0/0] rtsp-simple-server v0.16.3
rtsp-server       | 2021/06/28 21:22:14 I [0/0] [RTSP] TCP listener opened on :8554
rtsp-server       | 2021/06/28 21:22:14 I [0/0] [RTMP] listener opened on :1935
rtsp-server       | 2021/06/28 21:22:14 I [0/0] [HLS] listener opened on :8888
wyze-bridge       | [Wyze v3]: Starting...
wyze-bridge       | [Northeast Cam]: Starting...
wyze-bridge       | [Back Porch Cam]: Starting...
wyze-bridge       | [Southwest Cam]: Starting...
wyze-bridge       | [Southeast Cam]: Starting...
wyze-bridge       | [Wyze sense hub]: Starting...
wyze-bridge       | [Parking Cam]: Starting...
wyze-bridge       | [Porch Cam]: Starting...
wyze-bridge       | [Garage Cam]: Starting...
wyze-bridge       | [Wyze sense hub]: requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://aut                                                                                                            h-prod.api.wyze.com/user/login
wyze-bridge       | [Wyze sense hub]: Starting...
rtsp-server       | 2021/06/28 21:22:29 I [0/0] [RTMP] [conn 172.18.0.3:49800] opened
rtsp-server       | 2021/06/28 21:22:29 I [1/0] [RTMP] [conn 172.18.0.3:49800] is publishing to path 'parking-cam', 1 track
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50913] opened
rtsp-server       | 2021/06/28 21:22:35 I [1/0] [RTSP] [conn 192.168.0.109:50913] ERR: no one is publishing to path 'northeast-ca                                                                                                            m'
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [conn 192.168.0.109:51017] opened
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [conn 192.168.0.109:51017] ERR: no one is publishing to path 'garage-cam'
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [conn 192.168.0.109:51017] closed
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [conn 192.168.0.109:51018] opened
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [session 2856051446] opened by 192.168.0.109:51018
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [conn 192.168.0.109:51018] ERR: path must end with a slash (garage-cam)
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [conn 192.168.0.109:51018] closed
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [session 2856051446] closed
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [conn 192.168.0.109:51019] opened
rtsp-server       | 2021/06/28 21:24:31 I [5/3] [RTSP] [conn 192.168.0.109:51019] closed
^CGracefully stopping... (press Ctrl+C again to force)
Stopping wyze-bridge ... done
Stopping rtsp-server ... done

I was having pretty much the same problem with one camera. Fixed it by using a different camera connected to a different access point. Changing the network connectivity a bit has totally resolved my streaming issues. This may not be your issue, but worth a try.

@jims777
Copy link

jims777 commented Jun 29, 2021

It's working better for me now. I removed an offline camera from the Wyze app. I still get a lot of errors, but if I just ignore them and keep opening cameras eventually things settle down and the errors go away or are reduced greatly at least. I think my next step is to try it with some NVR software like Shinobi or Frigate.

@mrlt8
Copy link
Owner

mrlt8 commented Jun 29, 2021

I made some minor changes to cameras.py. I forced one of my cameras to reboot and the stream eventually comes back on its own.

Can update with:

git pull
docker-compose up --build

As @SomebodySysop points out, I'm wondering if the publishing error is due to a poor network connection on the camera forcing FFmpeg to drop frames...?

@mrlt8
Copy link
Owner

mrlt8 commented Jun 29, 2021

Has anyone tried increasing readBufferCount in rtsp-simple-server.yml? It seems to help a bit.

@jims777
Copy link

jims777 commented Jun 29, 2021

I'm sure some of it is due to dropped frames and network/signal strength. All of my cams except one are outdoors. I added all of the cameras now as RTSP cameras in TinyCam. It takes a minute or two for everything to come up during which I get a lot of errors but after that everything works. I get occasional drop outs, but that's normal for me.

Not having to remember/type in a half dozen different IPs alone is kind of great.

My take aways are that maybe VLC isn't the best for testing this. It complains a lot and doesn't recover very well. Also, I tried to remove anything weird from my setup. I deleted an offline cam and a remote cam that was on a different account. I don't know if that helped or not.

@SomebodySysop
Copy link
Author

I'm sure some of it is due to dropped frames and network/signal strength. All of my cams except one are outdoors. I added all of the cameras now as RTSP cameras in TinyCam. It takes a minute or two for everything to come up during which I get a lot of errors but after that everything works. I get occasional drop outs, but that's normal for me.

If you are on Windows, you might try ContaCam to test rtsp streams. Free to download, no setup to speak of. Just go to Camera->Network/IP Camera and enter in your camera's rtsp uri.

contacam screen 2021-06-28_23-00-35

@imhotep
Copy link

imhotep commented Jun 29, 2021

With the latest update, I am seeing that FFMpeg restarts but it the stream doesn't last very long and keeps on crashing (see logs below). Basically this keeps on happening in a loop. It works fine for one camera though. I just restrict the cameras by filtering out the result of get_camera_list(auth_info) in cameras.py. It doesn't seem to be an authentication issues as I am not seeing any auth errors. Maybe it's a connection issue since the cam is outdoors but then why does it work fine on its own and only fails when running 2 simultaneous streams?

rtsp-server       | 2021/06/29 19:23:19 I [2/2] [HLS] [conn 192.168.86.246:57525] GET /back-yard-cam/stream.m3u8
rtsp-server       | 2021/06/29 19:23:19 I [2/2] [HLS] [conn 192.168.86.246:57525] GET /back-yard-cam/1624994598.ts
rtsp-server       | 2021/06/29 19:23:21 I [2/2] [HLS] [conn 192.168.86.246:64246] GET /back-yard-cam/stream.m3u8
rtsp-server       | 2021/06/29 19:23:22 I [2/2] [HLS] [conn 192.168.86.246:64246] GET /back-yard-cam/stream.m3u8
rtsp-server       | 2021/06/29 19:23:23 I [2/2] [HLS] [conn 192.168.86.246:64246] GET /back-yard-cam/stream.m3u8
rtsp-server       | 2021/06/29 19:23:25 I [2/2] [HLS] [conn 192.168.86.246:64246] GET /back-yard-cam/stream.m3u8
rtsp-server       | 2021/06/29 19:23:27 I [2/2] [HLS] [conn 192.168.86.246:64246] GET /back-yard-cam/stream.m3u8
rtsp-server       | 2021/06/29 19:23:29 I [2/2] [HLS] [conn 192.168.86.246:64246] GET /back-yard-cam/stream.m3u8
rtsp-server       | 2021/06/29 19:23:30 I [2/2] [RTMP] [conn 172.24.0.3:34956] ERR: read tcp 172.24.0.2:1935->172.24.0.3:34956: i/o timeout
rtsp-server       | 2021/06/29 19:23:30 I [1/1] [HLS] [converter back-yard-cam] closed
rtsp-server       | 2021/06/29 19:23:30 I [1/1] [RTMP] [conn 172.24.0.3:34956] closed
rtsp-server       | 2021/06/29 19:23:32 I [1/1] [HLS] [conn 192.168.86.246:57525] GET /back-yard-cam/stream.m3u8
rtsp-server       | 2021/06/29 19:23:32 I [1/1] [HLS] [converter back-yard-cam] opened
rtsp-server       | 2021/06/29 19:23:32 I [1/1] [HLS] [converter back-yard-cam] ERR: no one is publishing to path 'back-yard-cam'
rtsp-server       | 2021/06/29 19:23:32 I [1/1] [HLS] [converter back-yard-cam] closed
rtsp-server       | 2021/06/29 19:23:35 I [1/1] [HLS] [conn 192.168.86.246:57525] GET /back-yard-cam/stream.m3u8
rtsp-server       | 2021/06/29 19:23:35 I [1/1] [HLS] [converter back-yard-cam] opened
rtsp-server       | 2021/06/29 19:23:35 I [1/1] [HLS] [converter back-yard-cam] ERR: no one is publishing to path 'back-yard-cam'
rtsp-server       | 2021/06/29 19:23:35 I [1/1] [HLS] [converter back-yard-cam] closed
rtsp-server       | 2021/06/29 19:23:40 I [1/1] [HLS] [conn 192.168.86.246:57525] GET /back-yard-cam/stream.m3u8
rtsp-server       | 2021/06/29 19:23:40 I [1/1] [HLS] [converter back-yard-cam] opened
rtsp-server       | 2021/06/29 19:23:40 I [1/1] [HLS] [converter back-yard-cam] ERR: no one is publishing to path 'back-yard-cam'
rtsp-server       | 2021/06/29 19:23:40 I [1/1] [HLS] [converter back-yard-cam] closed
wyze-bridge       | [Back Yard Cam]: av_interleaved_write_frame(): Broken pipe
wyze-bridge       | [Back Yard Cam]: Killing ffmpeg...
rtsp-server       | 2021/06/29 19:23:49 I [1/1] [HLS] [conn 192.168.86.246:57525] GET /back-yard-cam/stream.m3u8
rtsp-server       | 2021/06/29 19:23:49 I [1/1] [HLS] [converter back-yard-cam] opened
rtsp-server       | 2021/06/29 19:23:49 I [1/1] [HLS] [converter back-yard-cam] ERR: no one is publishing to path 'back-yard-cam'
rtsp-server       | 2021/06/29 19:23:49 I [1/1] [HLS] [converter back-yard-cam] closed
wyze-bridge       | [Back Yard Cam]: Starting...
rtsp-server       | 2021/06/29 19:24:06 I [1/1] [HLS] [conn 192.168.86.246:57525] GET /back-yard-cam/stream.m3u8
rtsp-server       | 2021/06/29 19:24:06 I [1/1] [HLS] [converter back-yard-cam] opened
rtsp-server       | 2021/06/29 19:24:06 I [1/1] [HLS] [converter back-yard-cam] ERR: no one is publishing to path 'back-yard-cam'
rtsp-server       | 2021/06/29 19:24:06 I [1/1] [HLS] [converter back-yard-cam] closed
rtsp-server       | 2021/06/29 19:24:07 I [1/1] [RTMP] [conn 172.24.0.3:35492] opened
wyze-bridge       | [Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':
rtsp-server       | 2021/06/29 19:24:07 I [2/1] [RTMP] [conn 172.24.0.3:35492] is publishing to path 'back-yard-cam', 1 track
rtsp-server       | 2021/06/29 19:24:09 I [2/1] [HLS] [conn 192.168.86.246:57525] GET /back-yard-cam/stream.m3u8
rtsp-server       | 2021/06/29 19:24:09 I [2/1] [HLS] [converter back-yard-cam] opened
rtsp-server       | 2021/06/29 19:24:09 I [2/2] [HLS] [converter back-yard-cam] is converting into HLS
rtsp-server       | 2021/06/29 19:24:09 I [2/2] [HLS] [conn 192.168.86.246:57525] GET /back-yard-cam/stream.m3u8
rtsp-server       | 2021/06/29 19:24:09 I [2/2] [HLS] [conn 192.168.86.246:57525] GET /back-yard-cam/1624994649.ts
rtsp-server       | 2021/06/29 19:24:10 I [2/2] [HLS] [conn 192.168.86.246:64246] GET /back-yard-cam/stream.m3u8
rtsp-server       | 2021/06/29 19:24:12 I [2/2] [HLS] [conn 192.168.86.246:57525] GET /back-yard-cam/stream.m3u8
rtsp-server       | 2021/06/29 19:24:12 I [2/2] [HLS] [conn 192.168.86.246:57525] GET /back-yard-cam/1624994652.ts
rtsp-server       | 2021/06/29 19:24:14 I [2/2] [HLS] [conn 192.168.86.246:57525] GET /back-yard-cam/stream.m3u8
rtsp-server       | 2021/06/29 19:24:14 I [2/2] [HLS] [conn 192.168.86.246:57525] GET /back-yard-cam/1624994654.ts

@SomebodySysop
Copy link
Author

With the latest update, I am seeing that FFMpeg restarts but it the stream doesn't last very long and keeps on crashing (see logs below). Basically this keeps on happening in a loop. It works fine for one camera though. I just restrict the cameras by filtering out the result of get_camera_list(auth_info) in cameras.py. It doesn't seem to be an authentication issues as I am not seeing any auth errors. Maybe it's a connection issue since the cam is outdoors but then why does it work fine on its own and only fails when running 2 simultaneous streams?

I had the same problem, and I've been trying to think through the possible reasons. I'm just spit balling here, but...

Are both cameras connecting to the same router or access point? If so, try connecting to different APs.

I had the same problem when connecting all 3 of my cameras to the same router, which is my strongest but also ISP provided. I then switched it up and connected each one to a different access point closest to it. All 3 cameras have been running without fail now for over 24 hours.

What I am saying is play around with your connectivity a bit, use different routers / access points if you have them. I have found this wyze-bridge to be so rock solid, that it is connecting to (and staying connected to) cameras that even the Wyze app fails to connect to. I have a camera on my back porch that I bring inside to set up using an ap that sits just inside the door. When I put the camera outside, Wyze has trouble finding it, but the wyze-bridge fires up the stream with no problems.

Also, have you tried testing with rtsp as opposed to hls?

@mrlt8
Copy link
Owner

mrlt8 commented Jun 29, 2021

@imhotep did you try increasing readBufferCount? You should be able to find it in /app/rtsp-simple-server.yml in the latest version.

@imhotep
Copy link

imhotep commented Jun 30, 2021

@mrlt8 I did but no changes. I am starting to think it's an issue with that specific camera. The feed only sticks for 36 seconds or so and then dies for some reason:

rtsp-server       | 2021/06/30 00:54:02 I [0/0] rtsp-simple-server v0.16.3
rtsp-server       | 2021/06/30 00:54:02 I [0/0] [RTSP] TCP listener opened on :8554
rtsp-server       | 2021/06/30 00:54:02 I [0/0] [RTMP] listener opened on :1935
rtsp-server       | 2021/06/30 00:54:02 I [0/0] [HLS] listener opened on :8888
wyze-bridge       | [Front Porch Cam]: Starting...
wyze-bridge       | [Back Yard Cam]: Starting...
rtsp-server       | 2021/06/30 00:54:20 I [0/0] [RTMP] [conn 172.24.0.3:48568] opened
wyze-bridge       | [Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':
rtsp-server       | 2021/06/30 00:54:20 I [1/0] [RTMP] [conn 172.24.0.3:48568] is publishing to path 'back-yard-cam', 1 track
rtsp-server       | 2021/06/30 00:54:20 I [1/0] [RTMP] [conn 172.24.0.3:48570] opened
rtsp-server       | 2021/06/30 00:54:20 I [2/0] [RTMP] [conn 172.24.0.3:48570] is publishing to path 'front-porch-cam', 1 track
rtsp-server       | 2021/06/30 00:54:57 I [2/0] [RTMP] [conn 172.24.0.3:48568] ERR: read tcp 172.24.0.2:1935->172.24.0.3:48568: i/o timeout
rtsp-server       | 2021/06/30 00:54:57 I [1/0] [RTMP] [conn 172.24.0.3:48568] closed
wyze-bridge       | [Back Yard Cam]: av_interleaved_write_frame(): Broken pipe
wyze-bridge       | [Back Yard Cam]: Killing ffmpeg...
wyze-bridge       | [Back Yard Cam]: Starting...
rtsp-server       | 2021/06/30 00:55:32 I [1/0] [RTMP] [conn 172.24.0.3:49034] opened
wyze-bridge       | [Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':
rtsp-server       | 2021/06/30 00:55:32 I [2/0] [RTMP] [conn 172.24.0.3:49034] is publishing to path 'back-yard-cam', 1 track
rtsp-server       | 2021/06/30 00:56:08 I [2/0] [RTMP] [conn 172.24.0.3:49034] ERR: read tcp 172.24.0.2:1935->172.24.0.3:49034: i/o timeout
rtsp-server       | 2021/06/30 00:56:08 I [1/0] [RTMP] [conn 172.24.0.3:49034] closed
wyze-bridge       | [Back Yard Cam]: av_interleaved_write_frame(): Broken pipe
wyze-bridge       | [Back Yard Cam]: Killing ffmpeg...
wyze-bridge       | [Back Yard Cam]: Starting...
rtsp-server       | 2021/06/30 00:56:44 I [1/0] [RTMP] [conn 172.24.0.3:49532] opened
rtsp-server       | 2021/06/30 00:56:44 I [2/0] [RTMP] [conn 172.24.0.3:49532] is publishing to path 'back-yard-cam', 1 track
wyze-bridge       | [Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':
rtsp-server       | 2021/06/30 00:57:21 I [2/0] [RTMP] [conn 172.24.0.3:49532] ERR: read tcp 172.24.0.2:1935->172.24.0.3:49532: i/o timeout
rtsp-server       | 2021/06/30 00:57:21 I [1/0] [RTMP] [conn 172.24.0.3:49532] closed
wyze-bridge       | [Back Yard Cam]: av_interleaved_write_frame(): Broken pipe
wyze-bridge       | [Back Yard Cam]: Killing ffmpeg...
wyze-bridge       | [Back Yard Cam]: Starting...

Here are the logs with JUST that one camera:

Starting rtsp-server ... done
Starting wyze-bridge ... done
Attaching to rtsp-server, wyze-bridge
rtsp-server       | 2021/06/30 00:59:24 I [0/0] rtsp-simple-server v0.16.3
rtsp-server       | 2021/06/30 00:59:24 I [0/0] [RTSP] TCP listener opened on :8554
rtsp-server       | 2021/06/30 00:59:24 I [0/0] [RTMP] listener opened on :1935
rtsp-server       | 2021/06/30 00:59:24 I [0/0] [HLS] listener opened on :8888
wyze-bridge       | [Back Yard Cam]: Starting...
rtsp-server       | 2021/06/30 00:59:42 I [0/0] [RTMP] [conn 172.24.0.3:50710] opened
wyze-bridge       | [Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':
rtsp-server       | 2021/06/30 00:59:42 I [1/0] [RTMP] [conn 172.24.0.3:50710] is publishing to path 'back-yard-cam', 1 track
rtsp-server       | 2021/06/30 01:00:18 I [1/0] [RTMP] [conn 172.24.0.3:50710] ERR: read tcp 172.24.0.2:1935->172.24.0.3:50710: i/o timeout
rtsp-server       | 2021/06/30 01:00:18 I [0/0] [RTMP] [conn 172.24.0.3:50710] closed
wyze-bridge       | [Back Yard Cam]: av_interleaved_write_frame(): Broken pipe
wyze-bridge       | [Back Yard Cam]: Killing ffmpeg...
wyze-bridge       | [Back Yard Cam]: Starting...
rtsp-server       | 2021/06/30 01:00:54 I [0/0] [RTMP] [conn 172.24.0.3:51250] opened
wyze-bridge       | [Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':
rtsp-server       | 2021/06/30 01:00:54 I [1/0] [RTMP] [conn 172.24.0.3:51250] is publishing to path 'back-yard-cam', 1 track
rtsp-server       | 2021/06/30 01:01:31 I [1/0] [RTMP] [conn 172.24.0.3:51250] ERR: read tcp 172.24.0.2:1935->172.24.0.3:51250: i/o timeout
rtsp-server       | 2021/06/30 01:01:31 I [0/0] [RTMP] [conn 172.24.0.3:51250] closed
wyze-bridge       | [Back Yard Cam]: av_interleaved_write_frame(): Broken pipe
wyze-bridge       | [Back Yard Cam]: Killing ffmpeg...
wyze-bridge       | [Back Yard Cam]: Starting...
rtsp-server       | 2021/06/30 01:02:07 I [0/0] [RTMP] [conn 172.24.0.3:51702] opened
wyze-bridge       | [Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':
rtsp-server       | 2021/06/30 01:02:07 I [1/0] [RTMP] [conn 172.24.0.3:51702] is publishing to path 'back-yard-cam', 1 track
rtsp-server       | 2021/06/30 01:02:43 I [1/0] [RTMP] [conn 172.24.0.3:51702] ERR: read tcp 172.24.0.2:1935->172.24.0.3:51702: i/o timeout
rtsp-server       | 2021/06/30 01:02:43 I [0/0] [RTMP] [conn 172.24.0.3:51702] closed
wyze-bridge       | [Back Yard Cam]: av_interleaved_write_frame(): Broken pipe
wyze-bridge       | [Back Yard Cam]: Killing ffmpeg...
wyze-bridge       | [Back Yard Cam]: Starting...
^CGracefully stopping... (press Ctrl+C again to force)
Stopping wyze-bridge ... done
Stopping rtsp-server ... done

The question is why does the feed stop working after exactly 36 seconds? It seems unrelated to the wyze-bridge.

@mrlt8
Copy link
Owner

mrlt8 commented Jun 30, 2021

hmm, could you see if commenting out line 22 helps..?

av_interleaved_write_frame(): Broken pipe usually causes the stream to stop, but you could see if it's just a false alarm.

Could you try testing that camera using @noelhibbard's original script

@mrlt8
Copy link
Owner

mrlt8 commented Jun 30, 2021

Hey @imhotep, I pushed an update to enable some additional environment options.

You should be able to filter the cameras directly in your docker-compose.yml now.

@imhotep
Copy link

imhotep commented Jun 30, 2021

@mrlt8 I updated to the latest and unfortunately I am still seeing the same stuff

WHITELIST MODE ON
[Front Porch Cam]: Starting...
[Back Yard Cam]: Starting...
[Front Porch Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/front-porch-cam':
[Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':
[Back Yard Cam]: av_interleaved_write_frame(): Broken pipe
[Back Yard Cam]: Killing ffmpeg...
[Back Yard Cam]: Starting...
[Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':
[Back Yard Cam]: av_interleaved_write_frame(): Broken pipe
[Back Yard Cam]: Killing ffmpeg...
[Back Yard Cam]: Starting...
[Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':
[Back Yard Cam]: av_interleaved_write_frame(): Broken pipe
[Back Yard Cam]: Killing ffmpeg...
[Back Yard Cam]: Starting...
[Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':
[Back Yard Cam]: av_interleaved_write_frame(): Broken pipe
[Back Yard Cam]: Killing ffmpeg...
[Back Yard Cam]: Starting...
[Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':
[Back Yard Cam]: av_interleaved_write_frame(): Broken pipe
[Back Yard Cam]: Killing ffmpeg...
[Back Yard Cam]: Starting...
[Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':

My guess is that there is something up with that camera. It's not a connection issue as I've been able to leave the feed on in the Wyze app for 10 minutes without any interruptions.

@imhotep
Copy link

imhotep commented Jun 30, 2021

@mrlt8 I restarted the (faulty) camera and it seems to be holding strong for now! Great job!

@jims777
Copy link

jims777 commented Jun 30, 2021

Has anyone tried increasing readBufferCount in rtsp-simple-server.yml? It seems to help a bit.

readBufferSize: 8192 in rtsp-simple-server.yml seems to help a lot. Streams are much more likely to recover if they freeze up.

I tried increasing readBufferCount but the readme for rtsp-simple-server suggests 1024 for corrupted frames and it was already set to that. I tried 2048, 4096, and 8192 and didn't notice any appreciable difference.

@imhotep
Copy link

imhotep commented Jul 1, 2021

I spoke too soon. It's back to failing again. increasing the readBufferCount or readBufferSize doesn't seem to do much for me.

@noelhibbard
Copy link

One thing I noticed today on my Wyze doorbell is if I am pulling a stream into my NVR, the Wyze app struggles to do a two way audio session when someone rings the bell. I got to thinking, the built in Wyze motion detection is probably cloud based so that is one stream from the camera. Then I have a second stream into my NVR. So the doorbell call ends up being a 3rd stream. I turned off all the built in motion detection (because it sucks bad compared to Frigate anyways) and after that I can make a successful two way audio session with it. Long story short, most homes have incredibly bad WiFi and even fewer people have any coverage at all outdoors. Trying to run multiple streams to these Wyze cameras is asking a lot. So try turning off the built in motion detection and see if stability improves. I've personally had no stability issues at all but I only have one V3 and one Doorbell but I also have seamless WiFi coverage that doesn't drop bellow 200Mbps at any location indoors or outdoors.

@mrlt8
Copy link
Owner

mrlt8 commented Jul 1, 2021

That make sense.
I believe the cameras do the motion detection in camera, then push that stream to the cloud for the ai detection. So if anyone is at the door, that would trigger the motion detection which opens one stream for the cloud stuff and using the app would open another stream.

I spoke too soon. It's back to failing again. increasing the readBufferCount or readBufferSize doesn't seem to do much for me.

does DEBUG_NOKILL=True keep the stream alive?

Also check the wyze app and make sure you can get a good stream there.

@imhotep
Copy link

imhotep commented Jul 1, 2021

The stream in the wyze app works fine (most of the time). It does freeze from time to time. I am going to try DEBUG_NOKILL=True and report back. It seems like it will attempt to restart the process when it crashes indefinitely which is probably what I want.

@imhotep
Copy link

imhotep commented Jul 1, 2021

Actually it seems like it's doing the opposite? When DEBUG_NOKILL=True it's killing the stream immediately? Either way it keeps on dying. It works fine in the wyze app :/

@imhotep
Copy link

imhotep commented Jul 2, 2021

Is there a easy way to clean up the high number (over 500) over zombie processes this app creates?

@SomebodySysop
Copy link
Author

@mrlt8 I updated to the latest and unfortunately I am still seeing the same stuff

WHITELIST MODE ON
[Front Porch Cam]: Starting...
[Back Yard Cam]: Starting...
[Front Porch Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/front-porch-cam':
[Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':
[Back Yard Cam]: av_interleaved_write_frame(): Broken pipe
[Back Yard Cam]: Killing ffmpeg...
[Back Yard Cam]: Starting...
[Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':
[Back Yard Cam]: av_interleaved_write_frame(): Broken pipe
[Back Yard Cam]: Killing ffmpeg...
[Back Yard Cam]: Starting...
[Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':
[Back Yard Cam]: av_interleaved_write_frame(): Broken pipe
[Back Yard Cam]: Killing ffmpeg...
[Back Yard Cam]: Starting...
[Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':
[Back Yard Cam]: av_interleaved_write_frame(): Broken pipe
[Back Yard Cam]: Killing ffmpeg...
[Back Yard Cam]: Starting...
[Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':
[Back Yard Cam]: av_interleaved_write_frame(): Broken pipe
[Back Yard Cam]: Killing ffmpeg...
[Back Yard Cam]: Starting...
[Back Yard Cam]: Output #0, flv, to 'rtmp://rtsp-server:1935/back-yard-cam':

My guess is that there is something up with that camera. It's not a connection issue as I've been able to leave the feed on in the Wyze app for 10 minutes without any interruptions.

Having the same problem with only 1 of 6 cameras. Discussed issue here: #5 (comment)

Possibly an individual camera issue. But, without knowing what the issue is, no ideas on how to address it.

@imhotep
Copy link

imhotep commented Jul 5, 2021

@SomebodySysop yeah it seems like a very similar issue. The latest version of the bridge restarts streams whenever they die so it alleviates the issue somewhat. It's still unclear why streams die to begin with. It is not connectivity or too many auths as I am able to maintain a stream going in the Wyze app for longer than 10 minutes without issues.
The problem with the latest version though is that it doesn't seem to kill processes that are no longer active so I end up with hundreds of zombie processes.

@mrlt8
Copy link
Owner

mrlt8 commented Jul 5, 2021

I am working on an update, and will upload soon!

@mrlt8
Copy link
Owner

mrlt8 commented Jul 5, 2021

Hey @imhotep, I pushed a new update, which should get rid of those zombies and give out more info about the other streams!

@imhotep
Copy link

imhotep commented Jul 16, 2021

@mrlt8 sorry for delay. I was on holiday. I just updated. So far no zombies. I will update here if the issue persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants