home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.77k stars 28.92k forks source link

Sonoff GK-200MP2-B RTSP Audio not streaming #46719

Closed gmcaesar closed 3 years ago

gmcaesar commented 3 years ago

The problem

can find audio on VLC but not in Hassio

What is version of Home Assistant Core has the issue?

core-2021.2.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ONVIF

Link to integration documentation on our website

https://www.home-assistant.io/integrations/onvif

Example YAML snippet

NO Yaml all done through UI Sonoff running Sonoff Hack to be ONVIF capable, rtsp link loads in VLC with audio, and everything seems to work in HA except the auido.

Anything in the logs that might be useful for us?

# Put your logs below this line
uvjustin commented 3 years ago

It looks like this particular model of camera uses the G.711 (PCM) codec for audio. The stream component does not support PCM codecs as they are not supported by the media containers used in the HLS stream.