Improve low bandwidth audio performance and fix RTSP issues with broken PMTUD

This commit is contained in:
Cameron Gutman
2019-11-30 22:13:46 -06:00
parent c025432ad6
commit 5f5944c237
5 changed files with 7 additions and 6 deletions

View File

@@ -382,6 +382,7 @@ static AUDIO_RENDERER_CALLBACKS BridgeAudioRendererCallbacks = {
.stop = BridgeArStop,
.cleanup = BridgeArCleanup,
.decodeAndPlaySample = BridgeArDecodeAndPlaySample,
.capabilities = CAPABILITY_SUPPORTS_ARBITRARY_AUDIO_DURATION
};
static CONNECTION_LISTENER_CALLBACKS BridgeConnListenerCallbacks = {

View File

@@ -83,8 +83,8 @@ Java_com_limelight_nvstream_jni_MoonBridge_findExternalAddressIP4(JNIEnv *env, j
}
JNIEXPORT jint JNICALL
Java_com_limelight_nvstream_jni_MoonBridge_getPendingAudioFrames(JNIEnv *env, jclass clazz) {
return LiGetPendingAudioFrames();
Java_com_limelight_nvstream_jni_MoonBridge_getPendingAudioDuration(JNIEnv *env, jclass clazz) {
return LiGetPendingAudioDuration();
}
JNIEXPORT jint JNICALL