Android WebRTC Custom Capturer

2019-05-06 08:22发布

问题:

I have compiled the webRTC Demo app. I see that capturing the frames is done by the VideoCaptureAndroid.java file that is tightly coupled with the native code. I need to add a functionality of pushing my own frames to the webRTC library to send on the video channel.

I'm ok with writing it in C++, or with NDK or Java. But I just can't figure out how to do it.