mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-03 22:46:03 +00:00
Plumb the specified packet size through to moonlight-common-c
This commit is contained in:
@@ -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,
|
||||
|
||||
Submodule moonlight-common/src/main/jni/moonlight-core/moonlight-common-c updated: 86447399a9...6e31c21815
Reference in New Issue
Block a user