So when I press on the microphone to enable two way audio, I can hear the sound of my voice come through the iPhone running IOS 13. But it doesn’t come through the stuck up cam. When I use the ring app it works as it should.
Steps to reproduce the behavior:
I expected to hear my voice come out of the ring camera, not out of my iPhone.
If applicable, add screenshots and log output to help explain your problem.
Add any other context about the problem here.
Post homebridge-ring platform config _without sensitive information_
{
"bridge": {
"name": "Homebridge xxx",
"username": "xxx",
"port": xxx,
"pin": "xxx"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": xxx,
"auth": "form",
"theme": "dark-mode",
"tempUnits": "c",
"lang": "auto",
"platform": "config"
},
{
"refreshToken": "xxx",
"hideDoorbellSwitch": true,
"hideInHomeDoorbellSwitch": true,
"hideAlarmSirenSwitch": true,
"cameraStatusPollingSeconds": 1,
"cameraDingsPollingSeconds": 1,
"platform": "Ring"
}
]
}
@thehorry I have been looking through the code and I don't see any way that your voice would come directly out of the iPhone from the mic of the iPhone. Is it possible that the camera is picking up on your voice? I'd recommend you have someone else stand by the camera and you talk into the phone from a different room
@dgreif yep, stupidity on my part, apologies. When I’m out the room and try it, there is still no output from the camera. But there is also no feedback from my iPhone.
Sounds good, no problem! Could you try version 9.3.4? Also, try turning your mic on within the first few seconds of starting the stream
@dgreif Yeah Iv just updated and restarted homebridge. Tried what you asked and it’s still the same. :(
K, the next step would be to add “debug”: true to the config for homebridge-ring. This will log info from ffmpeg and possibly show an error. If you can turn that on and upload the logs from one attempt, I’ll see if there are any errors
@dgreif Okay Iv added it below. I tried the microphone on and off a few times.
[6/28/2020, 18:20:02] Homebridge is running on port 51621.
[6/28/2020, 18:20:05] [Ring] Location Mode: {"mode":"disabled","lastUpdateTimeMS":1589107187565,"securityStatus":{},"readOnly":true,"notYetParticipatingInMode":[],"responseTimestamp":1593364805000}
[6/28/2020, 18:20:05] [Ring] Configuring 2 cameras and 3 devices for location "Boston" - locationId: xxx
[6/28/2020, 18:20:39] [Ring] No snapshot cached for Front Door
[6/28/2020, 18:20:39] [Ring] Loading new snapshot into cache for Front Door
[6/28/2020, 18:20:40] [Ring] Snapshot cached for Front Door (0.379s)
[6/28/2020, 18:20:41] [Ring] Preparing Live Stream for Rabbit Vision
[6/28/2020, 18:20:43] [Ring] Waiting for stream data from Rabbit Vision (1.581s)
[6/28/2020, 18:20:43] [Ring] ffmpeg stderr From Ring: Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, sdp, from 'pipe:':
[6/28/2020, 18:20:43] [Ring] ffmpeg stderr From Ring: Metadata:
title : Talk
Duration: N/A, start: 0.000000, bitrate: 64 kb/s
Stream #0:0: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
[6/28/2020, 18:20:43] [Ring] ffmpeg stderr From Ring: Stream mapping:
Stream #0:0 -> #0:0 (pcm_mulaw (native) -> aac (libfdk_aac))
[6/28/2020, 18:20:43] [Ring] ffmpeg stderr From Ring: Output #0, rtp, to 'srtp://192.168.0.54:49666?localrtcpport=41807&pkt_size=188':
Metadata:
title : Talk
encoder : Lavf58.29.100
[6/28/2020, 18:20:43] [Ring] ffmpeg stderr From Ring: Stream #0:0: Audio: aac (libfdk_aac) (ELD), 16000 Hz, mono, s16, 24 kb/s
Metadata:
encoder : Lavc58.54.100 libfdk_aac
[6/28/2020, 18:20:43] [Ring] Received stream data from Rabbit Vision (1.861s)
[6/28/2020, 18:20:43] [Ring] Streaming active for Rabbit Vision
[6/28/2020, 18:20:43] [Ring] ffmpeg stderr From Ring: size= 2kB time=00:00:00.52 bitrate= 29.4kbits/s speed=1.03x
[6/28/2020, 18:20:44] [Ring] ffmpeg stderr From Ring: size= 4kB time=00:00:01.03 bitrate= 30.0kbits/s speed=1.02x
[6/28/2020, 18:20:44] [Ring] ffmpeg stderr From Ring: size= 5kB time=00:00:01.54 bitrate= 28.2kbits/s speed=1.01x
[6/28/2020, 18:20:45] [Ring] ffmpeg stderr From Ring: size= 7kB time=00:00:02.05 bitrate= 28.2kbits/s speed=1.01x
[6/28/2020, 18:20:45] [Ring] ffmpeg stderr From Ring: size= 9kB time=00:00:02.53 bitrate= 28.1kbits/s speed= 1x
[6/28/2020, 18:20:46] [Ring] ffmpeg stderr From Ring: size= 10kB time=00:00:03.05 bitrate= 27.8kbits/s speed=0.999x
[6/28/2020, 18:20:46] [Ring] ffmpeg stderr From Ring: size= 12kB time=00:00:03.59 bitrate= 28.2kbits/s speed=1.01x
[6/28/2020, 18:20:47] [Ring] ffmpeg stderr From Ring: size= 14kB time=00:00:04.10 bitrate= 28.2kbits/s speed= 1x
[6/28/2020, 18:20:48] [Ring] ffmpeg stderr From Ring: size= 16kB time=00:00:04.61 bitrate= 28.1kbits/s speed=1.01x
[6/28/2020, 18:20:48] [Ring] Used cached snapshot for Front Door
[6/28/2020, 18:20:48] [Ring] ffmpeg stderr From Ring: size= 17kB time=00:00:05.03 bitrate= 28.2kbits/s speed=0.988x
[6/28/2020, 18:20:48] [Ring] Stopped Live Stream for Rabbit Vision
[6/28/2020, 18:20:48] [Ring] ffmpeg stderr HomeKit Return Audio: Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, sdp, from 'pipe:':
Metadata:
title : Talk
Duration: N/A, bitrate: N/A
Stream #0:0: Audio: aac, 16000 Hz, mono, s16
Stream mapping:
Stream #0:0 -> #0:0 (aac (libfdk_aac) -> pcm_mulaw (native))
Finishing stream 0:0 without any data written to it.
Output #0, rtp, to 'srtp://127.0.0.1:37403?pkt_size=188':
Metadata:
title : Talk
encoder : Lavf58.29.100
Stream #0:0: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
Metadata:
encoder : Lavc58.54.100 pcm_mulaw
size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
Exiting normally, received signal 15.
[6/28/2020, 18:20:48] [Ring] ffmpeg HomeKit Return Audio exited with code 255
[6/28/2020, 18:20:48] [Ring] ffmpeg exited with code 255
[6/28/2020, 18:20:51] [Ring] Preparing Live Stream for Rabbit Vision
[6/28/2020, 18:20:51] [Ring] Ding 6843449887031719547 is expired (480). Fetching a new ding and trying video stream again
[6/28/2020, 18:20:52] [Ring] Waiting for a new live stream to start...
[6/28/2020, 18:20:53] [Ring] Waiting for stream data from Rabbit Vision (2.847s)
[6/28/2020, 18:20:53] [Ring] ffmpeg stderr From Ring: Guessed Channel Layout for Input Stream #0.0 : mono
[6/28/2020, 18:20:53] [Ring] ffmpeg stderr From Ring: Input #0, sdp, from 'pipe:':
Metadata:
title : Talk
Duration: N/A, start: 0.000000, bitrate: 64 kb/s
Stream #0:0: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
[6/28/2020, 18:20:53] [Ring] ffmpeg stderr From Ring: Stream mapping:
Stream #0:0 -> #0:0 (pcm_mulaw (native) -> aac (libfdk_aac))
[6/28/2020, 18:20:53] [Ring] ffmpeg stderr From Ring: Output #0, rtp, to 'srtp://192.168.0.54:53030?localrtcpport=35831&pkt_size=188':
Metadata:
title : Talk
encoder : Lavf58.29.100
[6/28/2020, 18:20:53] [Ring] ffmpeg stderr From Ring: Stream #0:0: Audio: aac (libfdk_aac) (ELD), 16000 Hz, mono, s16, 24 kb/s
Metadata:
encoder : Lavc58.54.100 libfdk_aac
[6/28/2020, 18:20:53] [Ring] Received stream data from Rabbit Vision (2.868s)
[6/28/2020, 18:20:53] [Ring] Streaming active for Rabbit Vision
[6/28/2020, 18:20:54] [Ring] ffmpeg stderr From Ring: size= 2kB time=00:00:00.55 bitrate= 29.5kbits/s speed=1.08x
[6/28/2020, 18:20:54] [Ring] ffmpeg stderr HomeKit Return Audio: Input #0, sdp, from 'pipe:':
Metadata:
title :
[6/28/2020, 18:20:54] [Ring] ffmpeg stderr HomeKit Return Audio: Talk
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Audio: aac, 16000 Hz, mono, s16
[6/28/2020, 18:20:54] [Ring] ffmpeg stderr HomeKit Return Audio: Stream mapping:
Stream #0:0 -> #0:0 (aac (libfdk_aac) -> pcm_mulaw (native))
[6/28/2020, 18:20:54] [Ring] ffmpeg stderr HomeKit Return Audio: Output #0, rtp, to 'srtp://127.0.0.1:34867?pkt_size=188':
Metadata:
title : Talk
encoder : Lavf58.29.100
[6/28/2020, 18:20:54] [Ring] ffmpeg stderr HomeKit Return Audio: Stream #0:0: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
Metadata:
encoder : Lavc58.54.100 pcm_mulaw
[6/28/2020, 18:20:54] [Ring] ffmpeg stderr From Ring: size= 4kB time=00:00:01.03 bitrate= 30.2kbits/s speed=1.02x
[6/28/2020, 18:20:55] [Ring] ffmpeg stderr HomeKit Return Audio: size= 5kB time=00:00:00.58 bitrate= 77.4kbits/s speed=1.09x
[6/28/2020, 18:20:55] [Ring] ffmpeg stderr From Ring: size= 5kB time=00:00:01.55 bitrate= 28.8kbits/s speed=1.01x
[6/28/2020, 18:20:55] [Ring] ffmpeg stderr From Ring: size= 7kB time=00:00:02.07 bitrate= 28.6kbits/s speed= 1x
[6/28/2020, 18:20:55] [Ring] ffmpeg stderr HomeKit Return Audio: size= 10kB time=00:00:01.12 bitrate= 76.1kbits/s speed=1.04x
[6/28/2020, 18:20:56] [Ring] ffmpeg stderr From Ring: size= 9kB time=00:00:02.61 bitrate= 28.4kbits/s speed=1.01x
[6/28/2020, 18:20:56] [Ring] ffmpeg stderr HomeKit Return Audio: size= 15kB time=00:00:01.63 bitrate= 75.6kbits/s speed=1.03x
[6/28/2020, 18:20:56] [Ring] ffmpeg stderr From Ring: size= 11kB time=00:00:03.09 bitrate= 28.4kbits/s speed= 1x
[6/28/2020, 18:20:56] [Ring] ffmpeg stderr HomeKit Return Audio: size= 20kB time=00:00:02.14 bitrate= 75.4kbits/s speed=1.02x
[6/28/2020, 18:20:57] [Ring] ffmpeg stderr From Ring: size= 13kB time=00:00:03.63 bitrate= 28.3kbits/s speed=1.01x
[6/28/2020, 18:20:57] [Ring] ffmpeg stderr HomeKit Return Audio: size= 25kB time=00:00:02.68 bitrate= 75.3kbits/s speed=1.02x
[6/28/2020, 18:20:58] [Ring] ffmpeg stderr From Ring: size= 14kB time=00:00:04.15 bitrate= 28.3kbits/s speed=1.01x
[6/28/2020, 18:20:58] [Ring] ffmpeg stderr HomeKit Return Audio: size= 30kB time=00:00:03.22 bitrate= 75.2kbits/s speed=1.01x
[6/28/2020, 18:20:58] [Ring] ffmpeg stderr From Ring: size= 16kB time=00:00:04.66 bitrate= 28.2kbits/s speed=1.01x
[6/28/2020, 18:20:58] [Ring] ffmpeg stderr HomeKit Return Audio: size= 34kB time=00:00:03.73 bitrate= 75.1kbits/s speed=1.02x
[6/28/2020, 18:20:58] [Ring] ffmpeg stderr From Ring: pipe:: Connection timed out
[6/28/2020, 18:20:58] [Ring] ffmpeg stderr From Ring: size= 18kB time=00:00:05.31 bitrate= 27.6kbits/s speed=0.347x
video:0kB audio:15kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 17.279058%
[6/28/2020, 18:20:58] [Ring] ffmpeg stderr From Ring: Exiting normally, received signal 15.
[6/28/2020, 18:20:58] [Ring] ffmpeg From Ring exited with code 255
[6/28/2020, 18:20:59] [Ring] ffmpeg stderr From Ring: size= 18kB time=00:00:05.17 bitrate= 28.0kbits/s speed=1.01x
[6/28/2020, 18:20:59] [Ring] ffmpeg stderr HomeKit Return Audio: size= 39kB time=00:00:04.24 bitrate= 75.0kbits/s speed=1.01x
[6/28/2020, 18:20:59] [Ring] ffmpeg stderr From Ring: size= 19kB time=00:00:05.65 bitrate= 28.0kbits/s speed= 1x
[6/28/2020, 18:20:59] [Ring] ffmpeg stderr HomeKit Return Audio: size= 44kB time=00:00:04.78 bitrate= 75.0kbits/s speed=1.01x
[6/28/2020, 18:21:00] [Ring] ffmpeg stderr From Ring: size= 21kB time=00:00:06.19 bitrate= 28.0kbits/s speed=1.01x
[6/28/2020, 18:21:00] [Ring] ffmpeg stderr From Ring: size= 23kB time=00:00:06.67 bitrate= 28.0kbits/s speed= 1x
[6/28/2020, 18:21:01] [Ring] ffmpeg stderr From Ring: size= 25kB time=00:00:07.19 bitrate= 28.0kbits/s speed= 1x
[6/28/2020, 18:21:01] [Ring] ffmpeg exited with code 0
[6/28/2020, 18:21:01] [Ring] ffmpeg stderr From Ring: size= 27kB time=00:00:07.70 bitrate= 28.2kbits/s speed= 1x
[6/28/2020, 18:21:02] [Ring] ffmpeg stderr From Ring: size= 28kB time=00:00:08.21 bitrate= 28.2kbits/s speed= 1x
[6/28/2020, 18:21:02] [Ring] ffmpeg stderr From Ring: size= 30kB time=00:00:08.75 bitrate= 28.2kbits/s speed= 1x
[6/28/2020, 18:21:03] [Ring] ffmpeg stderr From Ring: size= 32kB time=00:00:09.23 bitrate= 28.2kbits/s speed= 1x
[6/28/2020, 18:21:03] [Ring] ffmpeg stderr From Ring: size= 33kB time=00:00:09.75 bitrate= 28.0kbits/s speed= 1x
[6/28/2020, 18:21:04] [Ring] ffmpeg stderr HomeKit Return Audio: size= 48kB time=00:00:06.22 bitrate= 63.1kbits/s speed=0.682x
[6/28/2020, 18:21:04] [Ring] ffmpeg stderr From Ring: size= 35kB time=00:00:10.27 bitrate= 28.1kbits/s speed= 1x
[6/28/2020, 18:21:04] [Ring] ffmpeg stderr HomeKit Return Audio: size= 53kB time=00:00:09.67 bitrate= 44.5kbits/s speed=1.01x
[6/28/2020, 18:21:04] [Ring] ffmpeg stderr From Ring: size= 37kB time=00:00:10.81 bitrate= 28.1kbits/s speed= 1x
[6/28/2020, 18:21:05] [Ring] ffmpeg stderr HomeKit Return Audio: size= 57kB time=00:00:10.18 bitrate= 46.0kbits/s speed= 1x
[6/28/2020, 18:21:05] [Ring] ffmpeg stderr From Ring: size= 39kB time=00:00:11.32 bitrate= 28.1kbits/s speed= 1x
[6/28/2020, 18:21:05] [Ring] ffmpeg stderr HomeKit Return Audio: size= 62kB time=00:00:10.69 bitrate= 47.4kbits/s speed=1.01x
[6/28/2020, 18:21:05] [Ring] ffmpeg stderr From Ring: size= 41kB time=00:00:11.83 bitrate= 28.1kbits/s speed= 1x
[6/28/2020, 18:21:06] [Ring] ffmpeg stderr HomeKit Return Audio: size= 67kB time=00:00:11.20 bitrate= 48.6kbits/s speed= 1x
[6/28/2020, 18:21:06] [Ring] ffmpeg stderr From Ring: size= 42kB time=00:00:12.31 bitrate= 28.1kbits/s speed= 1x
[6/28/2020, 18:21:06] [Ring] ffmpeg stderr HomeKit Return Audio: size= 71kB time=00:00:11.71 bitrate= 49.8kbits/s speed= 1x
[6/28/2020, 18:21:06] [Ring] ffmpeg stderr From Ring: size= 44kB time=00:00:12.83 bitrate= 28.0kbits/s speed= 1x
[6/28/2020, 18:21:07] [Ring] ffmpeg stderr HomeKit Return Audio: size= 76kB time=00:00:12.22 bitrate= 50.8kbits/s speed= 1x
[6/28/2020, 18:21:07] [Ring] ffmpeg stderr From Ring: size= 46kB time=00:00:13.37 bitrate= 28.0kbits/s speed= 1x
[6/28/2020, 18:21:07] [Ring] Used cached snapshot for Front Door
[6/28/2020, 18:21:07] [Ring] Loading new snapshot into cache for Front Door
[6/28/2020, 18:21:07] [Ring] ffmpeg stderr HomeKit Return Audio: size= 81kB time=00:00:12.76 bitrate= 51.8kbits/s speed= 1x
[6/28/2020, 18:21:07] [Ring] Stopped Live Stream for Rabbit Vision
[6/28/2020, 18:21:08] [Ring] Snapshot cached for Front Door (1.581s)
[6/28/2020, 18:21:17] [Ring] ffmpeg stderr HomeKit Return Audio: pipe:: Connection timed out
[6/28/2020, 18:21:17] [Ring] ffmpeg stderr HomeKit Return Audio: size= 81kB time=00:00:12.82 bitrate= 51.9kbits/s speed=0.562x
video:0kB audio:74kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 9.487476%
[6/28/2020, 18:21:17] [Ring] ffmpeg stderr HomeKit Return Audio: Exiting normally, received signal 15.
[6/28/2020, 18:21:17] [Ring] ffmpeg HomeKit Return Audio exited with code 255
[6/28/2020, 18:21:17] [Ring] ffmpeg stderr From Ring: pipe:: Connection timed out
[6/28/2020, 18:21:17] [Ring] ffmpeg stderr From Ring: size= 47kB time=00:00:13.82 bitrate= 28.0kbits/s speed=0.58x
video:0kB audio:40kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 17.092609%
[6/28/2020, 18:21:17] [Ring] ffmpeg stderr From Ring: Exiting normally, received signal 15.
[6/28/2020, 18:21:17] [Ring] ffmpeg From Ring exited with code 255
@dgreif is that okay?
@thehorry that's exactly what I needed. Unfortunately I don't see anything out of the ordinary. The first call looks like it didn't receive any return audio in the first 5 seconds so the return audio timed out (this is a known issue but not sure how to fix it yet). The second call shows return audio streaming and looks like it should have been streaming audio just fine. I'm not sure why it isn't coming out of the camera for you based on what I see here. Anything unique about your network setup or homebridge server that could impact network behavior?
@dgreif theres nothing special I don’t think. Just a raspberry pi running the homebridge image. A ring doorbell pro and a ring stick up cam battery. Both have active ring memberships, if that makes a difference.
@dgreif My doorbell works! The 2 way audio works on the doorbell but not the stick up battery cam! I wonder if this helps?
Yeah, that's really interesting that the doorbell works and the stickup cam doesn't. Only thing I can think of is a bad speaker or decreased speaker volume on the stickup cam. Can you try 2-way audio using the Ring app to ensure the speaker is working properly on the stickup cam?
@dgreif it works well through the ring app. No issues whatsoever. Very strange
@thehorry Given that 2-way works well with your doorbell, and that the logs look completely normal when you are doing 2-way for the stickup cam, I'm really not sure what else to look into on this one. I'm planning to look into some other 2-way audio tweaks at some point, but not sure when I will get time to do so. Hopefully one of the future updates will fix your issues, but for now I don't have anything actionable. Sorry for the trouble!
As long as the doorbell works, that’s the main thing. I’m happy! Thank you very much!
Most helpful comment
As long as the doorbell works, that’s the main thing. I’m happy! Thank you very much!