aws-sdk-android icon indicating copy to clipboard operation
aws-sdk-android copied to clipboard

createMediaSource api consume a lot of time

Open Ranchee opened this issue 4 years ago • 2 comments

State your question I'm using Kinesis Video Android SDK. And I find that createMediaSource API takes a lot of time. After debuging, I found that the createStreamSync API is the main reason. It'll cost 4-5s on my side.

Here's the code.

I printed the timestamp before and after the createStreamSync API. The log shows it takes 4-5 seconds to complete.

I have two questions:

  1. Why does the createStreamSync API take so much time?Can we reduce it?
  2. I found another api: createStream. Can I replace createStreamSync with createStream? Are there any effects?

Which AWS Services are you utilizing? Kinesis Video Android SDK

Environment(please complete the following information): aws-android-sdk-kinesisvideo:2.19.1, Android Platform

Ranchee avatar Nov 12 '20 03:11 Ranchee

Heya @Ranchee , I will pass this along to the Kinesis Video service team to see what could be causing the delay. Thank you!

raphkim avatar Nov 14 '20 00:11 raphkim

Hi @raphkim Any update about this ?

Ranchee avatar Nov 19 '20 02:11 Ranchee