diff options
author | Evgeny Sorokin <me@ch1p.io> | 2024-01-13 00:54:32 +0000 |
---|---|---|
committer | Evgeny Sorokin <me@ch1p.io> | 2024-01-13 00:54:32 +0000 |
commit | 57955b596485ecce1ffd4395e23c078358cc5ddd (patch) | |
tree | e4144cf595f9aaa7625b3d271483ddb38aa3bd45 /bin | |
parent | d3a295872c49defb55fc8e4e43e55550991e0927 (diff) |
save something
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ipcam_capture.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ipcam_capture.py b/bin/ipcam_capture.py index 5de14af..226e12e 100755 --- a/bin/ipcam_capture.py +++ b/bin/ipcam_capture.py @@ -48,7 +48,8 @@ async def run_ffmpeg(cam: int, channel: int): else: debug_args = ['-nostats', '-loglevel', 'error'] - protocol = 'tcp' if ipcam_config.should_use_tcp_for_rtsp(cam) else 'udp' + # protocol = 'tcp' if ipcam_config.should_use_tcp_for_rtsp(cam) else 'udp' + protocol = 'tcp' user, pw = ipcam_config.get_rtsp_creds() ip = ipcam_config.get_camera_ip(cam) path = ipcam_config.get_camera_type(cam).get_channel_url(channel) |