Ring: "Return Audio" example no longer working

Created on 17 Apr 2021  路  3Comments  路  Source: dgreif/ring

Bug Report

Describe the Bug

"Return Audio" example no longer send out the sample audio to cameras. However, it DOES record video from cameras.

Please see my log which is attached below

To Reproduce

Steps to reproduce the behavior:

  • Clone source code
  • npm install
  • npm run build && node ./lib/examples/return-audio-example.js

Expected behavior

Camera SHOULD play the audio that is send out by the script

Screenshots/Logs

dump.log

Environment

  • OS: Mac OSX 11.1
  • Node.js: 14.6.0
  • NPM: 6.14.7
  • ring-client-api: 9.16.0
bug

All 3 comments

@dgreif I tried to test the example on Docker and it seems still not working.

// Dockerfile
FROM node:lts-alpine

ADD . /ring

WORKDIR ring

RUN ["npm", "install"]

RUN ["npm", "run", "build"]

CMD ["node", "./lib/examples/return-audio-example.js"]
//.dockerignore
node_modules
.*
package-lock.json

@bachdinhnhan this is an issue on any camera using Ring's newer media servers. I'm guessing it's an encoding issue, likely that the new servers expect opus instead of PCMU, but I need to spend some time experimenting with it. It's on my todo list, just haven't had time to look into it yet.

@bachdinhnhan this is an issue on any camera using Ring's newer media servers. I'm guessing it's an encoding issue, likely that the new servers expect opus instead of PCMU, but I need to spend some time experimenting with it. It's on my todo list, just haven't had time to look into it yet.

If you can tell me some hints, I definitely can figure it out. (My test phone is broken so I can't reverse engineer it right now.)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

parchmaf picture parchmaf  路  3Comments

divemasterjm picture divemasterjm  路  7Comments

zilnik1234 picture zilnik1234  路  3Comments

Lui5Jacint0 picture Lui5Jacint0  路  3Comments

steets250 picture steets250  路  5Comments