devopvoid / webrtc-java

WebRTC for desktop platforms running Java
Apache License 2.0
264 stars 62 forks source link

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

Open pfjia opened 10 months ago

pfjia commented 10 months ago

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