This repository has been archived by the owner on Dec 22, 2020. It is now read-only.
Android App crashing while stroing videoFrame into videobuffer, showing BufferOverflowException in bytebuffercapture.put(buf) #248
Labels
bug
Something isn't working
@OverRide
public void onCaptureVideoFrame(int videoFrameType, int width, int height, int bufferLength, int yStride, int uStride, int vStride, int rotation, long renderTimeMs) {
byte[] buf = new byte[bufferLength];
byteBufferCapture.limit(bufferLength);
byteBufferCapture.get(buf);
byteBufferCapture.flip();
The text was updated successfully, but these errors were encountered: