qwertykolea
Junior Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Добрый день, Имеется: 1) Контроллер UCK-G2-Plus 2) Роутер RB5009 3) 2 камеры источника RTSP (от оборудования Hikvision) Стоит задача писать видео с этих потоков на контроллер UCK-G2-Plus. Ubiquity официально поддерживают только свои камеры, но есть вот такое решение: https://github.com/keshavdv/unifi-cam-proxy/ У кого есть опыт установки данного чуда в докер на RB5009? У меня при попытке запуска, вылазят следующие ошибки: Код: Sep/05/2023 09:38:39 container,info,debug We renamed asyncio-mqtt to aiomqtt and released a version 1.0.0 in the process. This is the last release under the asyncio-mqtt name. You can find the new repository at https://github.com/sbtinstruments/aiomqtt Sep/05/2023 09:38:40 container,info,debug 2023-09-05 06:38:40 SB_mik RTSPCam[1] INFO Spawning stream for snapshots: ffmpeg -nostdin -y -re -rtsp_transport tcp -i "rtsp://admin:12345@10.10.10.32:554/Streaming/Channels/101" -r 1 -update 1 /tmp/tmp428z2esu/screen.jpg Sep/05/2023 09:38:40 container,info,debug 2023-09-05 06:38:40 SB_mik Core[1] INFO Creating ws connection to wss://11.11.11.114:7442/camera/1.0/ws?token=2PEDRkfB1NKcCdF328lsiNDbwWGCt569 Sep/05/2023 09:38:43 container,info,debug Traceback (most recent call last): Sep/05/2023 09:38:43 container,info,debug File "/usr/local/bin/unifi-cam-proxy", line 8, in <module> Sep/05/2023 09:38:43 container,info,debug sys.exit(main()) Sep/05/2023 09:38:43 container,info,debug File "/usr/local/lib/python3.9/site-packages/unifi/main.py", line 172, in main Sep/05/2023 09:38:43 container,info,debug loop.run_until_complete(run()) Sep/05/2023 09:38:43 container,info,debug File "/usr/local/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete Sep/05/2023 09:38:43 container,info,debug return future.result() Sep/05/2023 09:38:43 container,info,debug File "/usr/local/lib/python3.9/site-packages/unifi/main.py", line 167, in run Sep/05/2023 09:38:43 container,info,debug await c.run() Sep/05/2023 09:38:43 container,info,debug File "/usr/local/lib/python3.9/site-packages/unifi/core.py", line 81, in run Sep/05/2023 09:38:43 container,info,debug await connect() Sep/05/2023 09:38:43 container,info,debug File "/usr/local/lib/python3.9/site-packages/backoff/_async.py", line 76, in retry Sep/05/2023 09:38:43 container,info,debug ret = await target(*args, **kwargs) Sep/05/2023 09:38:43 container,info,debug File "/usr/local/lib/python3.9/site-packages/unifi/core.py", line 43, in connect Sep/05/2023 09:38:43 container,info,debug ws = await websockets.connect( Sep/05/2023 09:38:43 container,info,debug File "/usr/local/lib/python3.9/site-packages/websockets/legacy/client.py", line 655, in __await_impl_timeout__ Sep/05/2023 09:38:43 container,info,debug return await self.__await_impl__() Sep/05/2023 09:38:43 container,info,debug File "/usr/local/lib/python3.9/site-packages/websockets/legacy/client.py", line 659, in __await_impl__ Sep/05/2023 09:38:43 container,info,debug _transport, _protocol = await self._create_connection() Sep/05/2023 09:38:43 container,info,debug File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1065, in create_connection Sep/05/2023 09:38:43 container,info,debug raise exceptions[0] Sep/05/2023 09:38:43 container,info,debug File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1050, in create_connection Sep/05/2023 09:38:43 container,info,debug sock = await self._connect_sock( Sep/05/2023 09:38:43 container,info,debug File "/usr/local/lib/python3.9/asyncio/base_events.py", line 961, in _connect_sock Sep/05/2023 09:38:43 container,info,debug await self.sock_connect(sock, address) Sep/05/2023 09:38:43 container,info,debug File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 500, in sock_connect Sep/05/2023 09:38:43 container,info,debug return await fut Sep/05/2023 09:38:43 container,info,debug File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 535, in _sock_connect_cb Sep/05/2023 09:38:43 container,info,debug raise OSError(err, f'Connect call failed {address}') Sep/05/2023 09:38:43 container,info,debug OSError: [Errno 113] Connect call failed ('11.11.11.114', 7442) |
|