colinbendell / homebridge-blink-for-home

Blink For Home Camera Homebridge plugin
MIT License
87 stars 27 forks source link

Error: Audio was enabled but not supplied in PrepareStreamResponse! AND TypeError: Cannot read properties of undefined (reading 'proxyServer') #102

Open rbenjamint opened 2 years ago

rbenjamint commented 2 years ago

I updated to latest version, when viewing the camera, I get this error and after this error its restarting whole homebridge.

Error: Audio was enabled but not supplied in PrepareStreamResponse! at RTPStreamManagement.generateSetupEndpointResponse (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/camera/RTPStreamManagement.ts:1124:13) at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/camera/RTPStreamManagement.ts:1094:16 at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:10:18 at BlinkCameraDelegate.prepareStream (/usr/local/lib/node_modules/homebridge-blink-for-home/src/homebridge/blink-camera-deligate.js:132:9)

Also get the following error: TypeError: Cannot read properties of undefined (reading 'proxyServer') at BlinkCameraDelegate.handleStreamRequest (/usr/local/lib/node_modules/homebridge-blink-for-home/src/homebridge/blink-camera-deligate.js:240:31) at RTPStreamManagement._handleStopStream (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/camera/RTPStreamManagement.ts:963:19) at RTPStreamManagement._handleSelectedStreamConfigurationWrite (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/camera/RTPStreamManagement.ts:751:12) at SelectedRTPStreamConfiguration.emit (node:events:526:28) at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1725:16 at new Promise (<anonymous>) at SelectedRTPStreamConfiguration.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1723:14) at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27) at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57) at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75

Anyone else with this issue? And what to do about it?

colinbendell commented 2 years ago

update to 3.9.1 should fix this.