+ public native void init();
+ public native int inithaha(int width, int height);
+ public native int initnew (int width, int height, String url);
+ //public native init inithahurl(ini)
+ public native int flush();
+ public native int close();
+ public native int process(byte[] data);
+ public native int play(Object surface, String fname);
+ public native int push(Object surface, String url);
+ public native int preview(Object surface);
+ public native String getPerfectDevice();
+ public native int test(int fd);
+ public native void setRtmpUrl(String url);