Hello everyone,
I'm using the WebRTC Android bindings to capture the VP8 stream via a VideoSink.
I'm able to see the VideoFrame objects coming in.
I'm trying to find a way to write/stream the encoded VP8 frames to a WebM file
(or preferably a stream) using libwebm.
I see the VideoFrame.Buffer objects are of type WrappedNativeI420Buffer.
How can I obtain the original VP8 encoded data buffer instead of the i420 buffer that
I'm getting from the VideoFrame.Buffer object? If that's not possible, how can I then
convert from i420 back to the original encoded format so I can pass into the WebM
writer?
I've been stuck on this for a few days now, so any help/pointers would be greatly
appreciated.
Thanks!