seydx / homebridge-camera-ui

Homebridge plugin for RTSP Cameras with HSV, motion detection support, Image Rekognition, Web UI to manage/watch streams and WebApp support
MIT License
638 stars 92 forks source link

Parameter to Enable Two way audio #551

Closed Rahulsharma0810 closed 1 year ago

Rahulsharma0810 commented 2 years ago

Describe the bug

How should one enable the two-way audio option? tried with returnAudioTarget : true but FFmpeg crashes.

To Reproduce returnAudioTarget : true

Expected behavior Two-way audio should be working.

Logs

[5/12/2022, 2:54:23 PM] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":33.73737335205078,"sensitivity":67,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Living Room Camera
[5/12/2022, 2:54:23 PM] [CameraUI] Living Room Camera: Skip motion trigger. At Home is active and the Living Room Camera is not excluded!
[5/12/2022, 2:56:32 PM] [CameraUI] Living Room Camera: Starting video stream: 1280x720, 30 fps, 299 kbps  (AAC-eld)
[5/12/2022, 2:56:34 PM] [CameraUI]  ERROR  Living Room Camera: FFmpeg exited with code: 1 and signal: null
[5/12/2022, 2:56:34 PM] [CameraUI] Living Room Camera: Stopped video stream.
[5/12/2022, 2:56:56 PM] [Homebridge UI] [homebridge-camera-ui] Incoming Request: /interfaceConfig
[5/12/2022, 2:57:23 PM] [CameraUI] VIDEOANALYSIS: New message: Data: {"time":"2022-05-12T09:27:2

Screenshots If applicable, add screenshots to help explain your problem.

Environment

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

jhonnybonny commented 8 months ago

the same and when "returnAudioTarget": "-f alsa plughw:CARD=P610,DEV=0 -ar 16000 -thread_queue_size 1024", and u press talk button get ERROR CAM0: FFmpeg exited with code: 1 and signal: null and cam crashed