-
-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speech garbled when talking to Ring devices #984
Comments
When I was able to get the live stream working a few months ago, I was also seeing issue, but assumed it was something to do with my particular setup. This is just a guess, but it may be due to mismatched sample rates/bit rates/encoding between what ring is providing/expecting and what the plugin is converting between. Might be something worth looking into, though I doubt amazon/ring post what their default values are for those kinds of things. |
Thanks for looking into it, and your awesome plugin.
… On Jul 9, 2022, at 1:00 AM, rfiorentino1 ***@***.***> wrote:
When I was able to get the live stream working a few months ago, I was also seeing issue, but assumed it was something to do with my particular setup. This is just a guess, but it may be due to mismatched sample rates/bit rates/encoding between what ring is providing/expecting and what the plugin is converting between. Might be something worth looking into, though I doubt amazon/ring post what their default values are for those kinds of things.
—
Reply to this email directly, view it on GitHub <#984 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AZ64EOAK5JVEFCH37O7EDC3VTEBNPANCNFSM527DWKFQ>.
You are receiving this because you authored the thread.
|
I also have the same issue. Discussed here: #966 |
Interesting. Thank you for connecting these 2 issues, and sharing the log, that actually was really helpful. From an audio perspective, I do think the issue is in the conversion between Mac and the lib opus encoder. The plugin is currently taking a mono 16K stream, and converting it to a stereo 48K stream, which I don't thin the doorbell can handle. I would try keeping the rates the same, so 16K mono both ways, and see what happens/if it improves audio and reliability. |
It's very likely that there is something wrong with the audio conversion in this case. I fixed a similar issue (#930) recently, where some cameras were still using PCMU instead of opus. It's very possible that the Ring Doorbell Pro is using a different bit rate or something along those lines. @Dave-8080 is your doorbell located such that you would feel comfortable sharing it with me for a few days to debug? If so, please send a Ring invite to |
I’m updating the doorbell to a Ring video doorbell 2020 because of battery drain. If the issue is still Ty, I’ll be glad to share it.
… On Jul 10, 2022, at 2:09 PM, Dusty Greif ***@***.***> wrote:
It's very likely that there is something wrong with the audio conversion in this case. I fixed a similar issue (#930) recently, where some cameras were still using PCMU instead of opus. It's very possible that the Ring Doorbell Pro is using a different bit rate or something along those lines.
@Dave-8080 is your doorbell located such that you would feel comfortable sharing it with me for a few days to debug? If so, please send a Ring invite to ***@***.*** Hopefully access to it will give me some insight into what it's expecting for stream settings.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
If it would be helpful, I do have a 2021 ring video doorbell pro that I'd be happy to share an invite to for debugging |
@rfiorentino1 is yours exhibiting the same garbled audio when using 2-way, or does it just not stream at all? |
The last few times that I've actually been able to stream audio/video, the return audio from my phone to the camera was very garbled/pitched down like the above post describes. I currently can't get live streams to work, hence #985 but last working one was probably about a month ago, after the update that closed #930 |
Interestingly 9.24.0 works flawlessly for me every time. The audio seems to be a little less clearer generally, as far as frequency goes, than the newer versions of the plug-in, but the streaming part works every time |
FWIW I have the same issue and I am happy to help test if required. |
@dgreif I can also provide access to my Ring Doorbell Pro to help with this issue if needed. |
@Dave-8080 thanks for sharing the camera. I tested it with homebridge and it appears that the audio goes through, but the voice is distorted. I was able to recreate this problem on my end with my own cameras, so feel free to remove my access. Can you confirm that you are able to actually hear your words, but that they sound distorted when using homebridge 2-way audio? |
Yes, that describes it.
… On Jul 16, 2022, at 7:45 PM, Dusty Greif ***@***.***> wrote:
@Dave-8080 <https://github.com/Dave-8080> thanks for sharing the camera. I tested it with homebridge and it appears that the audio goes through, but the voice is distorted. I was able to recreate this problem on my end with my own cameras, so feel free to remove my access. Can you confirm that you are able to actually hear your words, but that they sound distorted when using homebridge 2-way audio?
—
Reply to this email directly, view it on GitHub <#984 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AZ64EOGFJZQW6S4HEGBOL7LVUNCRJANCNFSM527DWKFQ>.
You are receiving this because you were mentioned.
|
I've been running version 9.24.0 of this plug-in for the last few weeks because that's the last stable version for me for whatever reason. However, I fixed a troublesome Apple TV today, which was causing issues with a homebridge doorlock, and decided to update Ring again to the latest version, to see if it worked and also to confirm this garbled audio issue. When running on 11.0.7, I now seem to get streaming with video/audio about 60% of the time, but still not nearly as consistent as 9.24.0 which streams consistently every single time. |
Thanks for the info. I think you can both revoke my access at this point since I'm able to replicate with my own cameras. I haven't identified a fix yet, and have a busy couple weeks coming up. Thanks for your patience while I get this sorted out! |
Just dropping in to confirm this issue on my ring devices. Ive tested doorbell2 and stick-up cams. |
Same issue here on ring doorbell 3 plus, stick up cam (3rd gen) and video doorbell 2 |
Same issue here on Ring Peephole cam |
I have just added my new Ring Video Doorbel Pro 2 (firmware: 10.0.18) via your plugin and it almost works great :) I also have the same sound-bug. Me speaking thru Homekit to the doorbell makes mu voice sound al scrambled up. When I try this via the original Ring app, my voice is Cristal clear. I use Homebridge version 1.6.0 Maybe there's an audio setting of some kind I've missed or is this bug still active? Many thanks for your hard work making this dream of many..... real 🙏🏻 Hope to hear from you soon. |
I still haven't tracked down what is causing this bug. I believe it is present for all users and camera models |
@tsightler was able to track down some better config options for 2-way audio in #1299. It seems to be much better now, so I'm going to close this issue. These changes will be available in v12 of the plugin. |
Bug Report
Describe the Bug
Speech garbled when talking to Ring devices. I have homebridge running natively on a Synology DS920+. The only plugins. installed are Homebridge TPLink Smarthome and Homebridge Ring. Video streaming and alerts work fine. I can also listen on my iPhone to both the Ring gen 1 doorbell and Wired Stickup camera. However, when I speak to the Ring device from my iPhone, the speech that comes out of both devices is unintelligible. This problem does not occur with the Ring app for iOS.To Reproduce
Steps to reproduce the behavior:
Expected behavior
A person listening to the doorbells speaker can understand meScreenshots/Logs
If applicable, add screenshots and log output to help explain your problem.Additional context
This issue does not occur with the official Ring app on iOSHomebridge Ring Config
Post homebridge-ring platform config without sensitive information
Environment
The text was updated successfully, but these errors were encountered: