X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjni%2Fai_suanzi_rtmpclient_Ffmpeg.h;h=6615073dfa98be51e246cdcc61fa1bfc4f8e26ac;hb=3e977e8fa8df4d0f336fd4dfce40168fcdfc0b07;hp=1f701839822ed2a357737df071b065484ce8b15d;hpb=a2c7de02917d0e4717cdb98f77dafb5923160718;p=rtmpclient.git diff --git a/app/src/main/jni/ai_suanzi_rtmpclient_Ffmpeg.h b/app/src/main/jni/ai_suanzi_rtmpclient_Ffmpeg.h index 1f70183..6615073 100644 --- a/app/src/main/jni/ai_suanzi_rtmpclient_Ffmpeg.h +++ b/app/src/main/jni/ai_suanzi_rtmpclient_Ffmpeg.h @@ -15,6 +15,46 @@ extern "C" { JNIEXPORT jstring JNICALL Java_ai_suanzi_rtmpclient_Ffmpeg_getVersion (JNIEnv *, jobject); +/* + * Class: ai_suanzi_rtmpclient_Ffmpeg + * Method: init + * Signature: (II)I + */ +JNIEXPORT jint JNICALL Java_ai_suanzi_rtmpclient_Ffmpeg_init + (JNIEnv *, jobject, jint, jint); + +/* + * Class: ai_suanzi_rtmpclient_Ffmpeg + * Method: flush + * Signature: ()I + */ +JNIEXPORT jint JNICALL Java_ai_suanzi_rtmpclient_Ffmpeg_flush + (JNIEnv *, jobject); + +/* + * Class: ai_suanzi_rtmpclient_Ffmpeg + * Method: close + * Signature: ()I + */ +JNIEXPORT jint JNICALL Java_ai_suanzi_rtmpclient_Ffmpeg_close + (JNIEnv *, jobject); + +/* + * Class: ai_suanzi_rtmpclient_Ffmpeg + * Method: process + * Signature: ([B)I + */ +JNIEXPORT jint JNICALL Java_ai_suanzi_rtmpclient_Ffmpeg_process + (JNIEnv *, jobject, jbyteArray); + +/* + * Class: ai_suanzi_rtmpclient_Ffmpeg + * Method: play + * Signature: (Ljava/lang/Object;Ljava/lang/String;)I + */ +JNIEXPORT jint JNICALL Java_ai_suanzi_rtmpclient_Ffmpeg_play + (JNIEnv *, jobject, jobject, jstring); + #ifdef __cplusplus } #endif