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.3k stars 636 forks source link

More audio options on the Flutter SDK #6731

Open filip-ams opened 1 month ago

filip-ams commented 1 month ago

Is your feature request related to a problem? Please describe. A user has integrated the Ant Media Server's Flutter SDK for WebRTC streaming into their mobile app, but they are experiencing poor audio quality. The audio's maximum frequency is limited to less than 19kHz, and the dynamic range is insufficient. The business requirements necessitate audio quality that is at least equivalent to MP3 320kbps under both good and moderately poor network conditions. The current audio quality does not meet these standards, affecting the user experience.

Describe the solution you'd like The user would like to see improvements in the audio quality settings within the Flutter SDK. Specifically, they are looking for the ability to adjust audio parameters such as bitrate, sample rate, and dynamic range to match or exceed MP3 320kbps quality.

Describe alternatives you've considered Currently, the Flutter SDK relies on the flutter_webrtc library, which does not offer sufficient customization options for audio. We have looked into modifying audio settings at the server level, but it has not fully resolved the quality issues on the mobile client side. An enhancement in the SDK itself would be the most effective solution.

Additional context The audio quality plays a crucial role in this user's business application (Streaming DJ sets), and any improvements to this area would greatly enhance the user experience.