ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.22k stars 618 forks source link

Support G711A Audio codec #3070

Open Dietermartens opened 3 years ago

Dietermartens commented 3 years ago

Support input G711A 8Hz audio input over RTSP stream.

Most NVR's don't support the AAC codec to record IP Camera's so we have to chose to or record the audio, or be able to watch live streams with audio. It would be great if you could choose audio codec to use.

mekya commented 3 years ago

Hi @Dietermartens , As a workaround solution, if you add adaptive bitrate and record video, it will probably work for you.

Your requirements watching streams with WebRTC and recording them as MP4 with audio?

Dietermartens commented 3 years ago

Hi @mekya Thx for the response, but in the community version I'm not able to add adaptive bitrate or record the video. So from what you say I assume, it will work in the enterprise version but not the community?

We have a separate NVR solution to record the camera's, but we need to be able to view some streams on mobile locally. For this we would use the AntMedia server.

mekya commented 3 years ago

Hi @Dietermartens ,

My pleasure.

You're right. Adaptive bitrate is available on enterprise edition.

The problem is actually G711A Audio codec is not supported in HLS streaming. I mean Ant Media Server community edition try to add the G711A codec to the HLS muxer but it's not accepted.

I think MP4 may support G711A codec? I mean you can watch the recording with audio?

If you need to use some features in enterprise edition, let's discuss that. We can do our best to help you in technically and financially ;)