Plumb the specified packet size through to moonlight-common-c

This commit is contained in:
Cameron Gutman
2017-05-26 22:44:15 -07:00
parent 8f3eecd980
commit af04831fb0
4 changed files with 5 additions and 3 deletions

View File

@@ -253,6 +253,7 @@ public class NvConnection {
context.serverAppVersion, context.serverGfeVersion,
context.negotiatedWidth, context.negotiatedHeight,
context.negotiatedFps, context.streamConfig.getBitrate(),
context.streamConfig.getMaxPacketSize(),
context.streamConfig.getRemote(), context.streamConfig.getAudioConfiguration(),
context.streamConfig.getHevcSupported(), context.riKey.getEncoded(), ib.array(),
context.videoCapabilities);

View File

@@ -158,7 +158,7 @@ public class MoonBridge {
public static native int startConnection(String address, String appVersion, String gfeVersion,
int width, int height, int fps,
int bitrate, boolean streamingRemotely,
int bitrate, int packetSize, boolean streamingRemotely,
int audioConfiguration, boolean supportsHevc,
byte[] riAesKey, byte[] riAesIv,
int videoCapabilities);

View File

@@ -369,7 +369,7 @@ JNIEXPORT jint JNICALL
Java_com_limelight_nvstream_jni_MoonBridge_startConnection(JNIEnv *env, jobject class,
jstring address, jstring appVersion, jstring gfeVersion,
jint width, jint height, jint fps,
jint bitrate, jboolean streamingRemotely,
jint bitrate, jint packetSize, jboolean streamingRemotely,
jint audioConfiguration, jboolean supportsHevc,
jbyteArray riAesKey, jbyteArray riAesIv,
jint videoCapabilities) {
@@ -383,6 +383,7 @@ Java_com_limelight_nvstream_jni_MoonBridge_startConnection(JNIEnv *env, jobject
.height = height,
.fps = fps,
.bitrate = bitrate,
.packetSize = packetSize,
.streamingRemotely = streamingRemotely,
.audioConfiguration = audioConfiguration,
.supportsHevc = supportsHevc,

Submodule moonlight-common/src/main/jni/moonlight-core/moonlight-common-c updated: 86447399a9...6e31c21815