Files
gb28181/GB28181Device/android/native.h
2024-12-15 20:42:32 +08:00

9 lines
795 B
C

#include <jni.h>
JNIEXPORT jint JNICALL Java_com_happytime_lcc_Gb28181Device_gb28181Start(JNIEnv * env, jclass this, jstring server_ip, jint server_port, jstring server_id, jstring server_domain, jstring password, jstring device_id, jstring device_name, jstring channel_id, jstring channel_name, jint protocol, jint reg_expires, jint heartbeat_interval, jint heartbeat_count, jint log_enable, jint log_level);
JNIEXPORT void JNICALL Java_com_happytime_lcc_Gb28181Device_gb28181Stop(JNIEnv * env, jclass this);
JNIEXPORT void JNICALL Java_com_happytime_lcc_Gb28181Device_sendVideoData(JNIEnv * env, jclass this, jint devid, jbyteArray data, jint len);
JNIEXPORT void JNICALL Java_com_happytime_lcc_Gb28181Device_sendAudioData(JNIEnv * env, jclass this, jint devid, jbyteArray data, jint len);