Skip to content

Commit f57f1a3

Browse files
authored
Bug fix: JNI incorrectly is using stopStreamTimeout for createStreamT… (#614)
* Bug fix: JNI incorrectly is using stopStreamTimeout for createStreamTimeout param * Bug fix: JNI incorrectly is using stopStreamTimeout for createStreamTimeout param
1 parent ce9f86f commit f57f1a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JNI/com/amazonaws/kinesis/video/producer/jni/Parameters.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ BOOL setClientInfo(JNIEnv *env, jobject clientInfo, PClientInfo pClientInfo) {
189189
if (methodId == NULL) {
190190
DLOGW("Couldn't find method id getCreateStreamTimeout");
191191
} else {
192-
pClientInfo->stopStreamTimeout = env->CallLongMethod(clientInfo, methodId);
192+
pClientInfo->createStreamTimeout = env->CallLongMethod(clientInfo, methodId);
193193
CHK_JVM_EXCEPTION(env);
194194
}
195195

0 commit comments

Comments
 (0)