mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-06-16 22:01:14 +00:00
Use LiInterruptConnection to prevent long waits for RTSP timeout
This commit is contained in:
Submodule moonlight-common/src/main/jni/moonlight-core/moonlight-common-c updated: 2d7bf5be82...92951e1309
@@ -45,6 +45,11 @@ Java_com_limelight_nvstream_jni_MoonBridge_stopConnection(JNIEnv *env, jobject c
|
||||
LiStopConnection();
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL
|
||||
Java_com_limelight_nvstream_jni_MoonBridge_interruptConnection(JNIEnv *env, jobject class) {
|
||||
LiInterruptConnection();
|
||||
}
|
||||
|
||||
JNIEXPORT jstring JNICALL
|
||||
Java_com_limelight_nvstream_jni_MoonBridge_getStageName(JNIEnv *env, jobject class, jint stage) {
|
||||
return (*env)->NewStringUTF(env, LiGetStageName(stage));
|
||||
|
||||
Reference in New Issue
Block a user