go2rtc
go2rtc copied to clipboard
AD410 - Request for a copy of a Working config file please
I have an AD410 doorbell camera and have the sound from the microphone, but am unable to send audio to it's speaker. I have seen from a previous issue raised (#141) that webrtc needs to have audio output of PCMA/8000 or OPUS/48000/2. However, I am unable to figure out how to do this. I have read the "codec-madness" section but it was still not clear to me.
"medias": [
"video, recvonly, H.264 Main 5.0",
"audio, recvonly, MPEG4-GENERIC/8000"
Please help.
mqtt:
host: 192.168.0.172
user: admin
password: psw
detectors:
coral:
type: edgetpu
device: usb
ffmpeg:
hwaccel_args: preset-nvidia-h264
input_args: preset-rtsp-restream-low-latency
output_args:
record: preset-record-generic-audio-copy
go2rtc:
webrtc:
candidates:
- localhost:8555
- stun:8555
api:
origin: '*'
rtsp:
default_query: flac
streams:
doorbell:
- rtsp://usr:[email protected]:554/cam/realmonitor?channel=1&subtype=1#backchannel=0
doorbell_2way_audio:
- rtsp://usr:[email protected]:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
- "ffmpeg:doorbell_2way_audio#audio=opus"
snapshots:
enabled: true
clean_copy: false
ui:
live_mode: webrtc
You have disabled 2way audio for both your streams in config
If I don't do both then my doorbell doesn't work. Thanks for the reply.
On Mon, Dec 25, 2023, 4:17 AM Alex X @.***> wrote:
You have disabled 2way audio for both your streams in config
— Reply to this email directly, view it on GitHub https://github.com/AlexxIT/go2rtc/issues/844#issuecomment-1868879341, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZ7S2IZEAWEGV6UBIXVDC3YLE777AVCNFSM6AAAAABBBUIYLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYHA3TSMZUGE . You are receiving this because you authored the thread.Message ID: @.***>
Also, I have tried it without the backchannel on both lines and it still didn't work.
On Mon, Dec 25, 2023, 8:24 AM dhtguru @.***> wrote:
If I don't do both then my doorbell doesn't work. Thanks for the reply.
On Mon, Dec 25, 2023, 4:17 AM Alex X @.***> wrote:
You have disabled 2way audio for both your streams in config
— Reply to this email directly, view it on GitHub https://github.com/AlexxIT/go2rtc/issues/844#issuecomment-1868879341, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZ7S2IZEAWEGV6UBIXVDC3YLE777AVCNFSM6AAAAABBBUIYLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYHA3TSMZUGE . You are receiving this because you authored the thread.Message ID: @.***>
You need to provide more useful information for debugging
Please let me know if the problem is relevant