koush / scrypted

Scrypted is a high performance video integration and automation platform
https://scrypted.app
Other
4.17k stars 248 forks source link

Reolink doorbell 2 way audio not working #879

Closed dmsignup closed 1 year ago

dmsignup commented 1 year ago

Hi I am having an awesome sauce with 2 way audio working on the Poe doorbell. I have been using the Onvif plugin with Onvif 2 way set as true. I have tried the last 2 firmwares multiple times with the same results. Scrypted server version is 0.23.0 and Onvif plug-in is 0.0.121.

Below is the console logs of when I try to use 2 way audio.

rtsp incoming message RTSP/1.0 401 Unauthorized CSeq: 1 Date: Fri, Jun 09 2023 07:00:18 GMT WWW-Authenticate: Digest realm="BC Streaming Media", nonce="6dbcf1930355ab01177e6d9fc90dbec5"

HomeKit: intercom failed to start RPCResultError [URIError]: URI malformed HomeKit: at decodeURIComponent () HomeKit: at t.RtspClient.createAuthorizationHeader (/common/src/rtsp-server.ts:592:26) HomeKit: at t.RtspClient.writeRequest (/common/src/rtsp-server.ts:424:45) HomeKit: at t.RtspClient.request (/common/src/rtsp-server.ts:620:14) HomeKit: at t.RtspClient.request (/common/src/rtsp-server.ts:647:25) HomeKit: at process.describe (node:internal/process/task_queues:95:5) HomeKit: at t.OnvifIntercom.intercomClient [as checkIntercom] (/src/onvif-intercom.ts:89:15) HomeKit: at t.OnvifIntercom.startIntercom (/src/onvif-intercom.ts:107:35) HomeKit: at RpcPeer.handleMessageInternal (/server/node_modules/@scrypted/server/src/rpc.ts:747:37)

HomeKit: host:@scrypted/homekit { HomeKit: cause: undefined

HomeKit: handleStreamRequest { sessionID: '305dc374-23e5-4115-880b-d143e7f1317e', type: 'stop' } HomeKit: streaming session killed, duration: 5s [Rebroadcast Plugin]: Profile001_SubStream active rebroadcast clients: 1 HomeKit: ffmpeg exited HomeKit: two way audio failed S [Error]: timeout waiting for client HomeKit: at Timeout._onTimeout (/@scrypted/homekit/main.nodejs.js:2:1022135) HomeKit: at listOnTimeout (node:internal/timers:569:17) HomeKit: at processTimers (node:internal/timers:512:7)Hi

dazza120 commented 1 year ago

Mate I'm sure ive read that the 2way is propitiatory and not documented i was looking at the same doorbell to.

koush commented 1 year ago

Try a password without special characters?

dmsignup commented 1 year ago

Thank you Koush a simple password fixed the 2 way audio

dflourusso commented 1 year ago

Simple password fixed 2 way audio here too. Now it's working fine with scrypted + homekit. Thank you!

GravityRZ commented 1 year ago

i had 2 way audio working with with homekit by using the reolink plugin from the start.(with a simple password without special characters) now al of a sudden it does not work anymore.

is is suposed to work with only the reolink plugin or do we still need the onvif plugin? if we do and i open the onvif plugin the reolink doorbell is not visble, only my 2 other camera's

image

in the homerkit plugin it is visible please advice what i am doing wrong

image