Hello guys,
I git clone the latest vlc source code and apply the record patch (download from https://patches.videolan.org/patch/606/)
and add jni interface to LibVLC.java as below. but use android to call the method to record get nothing.
please help me to resolve this issue.
{
public native boolean takeSnapShot( int num, String file, int width, int height);
public native boolean videoRecordStart(String path);
public native boolean videoRecordStop();
public native boolean videoIsRecording();
public native boolean videoIsRecordable();
public native int getState();
public boolean takeSnapShot(String file, int width, int height) {
return takeSnapShot(0, file, width, height);
}
}