public class RtmpClient {
…
public int read(byte[] data, int offset, int size) throws IOException {
return nativeRead(data, offset, size, rtmpPointer);
}
private native int nativeRead(byte[] data, int offset, int size, long rtmpPointer)
throws IOException
…
}
private native int nativeRead(byte[] data, int offset, int size, long rtmpPointer)
public class RtmpClient