Alex X
Alex X
Try to use `#audio=opus/16000` https://github.com/AlexxIT/go2rtc/blob/753d6617ab582cc8b59f0f27968181440cd9d735/pkg/hap/camera/ch115_supported_audio.go#L23-L25
1. WebRTC doesn't support AAC for both - input and output. https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#codecs-madness 2. ISAPI hardcoded only to PCMA/PCMU. I could add OPUS, but looks like ISAPI doesn't support it. https://github.com/AlexxIT/go2rtc/blob/f8c88cfbe04b11d334d49055c94682e76908819d/pkg/isapi/client.go#L68-L76
The link above about codecs answers many questions. AAC is not supported in WebRTC. This may be due to licensing issues, or perhaps due to Google's policies. Go2rtc doesn't currently...