awslabs / amazon-kinesis-video-streams-webrtc-sdk-js

JS SDK for interfacing with the Amazon Kinesis Video Streams Signaling Service.
https://awslabs.github.io/amazon-kinesis-video-streams-webrtc-sdk-js/examples/index.html
Apache License 2.0
286 stars 141 forks source link

Viewer hitting signaling client error and not recoverable #262

Closed chenhudl closed 10 months ago

chenhudl commented 11 months ago

We have a one producer to many viewers setup. During our stress testing for viewer connection, we hit a signaling client error and we are unable to recover from that. Producer is still able to connect to the signaling channel, but the viewers continue to hit this error ever since.

We assume that there is some kind of limit for viewers but we're not certain what is happening.

Screenshot from 2023-09-11 13-03-17

image

chenhudl commented 11 months ago

This seems to be recovered automatically after around 2 to 3 hours? but we're not sure how it happened

disa6302 commented 11 months ago

@chenhudl ,

The screenshots are cut so it is not clear what the error is. But there is a limit on the number of viewers that can be connected to a channel at a time and it is set to 10 (https://docs.aws.amazon.com/kinesisvideostreams-webrtc-dg/latest/devguide/kvswebrtc-limits.html#limits-signaling-service).