diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-06-14 23:31:28 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-06-14 23:31:28 +0300 |
commit | 086a0960a3f4f4663af704c086e8195f380b15c1 (patch) | |
tree | ac3ed08e163260371b56d67f67179479637ffc76 /src/camera_node.py | |
parent | 41e6b2aea1165e69d36b03baa467669d72b093a2 (diff) |
camera_node: fix for esp32-cam
Diffstat (limited to 'src/camera_node.py')
-rwxr-xr-x | src/camera_node.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/camera_node.py b/src/camera_node.py index f920837..59ecef0 100755 --- a/src/camera_node.py +++ b/src/camera_node.py @@ -71,7 +71,7 @@ if __name__ == '__main__': recorder_kwargs = {} camera_type = CameraType(config['camera']['type']) if camera_type == CameraType.ESP32: - recorder_kwargs['stream_addr'] = parse_addr(config['camera']['stream_addr']) + recorder_kwargs['stream_addr'] = parse_addr(config['camera']['web_addr']) # this is not a mistake, we don't use stream_addr for esp32-cam anymore else: raise RuntimeError(f'unsupported camera type {camera_type}') |