This commit is contained in:
rustdesk 2024-04-16 18:46:46 +08:00
parent a6c1d2d486
commit c656c3c087

View File

@ -94,7 +94,7 @@ pub fn get_audio_raw<'a>() -> Option<&'a [u8]> {
}
#[no_mangle]
pub extern "system" fn java_ffi_FFI_onVideoFrameUpdate(
pub extern "system" fn Java_ffi_FFI_onVideoFrameUpdate(
env: JNIEnv,
_class: JClass,
buffer: JObject,
@ -108,7 +108,7 @@ pub extern "system" fn java_ffi_FFI_onVideoFrameUpdate(
}
#[no_mangle]
pub extern "system" fn java_ffi_FFI_onAudioFrameUpdate(
pub extern "system" fn Java_ffi_FFI_onAudioFrameUpdate(
env: JNIEnv,
_class: JClass,
buffer: JObject,
@ -122,7 +122,7 @@ pub extern "system" fn java_ffi_FFI_onAudioFrameUpdate(
}
#[no_mangle]
pub extern "system" fn java_ffi_FFI_setFrameRawEnable(
pub extern "system" fn Java_ffi_FFI_setFrameRawEnable(
env: JNIEnv,
_class: JClass,
name: JString,
@ -141,7 +141,7 @@ pub extern "system" fn java_ffi_FFI_setFrameRawEnable(
}
#[no_mangle]
pub extern "system" fn java_ffi_FFI_init(
pub extern "system" fn Java_ffi_FFI_init(
env: JNIEnv,
_class: JClass,
ctx: JObject,