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
Top Posters For This Question
2
1
1
Popular Days
Jul 12
1
Jul 22
1
Aug 24
1
Sep 24
1
Top Posters For This Question
mekya 2 posts
Burak 1 post
AGIS 1 post
Popular Days
Jul 12 2022
1 post
Jul 22 2022
1 post
Aug 24 2022
1 post
Sep 24 2022
1 post
Posted Images
3 answers to this question
Recommended Posts