mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 19:42:45 +00:00
Plumb the specified packet size through to moonlight-common-c
This commit is contained in:
parent
8f3eecd980
commit
af04831fb0
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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,
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 86447399a97472797a3c7333c36b1f9156c7c101
|
||||
Subproject commit 6e31c21815d3800ba1f011e2308102d70207a525
|
Loading…
x
Reference in New Issue
Block a user