Differences in KinesisVideoClient between JS SDKs v2 and v3 #333
-
To future-proof my app, I would like to use KinesisVideoClient in the v3 JS SDK instead of AWS.KinesisVideo in the v2 JS SDK. However, the v3 doc does not show how to provide credentials and the region. I tried
but that results in error |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Please refer to the sample reactjs integration, which uses the AWS SDK JS v3: https://github.com/aws-samples/amazon-kinesis-video-streams-demos/blob/1b6c939b752615c934aa8b8f4ef1289af6fb17cd/webrtc-js/src/MasterView.tsx#L82 |
Beta Was this translation helpful? Give feedback.
-
It's odd that property |
Beta Was this translation helpful? Give feedback.
Please refer to the sample reactjs integration, which uses the AWS SDK JS v3: https://github.com/aws-samples/amazon-kinesis-video-streams-demos/blob/1b6c939b752615c934aa8b8f4ef1289af6fb17cd/webrtc-js/src/MasterView.tsx#L82