espressif / esp-adf

Espressif Audio Development Framework
Other
1.55k stars 685 forks source link

Wider band codecs (SPEEX, opus, ...) support in VoIP example (AUD-4443) #965

Closed gabriel-f-o closed 1 year ago

gabriel-f-o commented 1 year ago

Hello to all,

I would like to ask (if it does not exist already) a wider band codec support in the VoIP example.

In the menuconfig, the only choices are G711 PCMU and G711PCMA. It works fine but the audio quality could be better, specially when using a speaker.

It would be very helpful to have the OPUS codec in the dropdown list.

I have tried to change the av_stream_config.acodec_type = AV_ACODEC_OPUS, but this only results in more issues.

If this feature already exists, do you have a tutorial on how to implement it ? I could not find something similar.

Thank you for your time,

ahhfzhang commented 1 year ago

Hi @gabriel-f-o

We will support OPUS in the next release version.

gabriel-f-o commented 1 year ago

Hello @ahhfzhang

Thank you for your response.

That is good news ! Do you have an approximate release date for the next version?

chris-genone commented 1 year ago

Also super curious about this! Also if there is a workaround in the meantime. @ahhfzhang

chris-genone commented 1 year ago

Any updates on this?

chris-genone commented 1 year ago

I noticed this commit on esp-adf-libs. Looks like a good sign

https://github.com/espressif/esp-adf-libs/commit/b0e908b0252d94025fb82274e5d23910bedf0d7c