Move encryption enablement logic into JNI code

This commit is contained in:
Cameron Gutman
2024-01-15 14:59:01 -06:00
parent 7b13f12817
commit f7520ba40c
5 changed files with 1 additions and 23 deletions

View File

@@ -434,7 +434,6 @@ Java_com_limelight_nvstream_jni_MoonBridge_startConnection(JNIEnv *env, jclass c
jint bitrate, jint packetSize, jint streamingRemotely,
jint audioConfiguration, jint supportedVideoFormats,
jint clientRefreshRateX100,
jint encryptionFlags,
jbyteArray riAesKey, jbyteArray riAesIv,
jint videoCapabilities,
jint colorSpace, jint colorRange) {
@@ -455,7 +454,7 @@ Java_com_limelight_nvstream_jni_MoonBridge_startConnection(JNIEnv *env, jclass c
.audioConfiguration = audioConfiguration,
.supportedVideoFormats = supportedVideoFormats,
.clientRefreshRateX100 = clientRefreshRateX100,
.encryptionFlags = encryptionFlags,
.encryptionFlags = ENCFLG_AUDIO,
.colorSpace = colorSpace,
.colorRange = colorRange
};