webrtc-java icon indicating copy to clipboard operation
webrtc-java copied to clipboard

Could you please provide APIs for encoding/decoding and audio mixing?

Open pfjia opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. I am developing an MCU server using webrtc-java, but there are no APIs for encoding/decoding and audio mixing in webrtc-java.

Describe the solution you'd like Could you please provide APIs for encoding/decoding and audio mixing?

Describe alternatives you've considered Taking audio mixing as an example, I tried to find some mixing code online, but they generally just average the audio packets, which doesn't yield good results. Additionally, I considered translating WebRTC native source code from C++ to Java, but this task is quite substantial.

Additional context The audio mixing code I referred to is as follows:

image

pfjia avatar Jan 24 '24 13:01 pfjia

I am not sure if this will be implemented at all. The question is whether this is even possible as you have to deal with RTP as well. This library is not intended for creating SFU or MCU capabilities. However, any contribution is very welcome.

devopvoid avatar Aug 29 '25 15:08 devopvoid