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

A place to add different use cases for different Kinesis Video Stream Assets
Apache License 2.0
73 stars 41 forks source link

Why a small delay necessary between master and viewer channel creations? #99

Open lherman-cs opened 3 years ago

lherman-cs commented 3 years ago

In https://github.com/aws-samples/amazon-kinesis-video-streams-demos/pull/98, we need to add a small delay before running the viewer. Otherwise, the viewer will get stuck in "Create Channel" signaling state. The log shows that the server responded with 400 even after the master could successfully create and connect to the channel. This seems to be an issue from the backend. But, we need to get further investigation to accurately find the root cause.

Logs: log-1012.txt

MushMal commented 3 years ago

Do we use the caching provider?

lherman-cs commented 3 years ago

@MushMal Yes, we're using the file caching provider, same as the sample.