mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-21 03:52:48 +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.serverAppVersion, context.serverGfeVersion,
|
||||||
context.negotiatedWidth, context.negotiatedHeight,
|
context.negotiatedWidth, context.negotiatedHeight,
|
||||||
context.negotiatedFps, context.streamConfig.getBitrate(),
|
context.negotiatedFps, context.streamConfig.getBitrate(),
|
||||||
|
context.streamConfig.getMaxPacketSize(),
|
||||||
context.streamConfig.getRemote(), context.streamConfig.getAudioConfiguration(),
|
context.streamConfig.getRemote(), context.streamConfig.getAudioConfiguration(),
|
||||||
context.streamConfig.getHevcSupported(), context.riKey.getEncoded(), ib.array(),
|
context.streamConfig.getHevcSupported(), context.riKey.getEncoded(), ib.array(),
|
||||||
context.videoCapabilities);
|
context.videoCapabilities);
|
||||||
|
@ -158,7 +158,7 @@ public class MoonBridge {
|
|||||||
|
|
||||||
public static native int startConnection(String address, String appVersion, String gfeVersion,
|
public static native int startConnection(String address, String appVersion, String gfeVersion,
|
||||||
int width, int height, int fps,
|
int width, int height, int fps,
|
||||||
int bitrate, boolean streamingRemotely,
|
int bitrate, int packetSize, boolean streamingRemotely,
|
||||||
int audioConfiguration, boolean supportsHevc,
|
int audioConfiguration, boolean supportsHevc,
|
||||||
byte[] riAesKey, byte[] riAesIv,
|
byte[] riAesKey, byte[] riAesIv,
|
||||||
int videoCapabilities);
|
int videoCapabilities);
|
||||||
|
@ -369,7 +369,7 @@ JNIEXPORT jint JNICALL
|
|||||||
Java_com_limelight_nvstream_jni_MoonBridge_startConnection(JNIEnv *env, jobject class,
|
Java_com_limelight_nvstream_jni_MoonBridge_startConnection(JNIEnv *env, jobject class,
|
||||||
jstring address, jstring appVersion, jstring gfeVersion,
|
jstring address, jstring appVersion, jstring gfeVersion,
|
||||||
jint width, jint height, jint fps,
|
jint width, jint height, jint fps,
|
||||||
jint bitrate, jboolean streamingRemotely,
|
jint bitrate, jint packetSize, jboolean streamingRemotely,
|
||||||
jint audioConfiguration, jboolean supportsHevc,
|
jint audioConfiguration, jboolean supportsHevc,
|
||||||
jbyteArray riAesKey, jbyteArray riAesIv,
|
jbyteArray riAesKey, jbyteArray riAesIv,
|
||||||
jint videoCapabilities) {
|
jint videoCapabilities) {
|
||||||
@ -383,6 +383,7 @@ Java_com_limelight_nvstream_jni_MoonBridge_startConnection(JNIEnv *env, jobject
|
|||||||
.height = height,
|
.height = height,
|
||||||
.fps = fps,
|
.fps = fps,
|
||||||
.bitrate = bitrate,
|
.bitrate = bitrate,
|
||||||
|
.packetSize = packetSize,
|
||||||
.streamingRemotely = streamingRemotely,
|
.streamingRemotely = streamingRemotely,
|
||||||
.audioConfiguration = audioConfiguration,
|
.audioConfiguration = audioConfiguration,
|
||||||
.supportsHevc = supportsHevc,
|
.supportsHevc = supportsHevc,
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 86447399a97472797a3c7333c36b1f9156c7c101
|
Subproject commit 6e31c21815d3800ba1f011e2308102d70207a525
|
Loading…
x
Reference in New Issue
Block a user