Skip to content

Instantly share code, notes, and snippets.

@pironic
Created April 8, 2021 18:29
Show Gist options
  • Save pironic/76b42e47c0a288b5f649864880655e41 to your computer and use it in GitHub Desktop.
Save pironic/76b42e47c0a288b5f649864880655e41 to your computer and use it in GitHub Desktop.
4/8/2021 12:20:13 PMUsing RTSP stream from Aiakos with token: 8hQ<rem>RXp
4/8/2021 12:20:14 PM/app/unifi-cam-proxy/unifi/core.py:638: SyntaxWarning: "is" with a literal. Did you mean "=="?
4/8/2021 12:20:14 PM if msg["payload"]["sendPulse"] is 1:
4/8/2021 12:20:14 PM2021-04-08 18:20:14 3e84b176b3b2 RTSPCam[1] INFO /tmp/tmpgfqvlcwm
4/8/2021 12:20:14 PM2021-04-08 18:20:14 3e84b176b3b2 RTSPCam[1] INFO ffmpeg -y -re -rtsp_transport tcp -i "rtsp://<rem>@10.1.2.3/live" -vf fps=1 -update 1 /tmp/tmpgfqvlcwm/screen.jpg
4/8/2021 12:20:14 PM2021-04-08 18:20:14 3e84b176b3b2 asyncio[1] DEBUG Using selector: EpollSelector
4/8/2021 12:20:14 PM2021-04-08 18:20:14 3e84b176b3b2 Core[1] INFO Creating ws connection to wss://10.1.1.1:7442/camera/1.0/ws?token=8hQ<rem>RXp
4/8/2021 12:20:14 PM2021-04-08 18:20:14 3e84b176b3b2 Core[1] INFO Initiating adoption with token [8hQ<rem>RXp] and mac [A4D<rem>CBB]
4/8/2021 12:20:14 PM2021-04-08 18:20:14 3e84b176b3b2 Core[1] DEBUG Sending: {'from': 'ubnt_avclient', 'to': 'UniFiVideo', 'responseExpected': False, 'functionName': 'ubnt_avclient_hello', 'payload': {'adoptionCode': '8hQ<rem>RXp', 'connectionHost': '10.1.1.1', 'connectionSecurePort': 7442, 'fwVersion': 'UVC.S2L.v4.23.8.67.0eba6e3.200526.1046', 'hwrev': 19, 'idleTime': 191.96, 'ip': '10.1.2.3', 'mac': 'A4D<rem>CBB', 'model': 'UVC G3', 'name': 'Aiakos (Garage)', 'protocolVersion': 67, 'rebootTimeoutSec': 30, 'semver': 'v4.4.8', 'totalLoad': 0.5474, 'upgradeTimeoutSec': 150, 'uptime': 0.09297823905944824, 'features': {}}, 'messageId': 1, 'inResponseTo': 0}
4/8/2021 12:20:14 PM2021-04-08 18:20:14 3e84b176b3b2 Core[1] INFO Processing [ubnt_avclient_hello] message
4/8/2021 12:20:14 PM2021-04-08 18:20:14 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'functionName': 'ubnt_avclient_hello', 'messageId': 1050782, 'inResponseTo': 1, 'payload': {'protocolVersion': 67, 'controllerName': 'Pagoda', 'controllerUuid': '66b2937a-<rem>-e02c72b8cff7', 'controllerVersion': '1.17.3', 'overrideUuid': True}}
4/8/2021 12:20:14 PM2021-04-08 18:20:14 3e84b176b3b2 Core[1] INFO Processing [ubnt_avclient_hello] message
4/8/2021 12:20:14 PM2021-04-08 18:20:14 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'functionName': 'ubnt_avclient_hello', 'messageId': 1050783, 'inResponseTo': 1, 'payload': {'protocolVersion': 67, 'controllerName': 'Pagoda', 'controllerUuid': '66b2937a-<rem>-e02c72b8cff7', 'controllerVersion': '1.17.3', 'overrideUuid': True}}
4/8/2021 12:20:15 PM2021-04-08 18:20:15 3e84b176b3b2 Core[1] INFO Processing [ubnt_avclient_paramAgreement] message
4/8/2021 12:20:15 PM2021-04-08 18:20:15 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': True, 'functionName': 'ubnt_avclient_paramAgreement', 'messageId': 1050784, 'inResponseTo': 0, 'payload': {'enableStatusCodes': True, 'useHeartbeats': False, 'heartbeatsTimeoutMs': 60000}}
4/8/2021 12:20:15 PM2021-04-08 18:20:15 3e84b176b3b2 Core[1] DEBUG Sending: {'from': 'ubnt_avclient', 'functionName': 'ubnt_avclient_paramAgreement', 'inResponseTo': 1050784, 'messageId': 2, 'payload': {'authToken': '8hQ<rem>RXp', 'features': {}}, 'responseExpected': False, 'to': 'UniFiVideo'}
4/8/2021 12:20:15 PM2021-04-08 18:20:15 3e84b176b3b2 Core[1] INFO Processing [ubnt_avclient_paramAgreement] message
4/8/2021 12:20:15 PM2021-04-08 18:20:15 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': True, 'functionName': 'ubnt_avclient_paramAgreement', 'messageId': 1050785, 'inResponseTo': 0, 'payload': {'enableStatusCodes': True, 'useHeartbeats': False, 'heartbeatsTimeoutMs': 60000}}
4/8/2021 12:20:15 PM2021-04-08 18:20:15 3e84b176b3b2 Core[1] DEBUG Sending: {'from': 'ubnt_avclient', 'functionName': 'ubnt_avclient_paramAgreement', 'inResponseTo': 1050785, 'messageId': 3, 'payload': {'authToken': '8hQ<rem>RXp', 'features': {}}, 'responseExpected': False, 'to': 'UniFiVideo'}
4/8/2021 12:20:15 PM2021-04-08 18:20:15 3e84b176b3b2 Core[1] INFO Processing [StartService] message
4/8/2021 12:20:15 PM2021-04-08 18:20:15 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': False, 'functionName': 'StartService', 'messageId': 1050786, 'inResponseTo': 0, 'payload': {'service': 'ssh'}}
4/8/2021 12:20:15 PM2021-04-08 18:20:15 3e84b176b3b2 Core[1] INFO Processing [NetworkStatus] message
4/8/2021 12:20:15 PM2021-04-08 18:20:15 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': True, 'functionName': 'NetworkStatus', 'messageId': 1050788, 'inResponseTo': 0, 'payload': {}}
4/8/2021 12:20:15 PM2021-04-08 18:20:15 3e84b176b3b2 Core[1] DEBUG Sending: {'from': 'ubnt_avclient', 'to': 'UniFiVideo', 'responseExpected': False, 'functionName': 'NetworkStatus', 'payload': {'connectionState': 2, 'connectionStateDescription': 'CONNECTED', 'defaultInterface': 'eth0', 'dhcpLeasetime': 86400, 'dnsServer': '8.8.8.8 4.2.2.2', 'gateway': '192.168.103.1', 'ipAddress': '10.1.2.3', 'linkDuplex': 1, 'linkSpeedMbps': 100, 'mode': 'dhcp', 'networkMask': '255.255.255.0'}, 'messageId': 4, 'inResponseTo': 1050788}
4/8/2021 12:20:15 PM2021-04-08 18:20:15 3e84b176b3b2 Core[1] INFO Processing [GetSystemStats] message
4/8/2021 12:20:15 PM2021-04-08 18:20:15 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': True, 'functionName': 'GetSystemStats', 'messageId': 1050790, 'inResponseTo': 0, 'payload': {}}
4/8/2021 12:20:15 PM2021-04-08 18:20:15 3e84b176b3b2 Core[1] DEBUG Sending: {'from': 'ubnt_avclient', 'to': 'UniFiVideo', 'responseExpected': False, 'functionName': 'SystemStats', 'payload': {'network': {'bytesRx': 0, 'bytesTx': 0}, 'battery': 0}, 'messageId': 5, 'inResponseTo': 1050790}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] INFO Processing [UpdateFirmwareRequest] message
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': False, 'functionName': 'UpdateFirmwareRequest', 'messageId': 1050791, 'inResponseTo': 0, 'payload': {'uri': 'https://10.1.1.1:7444/internal/update?platform=s2l&product=uvc&updateType=firmware&version=4.34.12', 'timeoutMs': 600000}}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 urllib3.connectionpool[1] DEBUG Starting new HTTPS connection (1): 10.1.1.1:7444
4/8/2021 12:20:17 PM/app/unifi-cam-proxy/venv/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host '10.1.1.1'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
4/8/2021 12:20:17 PM warnings.warn(
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 urllib3.connectionpool[1] DEBUG https://10.1.1.1:7444 "GET /internal/update?platform=s2l&product=uvc&updateType=firmware&version=4.34.12 HTTP/1.1" 206 101
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Pretending to upgrade to: UVC.S2L.v4.34.12.67.7be3662.210117.0604
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] INFO Reconnecting...
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] INFO Initiating adoption with token [8hQ6mzPRFqkl6qR8QlcX99WVQSxTwRXp] and mac [A4DA222C0CBB]
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Sending: {'from': 'ubnt_avclient', 'to': 'UniFiVideo', 'responseExpected': False, 'functionName': 'ubnt_avclient_hello', 'payload': {'adoptionCode': '8hQ<rem>RXp', 'connectionHost': '10.1.1.1', 'connectionSecurePort': 7442, 'fwVersion': 'UVC.S2L.v4.34.12.67.7be3662.210117.0604\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 'hwrev': 19, 'idleTime': 191.96, 'ip': '10.1.2.3', 'mac': 'A4DA222C0CBB', 'model': 'UVC G3', 'name': 'Aiakos (Garage)', 'protocolVersion': 67, 'rebootTimeoutSec': 30, 'semver': 'v4.4.8', 'totalLoad': 0.5474, 'upgradeTimeoutSec': 150, 'uptime': 2.646008253097534, 'features': {}}, 'messageId': 6, 'inResponseTo': 0}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] INFO Processing [ubnt_avclient_hello] message
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'functionName': 'ubnt_avclient_hello', 'messageId': 1050792, 'inResponseTo': 6, 'payload': {'protocolVersion': 67, 'controllerName': 'Pagoda', 'controllerUuid': '66b2937a-5191-4626-89dc-e02c72b8cff7', 'controllerVersion': '1.17.3', 'overrideUuid': True}}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] INFO Processing [ubnt_avclient_hello] message
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'functionName': 'ubnt_avclient_hello', 'messageId': 1050793, 'inResponseTo': 6, 'payload': {'protocolVersion': 67, 'controllerName': 'Pagoda', 'controllerUuid': '66b2937a-5191-4626-89dc-e02c72b8cff7', 'controllerVersion': '1.17.3', 'overrideUuid': True}}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] INFO Processing [ubnt_avclient_paramAgreement] message
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': True, 'functionName': 'ubnt_avclient_paramAgreement', 'messageId': 1050794, 'inResponseTo': 0, 'payload': {'enableStatusCodes': True, 'useHeartbeats': False, 'heartbeatsTimeoutMs': 60000}}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Sending: {'from': 'ubnt_avclient', 'functionName': 'ubnt_avclient_paramAgreement', 'inResponseTo': 1050794, 'messageId': 7, 'payload': {'authToken': '8hQ<rem>RXp', 'features': {}}, 'responseExpected': False, 'to': 'UniFiVideo'}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] INFO Processing [ubnt_avclient_paramAgreement] message
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': True, 'functionName': 'ubnt_avclient_paramAgreement', 'messageId': 1050795, 'inResponseTo': 0, 'payload': {'enableStatusCodes': True, 'useHeartbeats': False, 'heartbeatsTimeoutMs': 60000}}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Sending: {'from': 'ubnt_avclient', 'functionName': 'ubnt_avclient_paramAgreement', 'inResponseTo': 1050795, 'messageId': 8, 'payload': {'authToken': '8hQ6mzPRFqkl6qR8QlcX99WVQSxTwRXp', 'features': {}}, 'responseExpected': False, 'to': 'UniFiVideo'}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] INFO Processing [StartService] message
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': False, 'functionName': 'StartService', 'messageId': 1050796, 'inResponseTo': 0, 'payload': {'service': 'ssh'}}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] INFO Processing [ChangeVideoSettings] message
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': True, 'functionName': 'ChangeVideoSettings', 'messageId': 1050797, 'inResponseTo': 0, 'payload': {}}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Sending: {'from': 'ubnt_avclient', 'to': 'UniFiVideo', 'responseExpected': False, 'functionName': 'ChangeVideoSettings', 'payload': {'audio': {'bitRate': 32000, 'channels': 1, 'description': 'audio track', 'enableTemporalNoiseShaping': False, 'enabled': True, 'mode': 0, 'quality': 0, 'sampleRate': 11025, 'type': 'aac', 'volume': 100}, 'firmwarePath': '/lib/firmware/', 'video': {'enableHrd': False, 'hdrMode': 0, 'lowDelay': False, 'mjpg': {'avSerializer': {'destinations': ['file:///tmp/snap.jpeg', 'file:///tmp/snap_av.jpg'], 'parameters': {'audioId': 1000, 'enableTimestampsOverlapAvoidance': False, 'suppressAudio': True, 'suppressVideo': False, 'videoId': 1001}, 'type': 'mjpg'}, 'bitRateCbrAvg': 500000, 'bitRateVbrMax': 500000, 'bitRateVbrMin': None, 'description': 'JPEG pictures', 'enabled': True, 'fps': 5, 'height': 720, 'isCbr': False, 'maxFps': 5, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': None, 'name': 'mjpg', 'quality': 80, 'sourceId': 3, 'streamId': 8, 'streamOrdinal': 3, 'type': 'mjpg', 'validBitrateRangeMax': 6000000, 'validBitrateRangeMin': 32000, 'width': 1280}, 'video1': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 1400000, 'bitRateVbrMax': 2800000, 'bitRateVbrMin': 48000, 'description': 'Hi quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 720, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video1', 'sourceId': 0, 'streamId': 1, 'streamOrdinal': 0, 'type': 'h264', 'validBitrateRangeMax': 2800000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 1280}, 'video2': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 500000, 'bitRateVbrMax': 1200000, 'bitRateVbrMin': 48000, 'currentVbrBitrate': 1200000, 'description': 'Medium quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 400, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video2', 'sourceId': 1, 'streamId': 2, 'streamOrdinal': 1, 'type': 'h264', 'validBitrateRangeMax': 1500000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 720}, 'video3': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 300000, 'bitRateVbrMax': 200000, 'bitRateVbrMin': 48000, 'currentVbrBitrate': 200000, 'description': 'Low quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 360, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video3', 'sourceId': 2, 'streamId': 4, 'streamOrdinal': 2, 'type': 'h264', 'validBitrateRangeMax': 750000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 640}, 'vinFps': 30}}, 'messageId': 9, 'inResponseTo': 1050797}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] INFO Processing [ChangeIspSettings] message
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': True, 'functionName': 'ChangeIspSettings', 'messageId': 1050798, 'inResponseTo': 0, 'payload': {}}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Sending: {'from': 'ubnt_avclient', 'to': 'UniFiVideo', 'responseExpected': False, 'functionName': 'ChangeIspSettings', 'payload': {'aeMode': 'auto', 'aeTargetPercent': 50, 'aggressiveAntiFlicker': 0, 'brightness': 50, 'contrast': 50, 'criticalTmpOfProtect': 40, 'dZoomCenterX': 50, 'dZoomCenterY': 50, 'dZoomScale': 0, 'dZoomStreamId': 4, 'darkAreaCompensateLevel': 0, 'denoise': 50, 'enable3dnr': 1, 'enableExternalIr': 0, 'enableMicroTmpProtect': 1, 'enablePauseMotion': 0, 'flip': 0, 'focusMode': 'ztrig', 'focusPosition': 0, 'forceFilterIrSwitchEvents': 0, 'hue': 50, 'icrLightSensorNightThd': 0, 'icrSensitivity': 0, 'irLedLevel': 215, 'irLedMode': 'auto', 'irOnStsBrightness': 0, 'irOnStsContrast': 0, 'irOnStsDenoise': 0, 'irOnStsHue': 0, 'irOnStsSaturation': 0, 'irOnStsSharpness': 0, 'irOnStsWdr': 0, 'irOnValBrightness': 50, 'irOnValContrast': 50, 'irOnValDenoise': 50, 'irOnValHue': 50, 'irOnValSaturation': 50, 'irOnValSharpness': 50, 'irOnValWdr': 1, 'lensDistortionCorrection': 1, 'masks': None, 'mirror': 0, 'queryIrLedStatus': 0, 'saturation': 50, 'sharpness': 50, 'touchFocusX': 1001, 'touchFocusY': 1001, 'wdr': 1, 'zoomPosition': 0}, 'messageId': 10, 'inResponseTo': 1050798}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] INFO Processing [ChangeIspSettings] message
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': True, 'functionName': 'ChangeIspSettings', 'messageId': 1050799, 'inResponseTo': 0, 'payload': {'masks': {'0': None}, 'aeMode': 'auto', 'irLedMode': 'auto', 'irLedLevel': 215, 'wdr': 1, 'brightness': 50, 'contrast': 50, 'hue': 50, 'saturation': 50, 'sharpness': 50, 'denoise': 50, 'dZoomScale': 0, 'dZoomStreamId': 4, 'dZoomCenterX': 50, 'dZoomCenterY': 50, 'lensDistortionCorrection': 1, 'focusMode': 'ztrig', 'focusPosition': 0, 'touchFocusX': 1001, 'touchFocusY': 1001, 'zoomPosition': 0, 'icrSensitivity': 0, 'enable3dnr': 1, 'aggressiveAntiFlicker': 0, 'enableExternalIr': 0, 'enablePauseMotion': 0, 'zonesAutoFlipMirror': 0, 'mirror': 0, 'flip': 0, 'autoFlipMirror': 0}}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Sending: {'from': 'ubnt_avclient', 'to': 'UniFiVideo', 'responseExpected': False, 'functionName': 'ChangeIspSettings', 'payload': {'aeMode': 'auto', 'aeTargetPercent': 50, 'aggressiveAntiFlicker': 0, 'brightness': 50, 'contrast': 50, 'criticalTmpOfProtect': 40, 'dZoomCenterX': 50, 'dZoomCenterY': 50, 'dZoomScale': 0, 'dZoomStreamId': 4, 'darkAreaCompensateLevel': 0, 'denoise': 50, 'enable3dnr': 1, 'enableExternalIr': 0, 'enableMicroTmpProtect': 1, 'enablePauseMotion': 0, 'flip': 0, 'focusMode': 'ztrig', 'focusPosition': 0, 'forceFilterIrSwitchEvents': 0, 'hue': 50, 'icrLightSensorNightThd': 0, 'icrSensitivity': 0, 'irLedLevel': 215, 'irLedMode': 'auto', 'irOnStsBrightness': 0, 'irOnStsContrast': 0, 'irOnStsDenoise': 0, 'irOnStsHue': 0, 'irOnStsSaturation': 0, 'irOnStsSharpness': 0, 'irOnStsWdr': 0, 'irOnValBrightness': 50, 'irOnValContrast': 50, 'irOnValDenoise': 50, 'irOnValHue': 50, 'irOnValSaturation': 50, 'irOnValSharpness': 50, 'irOnValWdr': 1, 'lensDistortionCorrection': 1, 'masks': None, 'mirror': 0, 'queryIrLedStatus': 0, 'saturation': 50, 'sharpness': 50, 'touchFocusX': 1001, 'touchFocusY': 1001, 'wdr': 1, 'zoomPosition': 0}, 'messageId': 11, 'inResponseTo': 1050799}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] INFO Processing [ChangeVideoSettings] message
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': True, 'functionName': 'ChangeVideoSettings', 'messageId': 1050800, 'inResponseTo': 0, 'payload': {'video': {'video1': {'bitRateVbrMax': 2800000, 'enabled': True, 'fps': 30, 'isCbr': False, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 750000, 'nMultiplier': 5}, 'video2': {'bitRateVbrMax': 1200000, 'enabled': True, 'fps': 30, 'isCbr': False, 'minClientAdaptiveBitRate': 150000, 'minMotionAdaptiveBitRate': 750000, 'nMultiplier': 5}, 'video3': {'bitRateVbrMax': 200000, 'enabled': True, 'fps': 30, 'isCbr': False, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 200000, 'nMultiplier': 5}}}}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Sending: {'from': 'ubnt_avclient', 'to': 'UniFiVideo', 'responseExpected': False, 'functionName': 'ChangeVideoSettings', 'payload': {'audio': {'bitRate': 32000, 'channels': 1, 'description': 'audio track', 'enableTemporalNoiseShaping': False, 'enabled': True, 'mode': 0, 'quality': 0, 'sampleRate': 11025, 'type': 'aac', 'volume': 100}, 'firmwarePath': '/lib/firmware/', 'video': {'enableHrd': False, 'hdrMode': 0, 'lowDelay': False, 'mjpg': {'avSerializer': {'destinations': ['file:///tmp/snap.jpeg', 'file:///tmp/snap_av.jpg'], 'parameters': {'audioId': 1000, 'enableTimestampsOverlapAvoidance': False, 'suppressAudio': True, 'suppressVideo': False, 'videoId': 1001}, 'type': 'mjpg'}, 'bitRateCbrAvg': 500000, 'bitRateVbrMax': 500000, 'bitRateVbrMin': None, 'description': 'JPEG pictures', 'enabled': True, 'fps': 5, 'height': 720, 'isCbr': False, 'maxFps': 5, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': None, 'name': 'mjpg', 'quality': 80, 'sourceId': 3, 'streamId': 8, 'streamOrdinal': 3, 'type': 'mjpg', 'validBitrateRangeMax': 6000000, 'validBitrateRangeMin': 32000, 'width': 1280}, 'video1': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 1400000, 'bitRateVbrMax': 2800000, 'bitRateVbrMin': 48000, 'description': 'Hi quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 720, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video1', 'sourceId': 0, 'streamId': 1, 'streamOrdinal': 0, 'type': 'h264', 'validBitrateRangeMax': 2800000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 1280}, 'video2': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 500000, 'bitRateVbrMax': 1200000, 'bitRateVbrMin': 48000, 'currentVbrBitrate': 1200000, 'description': 'Medium quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 400, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video2', 'sourceId': 1, 'streamId': 2, 'streamOrdinal': 1, 'type': 'h264', 'validBitrateRangeMax': 1500000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 720}, 'video3': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 300000, 'bitRateVbrMax': 200000, 'bitRateVbrMin': 48000, 'currentVbrBitrate': 200000, 'description': 'Low quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 360, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video3', 'sourceId': 2, 'streamId': 4, 'streamOrdinal': 2, 'type': 'h264', 'validBitrateRangeMax': 750000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 640}, 'vinFps': 30}}, 'messageId': 12, 'inResponseTo': 1050800}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] INFO Processing [ChangeVideoSettings] message
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': True, 'functionName': 'ChangeVideoSettings', 'messageId': 1050801, 'inResponseTo': 0, 'payload': {}}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Sending: {'from': 'ubnt_avclient', 'to': 'UniFiVideo', 'responseExpected': False, 'functionName': 'ChangeVideoSettings', 'payload': {'audio': {'bitRate': 32000, 'channels': 1, 'description': 'audio track', 'enableTemporalNoiseShaping': False, 'enabled': True, 'mode': 0, 'quality': 0, 'sampleRate': 11025, 'type': 'aac', 'volume': 100}, 'firmwarePath': '/lib/firmware/', 'video': {'enableHrd': False, 'hdrMode': 0, 'lowDelay': False, 'mjpg': {'avSerializer': {'destinations': ['file:///tmp/snap.jpeg', 'file:///tmp/snap_av.jpg'], 'parameters': {'audioId': 1000, 'enableTimestampsOverlapAvoidance': False, 'suppressAudio': True, 'suppressVideo': False, 'videoId': 1001}, 'type': 'mjpg'}, 'bitRateCbrAvg': 500000, 'bitRateVbrMax': 500000, 'bitRateVbrMin': None, 'description': 'JPEG pictures', 'enabled': True, 'fps': 5, 'height': 720, 'isCbr': False, 'maxFps': 5, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': None, 'name': 'mjpg', 'quality': 80, 'sourceId': 3, 'streamId': 8, 'streamOrdinal': 3, 'type': 'mjpg', 'validBitrateRangeMax': 6000000, 'validBitrateRangeMin': 32000, 'width': 1280}, 'video1': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 1400000, 'bitRateVbrMax': 2800000, 'bitRateVbrMin': 48000, 'description': 'Hi quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 720, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video1', 'sourceId': 0, 'streamId': 1, 'streamOrdinal': 0, 'type': 'h264', 'validBitrateRangeMax': 2800000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 1280}, 'video2': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 500000, 'bitRateVbrMax': 1200000, 'bitRateVbrMin': 48000, 'currentVbrBitrate': 1200000, 'description': 'Medium quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 400, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video2', 'sourceId': 1, 'streamId': 2, 'streamOrdinal': 1, 'type': 'h264', 'validBitrateRangeMax': 1500000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 720}, 'video3': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 300000, 'bitRateVbrMax': 200000, 'bitRateVbrMin': 48000, 'currentVbrBitrate': 200000, 'description': 'Low quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 360, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video3', 'sourceId': 2, 'streamId': 4, 'streamOrdinal': 2, 'type': 'h264', 'validBitrateRangeMax': 750000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 640}, 'vinFps': 30}}, 'messageId': 13, 'inResponseTo': 1050801}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] INFO Processing [ChangeVideoSettings] message
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': True, 'functionName': 'ChangeVideoSettings', 'messageId': 1050802, 'inResponseTo': 0, 'payload': {'audio': {'bitRate': 64000, 'volume': 100}}}
4/8/2021 12:20:17 PM2021-04-08 18:20:17 3e84b176b3b2 Core[1] DEBUG Sending: {'from': 'ubnt_avclient', 'to': 'UniFiVideo', 'responseExpected': False, 'functionName': 'ChangeVideoSettings', 'payload': {'audio': {'bitRate': 32000, 'channels': 1, 'description': 'audio track', 'enableTemporalNoiseShaping': False, 'enabled': True, 'mode': 0, 'quality': 0, 'sampleRate': 11025, 'type': 'aac', 'volume': 100}, 'firmwarePath': '/lib/firmware/', 'video': {'enableHrd': False, 'hdrMode': 0, 'lowDelay': False, 'mjpg': {'avSerializer': {'destinations': ['file:///tmp/snap.jpeg', 'file:///tmp/snap_av.jpg'], 'parameters': {'audioId': 1000, 'enableTimestampsOverlapAvoidance': False, 'suppressAudio': True, 'suppressVideo': False, 'videoId': 1001}, 'type': 'mjpg'}, 'bitRateCbrAvg': 500000, 'bitRateVbrMax': 500000, 'bitRateVbrMin': None, 'description': 'JPEG pictures', 'enabled': True, 'fps': 5, 'height': 720, 'isCbr': False, 'maxFps': 5, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': None, 'name': 'mjpg', 'quality': 80, 'sourceId': 3, 'streamId': 8, 'streamOrdinal': 3, 'type': 'mjpg', 'validBitrateRangeMax': 6000000, 'validBitrateRangeMin': 32000, 'width': 1280}, 'video1': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 1400000, 'bitRateVbrMax': 2800000, 'bitRateVbrMin': 48000, 'description': 'Hi quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 720, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video1', 'sourceId': 0, 'streamId': 1, 'streamOrdinal': 0, 'type': 'h264', 'validBitrateRangeMax': 2800000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 1280}, 'video2': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 500000, 'bitRateVbrMax': 1200000, 'bitRateVbrMin': 48000, 'currentVbrBitrate': 1200000, 'description': 'Medium quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 400, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video2', 'sourceId': 1, 'streamId': 2, 'streamOrdinal': 1, 'type': 'h264', 'validBitrateRangeMax': 1500000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 720}, 'video3': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 300000, 'bitRateVbrMax': 200000, 'bitRateVbrMin': 48000, 'currentVbrBitrate': 200000, 'description': 'Low quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 360, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video3', 'sourceId': 2, 'streamId': 4, 'streamOrdinal': 2, 'type': 'h264', 'validBitrateRangeMax': 750000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 640}, 'vinFps': 30}}, 'messageId': 14, 'inResponseTo': 1050802}
4/8/2021 12:20:18 PM2021-04-08 18:20:18 3e84b176b3b2 Core[1] INFO Processing [ChangeVideoSettings] message
4/8/2021 12:20:18 PM2021-04-08 18:20:18 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': True, 'functionName': 'ChangeVideoSettings', 'messageId': 1050803, 'inResponseTo': 0, 'payload': {'video': {'videoMode': 'default'}}}
4/8/2021 12:20:18 PM2021-04-08 18:20:18 3e84b176b3b2 Core[1] DEBUG Sending: {'from': 'ubnt_avclient', 'to': 'UniFiVideo', 'responseExpected': False, 'functionName': 'ChangeVideoSettings', 'payload': {'audio': {'bitRate': 32000, 'channels': 1, 'description': 'audio track', 'enableTemporalNoiseShaping': False, 'enabled': True, 'mode': 0, 'quality': 0, 'sampleRate': 11025, 'type': 'aac', 'volume': 100}, 'firmwarePath': '/lib/firmware/', 'video': {'enableHrd': False, 'hdrMode': 0, 'lowDelay': False, 'mjpg': {'avSerializer': {'destinations': ['file:///tmp/snap.jpeg', 'file:///tmp/snap_av.jpg'], 'parameters': {'audioId': 1000, 'enableTimestampsOverlapAvoidance': False, 'suppressAudio': True, 'suppressVideo': False, 'videoId': 1001}, 'type': 'mjpg'}, 'bitRateCbrAvg': 500000, 'bitRateVbrMax': 500000, 'bitRateVbrMin': None, 'description': 'JPEG pictures', 'enabled': True, 'fps': 5, 'height': 720, 'isCbr': False, 'maxFps': 5, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': None, 'name': 'mjpg', 'quality': 80, 'sourceId': 3, 'streamId': 8, 'streamOrdinal': 3, 'type': 'mjpg', 'validBitrateRangeMax': 6000000, 'validBitrateRangeMin': 32000, 'width': 1280}, 'video1': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 1400000, 'bitRateVbrMax': 2800000, 'bitRateVbrMin': 48000, 'description': 'Hi quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 720, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video1', 'sourceId': 0, 'streamId': 1, 'streamOrdinal': 0, 'type': 'h264', 'validBitrateRangeMax': 2800000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 1280}, 'video2': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 500000, 'bitRateVbrMax': 1200000, 'bitRateVbrMin': 48000, 'currentVbrBitrate': 1200000, 'description': 'Medium quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 400, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video2', 'sourceId': 1, 'streamId': 2, 'streamOrdinal': 1, 'type': 'h264', 'validBitrateRangeMax': 1500000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 720}, 'video3': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 300000, 'bitRateVbrMax': 200000, 'bitRateVbrMin': 48000, 'currentVbrBitrate': 200000, 'description': 'Low quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 360, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video3', 'sourceId': 2, 'streamId': 4, 'streamOrdinal': 2, 'type': 'h264', 'validBitrateRangeMax': 750000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 640}, 'vinFps': 30}}, 'messageId': 15, 'inResponseTo': 1050803}
4/8/2021 12:20:18 PM2021-04-08 18:20:18 3e84b176b3b2 Core[1] INFO Processing [ChangeVideoSettings] message
4/8/2021 12:20:18 PM2021-04-08 18:20:18 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': True, 'functionName': 'ChangeVideoSettings', 'messageId': 1050804, 'inResponseTo': 0, 'payload': {'video': {'video1': {'bitRateVbrMax': 2800000, 'enabled': True, 'fps': 15, 'isCbr': False, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 750000, 'nMultiplier': 6}, 'video2': {'bitRateVbrMax': 1200000, 'enabled': True, 'fps': 15, 'isCbr': False, 'minClientAdaptiveBitRate': 150000, 'minMotionAdaptiveBitRate': 750000, 'nMultiplier': 6}, 'video3': {'bitRateVbrMax': 200000, 'enabled': True, 'fps': 15, 'isCbr': False, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 200000, 'nMultiplier': 6}}}}
4/8/2021 12:20:18 PM2021-04-08 18:20:18 3e84b176b3b2 Core[1] DEBUG Sending: {'from': 'ubnt_avclient', 'to': 'UniFiVideo', 'responseExpected': False, 'functionName': 'ChangeVideoSettings', 'payload': {'audio': {'bitRate': 32000, 'channels': 1, 'description': 'audio track', 'enableTemporalNoiseShaping': False, 'enabled': True, 'mode': 0, 'quality': 0, 'sampleRate': 11025, 'type': 'aac', 'volume': 100}, 'firmwarePath': '/lib/firmware/', 'video': {'enableHrd': False, 'hdrMode': 0, 'lowDelay': False, 'mjpg': {'avSerializer': {'destinations': ['file:///tmp/snap.jpeg', 'file:///tmp/snap_av.jpg'], 'parameters': {'audioId': 1000, 'enableTimestampsOverlapAvoidance': False, 'suppressAudio': True, 'suppressVideo': False, 'videoId': 1001}, 'type': 'mjpg'}, 'bitRateCbrAvg': 500000, 'bitRateVbrMax': 500000, 'bitRateVbrMin': None, 'description': 'JPEG pictures', 'enabled': True, 'fps': 5, 'height': 720, 'isCbr': False, 'maxFps': 5, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': None, 'name': 'mjpg', 'quality': 80, 'sourceId': 3, 'streamId': 8, 'streamOrdinal': 3, 'type': 'mjpg', 'validBitrateRangeMax': 6000000, 'validBitrateRangeMin': 32000, 'width': 1280}, 'video1': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 1400000, 'bitRateVbrMax': 2800000, 'bitRateVbrMin': 48000, 'description': 'Hi quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 720, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video1', 'sourceId': 0, 'streamId': 1, 'streamOrdinal': 0, 'type': 'h264', 'validBitrateRangeMax': 2800000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 1280}, 'video2': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 500000, 'bitRateVbrMax': 1200000, 'bitRateVbrMin': 48000, 'currentVbrBitrate': 1200000, 'description': 'Medium quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 400, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video2', 'sourceId': 1, 'streamId': 2, 'streamOrdinal': 1, 'type': 'h264', 'validBitrateRangeMax': 1500000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 720}, 'video3': {'M': 1, 'N': 30, 'avSerializer': {'destinations': ['file:///dev/null'], 'parameters': None, 'type': 'extendedFlv'}, 'bitRateCbrAvg': 300000, 'bitRateVbrMax': 200000, 'bitRateVbrMin': 48000, 'currentVbrBitrate': 200000, 'description': 'Low quality video track', 'enabled': True, 'fps': 15, 'gopModel': 0, 'height': 360, 'horizontalFlip': False, 'isCbr': False, 'maxFps': 30, 'minClientAdaptiveBitRate': 0, 'minMotionAdaptiveBitRate': 0, 'nMultiplier': 6, 'name': 'video3', 'sourceId': 2, 'streamId': 4, 'streamOrdinal': 2, 'type': 'h264', 'validBitrateRangeMax': 750000, 'validBitrateRangeMin': 32000, 'validFpsValues': [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 30], 'verticalFlip': False, 'width': 640}, 'vinFps': 30}}, 'messageId': 16, 'inResponseTo': 1050804}
4/8/2021 12:20:18 PM2021-04-08 18:20:18 3e84b176b3b2 Core[1] INFO Processing [ChangeDeviceSettings] message
4/8/2021 12:20:18 PM2021-04-08 18:20:18 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': True, 'functionName': 'ChangeDeviceSettings', 'messageId': 1050805, 'inResponseTo': 0, 'payload': {'timezone': 'America/Edmonton'}}
4/8/2021 12:20:18 PM2021-04-08 18:20:18 3e84b176b3b2 Core[1] DEBUG Sending: {'from': 'ubnt_avclient', 'to': 'UniFiVideo', 'responseExpected': False, 'functionName': 'ChangeDeviceSettings', 'payload': {'name': 'Aiakos (Garage)', 'timezone': 'PST8PDT,M3.2.0,M11.1.0'}, 'messageId': 17, 'inResponseTo': 1050805}
4/8/2021 12:20:18 PM2021-04-08 18:20:18 3e84b176b3b2 Core[1] INFO Processing [GetRequest] message
4/8/2021 12:20:18 PM2021-04-08 18:20:18 3e84b176b3b2 Core[1] DEBUG Message contents: {'from': 'UniFiVideo', 'to': 'ubnt_avclient', 'responseExpected': True, 'functionName': 'GetRequest', 'messageId': 1050806, 'inResponseTo': 0, 'payload': {'what': 'snapshot', 'uri': 'https://10.1.1.1:7444/internal/camera-upload/7aF<rem>nSs', 'timeoutMs': 30000}}
Welcome to UniFi Dream Machine!
# unifi-os shell
root@ubnt:/# tail -n 30 /srv/unifi-protect/logs/errors.log
2021-04-08T18:24:09.350Z - error: Error: ECONNREFUSED UVC G3 0CBB [A4D<rem>CBB @ 10.1.2.3] POST api/1.2/manage 0.005 seconds
at i.then.catch.e (/usr/share/unifi-protect/app/webpack:/src/middleware/cameras/api/index.js:20:20)
at tryCatcher (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/promise.js:725:18)
at _drainQueueStep (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/async.js:93:12)
at _drainQueue (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/async.js:102:5)
at Immediate.Async.drainQueues (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/async.js:15:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
2021-04-08T18:24:09.355Z - error: Failed to readopt UVC G3 0CBB [A4D<rem>CBB @ 10.1.2.3] with nvr password. ECONNREFUSED UVC G3 0CBB [A4DA222C0CBB @ 10.1.2.3] POST api/1.2/manage 0.005 seconds
2021-04-08T18:24:09.364Z - error: Error: ECONNREFUSED UVC G3 0CBB [A4D<rem>CBB @ 10.1.2.3] POST api/1.2/manage 0.004 seconds
at i.then.catch.e (/usr/share/unifi-protect/app/webpack:/src/middleware/cameras/api/index.js:20:20)
at tryCatcher (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/promise.js:725:18)
at _drainQueueStep (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/async.js:93:12)
at _drainQueue (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/async.js:102:5)
at Immediate.Async.drainQueues (/usr/share/unifi-protect/app/node_modules/bluebird/js/release/async.js:15:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
2021-04-08T18:24:09.365Z - error: Failed to readopt UVC G3 0CBB [A4D<rem>CBB @ 10.1.2.3] with default password. ECONNREFUSED UVC G3 0CBB [A4D<rem>CBB @ 10.1.2.3] POST api/1.2/manage 0.004 seco
nds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment