capture video on usb camera and encode with libx264
[rtmpclient.git] / app / src / main / jni / ai_suanzi_rtmpclient_Ffmpeg.h
index 6615073..5b2becd 100644 (file)
@@ -55,6 +55,14 @@ JNIEXPORT jint JNICALL Java_ai_suanzi_rtmpclient_Ffmpeg_process
 JNIEXPORT jint JNICALL Java_ai_suanzi_rtmpclient_Ffmpeg_play
   (JNIEnv *, jobject, jobject, jstring);
 
+/*
+ * Class:     ai_suanzi_rtmpclient_Ffmpeg
+ * Method:    push
+ * Signature: (Ljava/lang/Object;)I
+ */
+JNIEXPORT jint JNICALL Java_ai_suanzi_rtmpclient_Ffmpeg_push
+  (JNIEnv *, jobject, jobject);
+
 #ifdef __cplusplus
 }
 #endif