Using the Ant Media Android SDK, can I implement a custom VideoCapturer that takes a video feed from an outside source that is already encoded like h264 or VP8? (I would also like to implement a capturer for encoded audio in a similar manner)
I have seen a reference listed below where the FileVideoCapturer is used as an example. https://stackoverflow.com/questions/61160558/custom-video-source-for-webrtc-on-android
It appears to me that I am supposed to create a VideoFrame class using a VideoFrame.Buffer class (not the Java NIO buffer class) which seems to want an i420 encoded buffer.
Is there a way to provide an h264 frame instead?
Question
AGIS
Using the Ant Media Android SDK, can I implement a custom VideoCapturer that takes a video feed from an outside source that is already encoded like h264 or VP8? (I would also like to implement a capturer for encoded audio in a similar manner)
I have seen a reference listed below where the FileVideoCapturer is used as an example.
https://stackoverflow.com/questions/61160558/custom-video-source-for-webrtc-on-android
It appears to me that I am supposed to create a VideoFrame class using a VideoFrame.Buffer class (not the Java NIO buffer class) which seems to want an i420 encoded buffer.
Is there a way to provide an h264 frame instead?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.