[Bug]: Livestream not working on Wireless Doorbell
### What happened?

Hi, the livestream doesn't seem to work with a wireless Doorbell.
I managed to connect the doorbell to HomeKit via Homebridge and I receive the notifications whenever someone ring the bell but I have no preview and the livestream says "**the camera doesn't respond**".

On the Homebridge side, I get this error: "**ERROR: Local livestream didn't start in time**. Abort livestream request." + "**ERROR: Sonnette Unable to start the livestream: no started livestream found**".

And then, I get this:
[EufySecurity-2.0.1] INFO:  Sonnette Starting video stream: 640x480, 30 fps, 299 kbps  (AAC-eld)
[8/10/2022, 3:05:47 PM] **TypeError: ffmpegInput is not iterable**
at StreamingDelegate.startStream (/usr/local/lib/node_modules/homebridge-eufy security/src/accessories/streamingDelegate.ts:676:20)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

• "Use RTSP" option is deactivated
• Camera is unbridged
• Connected with guest account and admin rights
• "ffmpeg debug" activated


I tried with and without "Improve livestream caching" => same problem
I tried with Homebridge **1.5** and then **1.4.1** => same problem
I tried with "Eufy plug-in" v2.0.1 and 2.1.0 and 2.2.0 => doesn't work either
I tried with and without the shine => same problem
I tried uninstall + reinstall + cache browser cleaned => same problem
I changed the "CameraMaxLivestreamDuration" to 600s => same problem
I tried the "sudo npm i ffmpeg-for-homebridge -g" command => same problem


Is "**ffmpegInput is not iterable**" a common issue?
I looked on the "**Common Issues**" and "**Troubleshoot**" but nothing seems related to that error...


Thanks in advance for you help!

Sylvain


### Device Type

Doorbell (Supported)

### Plugin Version

v2.0.x (Supported)

### HomeBridge Version

v1.4.x (Supported)

### NodeJS Version

v16 (Supported)

### Operating System

Mac OS X 11+ (Supported)

### Relevant log output

```shell
[8/10/2022, 3:12:01 PM] [EufySecurity-2.0.1] DEBUG: EufyClient connected true
[8/10/2022, 3:12:01 PM] [EufySecurity-2.0.1] DEBUG: Refresh data from cloud and schedule next refresh.
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: CameraMaxLivestreamDuration: 600
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Found 3 stations.
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Found Station T8020P1021150F6C Carillon STATION 192.168.1.40
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] INFO:  You're using guest admin account with this plugin! This is recommanded way!
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Found Station T8410P2020370D67 Camera INDOOR_PT_CAMERA 192.168.1.8
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] INFO:  You're using guest admin account with this plugin! This is recommanded way!
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Device ignored
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Found Station T8410P312128243E Garage INDOOR_PT_CAMERA 192.168.1.61
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] INFO:  You're using guest admin account with this plugin! This is recommanded way!
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Device ignored
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Found 3 devices.
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Found device T8410P2020370D67 Camera INDOOR_PT_CAMERA
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Device ignored
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Found device T8410P312128243E Garage INDOOR_PT_CAMERA
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Device ignored
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Found device T8220P602114005D Sonnette BATTERY_DOORBELL_2
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Carillon UUID: cfa9ecd7-0cc0-4507-a985-329ed818e2bb
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Carillon Constructed Station
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] INFO:  Updating accessory: Carillon
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette UUID: 64eb0dc0-f288-481b-8f90-b540b1400c62
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette has a battery, so append Battery characteristic to him.
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Constructed Camera
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette config is: {
  serialNumber: 'Edited for security reasons',
  enableCamera: false,
  enableButton: true,
  motionButton: true,
  rtsp: false,
  unbridge: true,
  forcerefreshsnap: false,
  useCachedLocalLivestream: false,
  videoConfig: { debug: true, audio: true },
  name: 'Sonnette'
}
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette has a camera
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette enableButton config: true
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Looks like not compatible with isEnabled or this has been disabled within configuration
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette motionButton config: true
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Looks like not compatible with isMotionDetectionEnabled or this has been disabled within configuration
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Looks like not compatible with DeviceLight
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Constructed Doorbell
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] INFO:  Updating accessory: Sonnette
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] INFO:  Removing cached accessory 241e1f70-dc46-4656-8c14-a6d48052ff0a Garage
[8/10/2022, 3:12:04 PM] [EufySecurity-2.0.1] DEBUG: Push Connected!
[8/10/2022, 3:12:04 PM] [EufySecurity-2.0.1] DEBUG: Sonnette SET HomeKitCameraActive: 1
[8/10/2022, 3:12:04 PM] [EufySecurity-2.0.1] DEBUG: Sonnette SET EventSnapshotsActive: 1
[8/10/2022, 3:12:04 PM] [EufySecurity-2.0.1] DEBUG: Sonnette SET HomeKitCameraOperatingModeIndicator: true
[8/10/2022, 3:12:05 PM] [EufySecurity-2.0.1] DEBUG: Carillon GET StationCurrentMode: 1
[8/10/2022, 3:12:05 PM] [EufySecurity-2.0.1] DEBUG: Carillon GET StationCurrentMode: 1
[8/10/2022, 3:12:05 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceBattery: 88
[8/10/2022, 3:12:05 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET EventSnapshotsActive: 0
[8/10/2022, 3:12:05 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET HomeKitCameraActive: 0
[8/10/2022, 3:12:05 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceEnabled: true
[8/10/2022, 3:12:05 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceStatusLed: true
[8/10/2022, 3:12:05 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceMotionDetected: false
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Carillon GET StationCurrentMode: 1
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Carillon GET StationCurrentMode: 1
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceBattery: 88
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET EventSnapshotsActive: 0
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET HomeKitCameraActive: 0
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceEnabled: true
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceStatusLed: true
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceMotionDetected: false
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Carillon GET StationCurrentMode: 1
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Carillon GET StationCurrentMode: 1
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceMotionDetected: false
[8/10/2022, 3:12:45 PM] [EufySecurity-2.0.1] DEBUG: handleSnapshotRequest
[8/10/2022, 3:12:45 PM] [EufySecurity-2.0.1] DEBUG: snapshotPromise: false
[8/10/2022, 3:12:45 PM] [EufySecurity-2.0.1] DEBUG: Snapshot requested: 1280 x 720 Sonnette true
[8/10/2022, 3:12:45 PM] [EufySecurity-2.0.1] DEBUG: Sonnette RTSP rtspStream:false
[8/10/2022, 3:12:45 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Looks like not compatible with RTSP
[8/10/2022, 3:12:45 PM] [EufySecurity-2.0.1] DEBUG: Sonnette EUFY CLOUD URL: removed for security reasons
[8/10/2022, 3:12:45 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Snapshot command: /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/ffmpeg-for-homebridge/ffmpeg -i removed for security reasonsSignature=removed for security reasons -frames:v 1 -f image2 - -hide_banner -loglevel error true
[8/10/2022, 3:12:46 PM] [EufySecurity-2.0.1] DEBUG: Fetching snapshot took 0.361 seconds. Sonnette true
[8/10/2022, 3:12:46 PM] [EufySecurity-2.0.1] DEBUG: snapshot byte lenght: 49150
[8/10/2022, 3:12:46 PM] [EufySecurity-2.0.1] DEBUG: Sending snapshot: 1280 x 720 Sonnette true
[8/10/2022, 3:12:46 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Resize command: /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/ffmpeg-for-homebridge/ffmpeg -i pipe: -frames:v 1 -filter:v scale='min(1280,iw)':'min(720,ih)':force_original_aspect_ratio=decrease -f image2 - true
[8/10/2022, 3:12:46 PM] [EufySecurity-2.0.1] DEBUG: Sonnette RTSP rtspStream:false
[8/10/2022, 3:12:46 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Looks like not compatible with RTSP
[8/10/2022, 3:12:46 PM] [EufySecurity-2.0.1] DEBUG: New instance requests livestream. There were 0 instance(s) using the livestream until now.
[8/10/2022, 3:12:46 PM] [EufySecurity-2.0.1] DEBUG: Start new local livestream...
[8/10/2022, 3:12:49 PM] [EufySecurity-2.0.1] DEBUG: Setting snapshotPromise to undefined.
[8/10/2022, 3:12:51 PM] [EufySecurity-2.0.1] ERROR: Local livestream didn't start in time. Abort livestream request.
[8/10/2022, 3:12:51 PM] [EufySecurity-2.0.1] ERROR: Sonnette Unable to start the livestream: no started livestream found
[8/10/2022, 3:12:51 PM] [EufySecurity-2.0.1] DEBUG: Sonnette VIDEOCONFIG: {"debug":true,"audio":true,"stillImageSource":"-i removed for security reasons
Signature=removed for security reasons","maxWidth":640,"maxHeight":480,"maxFPS":10,"maxStreams":2,"maxBitrate":99,"vcodec":"libx264","packetSize":188,"acodec":"libfdk_aac","encoderOptions":"-preset ultrafast -tune zerolatency","forceMax":false}
[8/10/2022, 3:12:51 PM] [EufySecurity-2.0.1] INFO:  Sonnette Starting video stream: 640x480, 30 fps, 299 kbps  (AAC-eld)
[8/10/2022, 3:12:51 PM] TypeError: ffmpegInput is not iterable
    at StreamingDelegate.startStream (/usr/local/lib/node_modules/homebridge-eufy-security/src/accessories/streamingDelegate.ts:676:20)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[8/10/2022, 3:12:51 PM] Got SIGTERM, shutting down Homebridge...
[8/10/2022, 3:12:51 PM] [EufySecurity-2.0.1] WARN:  Push Closed!
[8/10/2022, 3:12:51 PM] [EufySecurity-2.0.1] INFO:  Finished shutdown!
[8/10/2022, 3:12:51 PM] [EufySecurity-2.0.1] DEBUG: Stopping local livestream.
[8/10/2022, 3:12:52 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Receive Apple HK Stop request{"sessionID":"b85c49dd-8fbf-46a6-8202-3635678bafc4","type":"stop"}
[8/10/2022, 3:12:52 PM] [EufySecurity-2.0.1] DEBUG: Stopping session with id: b85c49dd-8fbf-46a6-8202-3635678bafc4
[8/10/2022, 3:12:52 PM] [EufySecurity-2.0.1] DEBUG: No session to stop.
[8/10/2022, 3:12:51 PM] Got SIGTERM, shutting down child bridge process...
[8/10/2022, 3:12:56 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[8/10/2022, 3:13:01 PM] [HB Supervisor] Restarting Homebridge...
```
