I got a Reolink D340W, and frigate 0.16.1-e664cb2, with bundled go2rtc 1.9.9.
This is the go2rtc config.
go2rtc:
streams:
front_door:
- rtsp://*snip*:*snip*@10.0.3.21:554/h264Preview_01_sub
- ffmpeg:front_door#audio=opus#audio=copy
webrtc:
candidates:
- 10.0.1.10:8555
- stun:8555
All works more or less well. Home Assistant Advanced camera card successfully utilizes 2way audio. It also works on frigate UI. Both HTTPS.
This is how 2way works (at least on the stock reolink app): The stream is 1way, but after I press the mic button, it becomes 2way, and the ring light on the doorbell lights up blue, to signify someone is talking on the mic, i.e. backchannel is open. While this is so, the doorbell cannot be rang, or at least the chime doesn't ring. This is not a problem, since when I disable the mic in the app, the backchannel mode is turned off, as is the light, and the bell works again.
Not with go2rtc however, ths is the problem. When starting frigate and go2rtc, the light is off. But the moment I click the mic in HomeAssistant, and it opens the backchannel, and the mic works, the light turns on. That's all good so far, but here lies the problem: It can never be turned off again. The light stays on, as if the camera is still in 2way mode. Even after I turn off the mic, close the tab, etc.
Same problem if I watch through frigate, except it seems to open the backchannel right off the bat, before clicking the mic, and so the light is blue from the start.
I checked go2rtc info page. When I click the mic icon, this backchannel appears (if I'm correct):
"receivers": [
{
"id": 89,
"codec": {
"codec_name": "pcm_mulaw",
"codec_type": "audio",
"sample_rate": 8000
},
"childs": [
90
],
"bytes": 13440,
"packets": 84
}
],
After I close the tab, or the HA Card automatically closes backchannel, this channel disappears, and mic no longer works. BUT the light is still on, and the doorbell doesn't work. Even though the channel is gone, somehow the device is still stuck in 2-way mode.
Only way to turn it off is to kill frigate/go2rtc (fully killing the consumer could work as well, didn't try), or to go into official reolink app, and click the mic button, which will immediately toggle the 2-way mode off.
Does anyone have a hint on how to remedy this?
I got a Reolink D340W, and frigate 0.16.1-e664cb2, with bundled go2rtc 1.9.9.
This is the go2rtc config.
All works more or less well. Home Assistant Advanced camera card successfully utilizes 2way audio. It also works on frigate UI. Both HTTPS.
This is how 2way works (at least on the stock reolink app): The stream is 1way, but after I press the mic button, it becomes 2way, and the ring light on the doorbell lights up blue, to signify someone is talking on the mic, i.e. backchannel is open. While this is so, the doorbell cannot be rang, or at least the chime doesn't ring. This is not a problem, since when I disable the mic in the app, the backchannel mode is turned off, as is the light, and the bell works again.
Not with go2rtc however, ths is the problem. When starting frigate and go2rtc, the light is off. But the moment I click the mic in HomeAssistant, and it opens the backchannel, and the mic works, the light turns on. That's all good so far, but here lies the problem: It can never be turned off again. The light stays on, as if the camera is still in 2way mode. Even after I turn off the mic, close the tab, etc.
Same problem if I watch through frigate, except it seems to open the backchannel right off the bat, before clicking the mic, and so the light is blue from the start.
I checked go2rtc info page. When I click the mic icon, this backchannel appears (if I'm correct):
After I close the tab, or the HA Card automatically closes backchannel, this channel disappears, and mic no longer works. BUT the light is still on, and the doorbell doesn't work. Even though the channel is gone, somehow the device is still stuck in 2-way mode.
Only way to turn it off is to kill frigate/go2rtc (fully killing the consumer could work as well, didn't try), or to go into official reolink app, and click the mic button, which will immediately toggle the 2-way mode off.
Does anyone have a hint on how to remedy this?