aws-samples/amazon-kinesis-video-streams-demos

Encountering exception when sending data

scotzark opened this issue · 1 comments

I didn't have any issues getting things setup, but when I try to send data I get the following exception. I am running on a Pixel 6 Pro on Android 12.

06-20 23:16:41.748 15842 16356 W KinesisVideoClientWrapper: getKinesisVideoStreamData(): Failed to get the setter method id.
06-20 23:16:41.748 15842 16356 I KinesisVideoClientWrapper: throwNativeException(): Had to clear a pending exception found when throwing "Failed to get setter method id." (code 0xd)
06-20 23:16:41.748 15842 16356 D KinesisVideoClientWrapper: throwNativeException(): Throwing com/amazonaws/kinesisvideo/producer/ProducerException with message: Failed to get setter method id.
06-20 23:16:41.755 15842 16356 E KinesisVideoAndroidClient: 2022-06-20T23:16Z T263: EXCEPTION: ProducerException: Reader threw an exception: Failed to get setter method id. StatusCode: 0xd
06-20 23:16:41.761 15842 16356 I System.out: ERROR: KinesisVideoStreams 2022-06-20T23:16Z T263: EXCEPTION: RuntimeException: Exception thrown on sending thread: Exception while sending encoded chunk in MKV stream !
06-20 23:16:41.761 15842 16356 I KinesisVideoAndroidClient: Complete callback triggered for demo-stream with statuscode 400
06-20 23:16:41.761 15842 16356 D KinesisVideoProducerJNI: Java_com_amazonaws_kinesisvideo_internal_producer_jni_NativeKinesisVideoProducerJni_kinesisVideoStreamTerminated(): Stream terminated event for handle 0x00000078ce81c0b0.

Outdated libraries, updating to the latest fixed the issue. Closing issue.