Closed mehmetcy84 closed 2 years ago
The answer is yes. One needs to configure the Cognito account as described in the readme. But what is missing in the documentation is these:
{
"Version":"2012-10-17",
"Statement":[
{
"Effect":"Allow",
"Action":[
"kinesisvideo:DescribeSignalingChannel",
"kinesisvideo:CreateSignalingChannel",
"kinesisvideo:GetSignalingChannelEndpoint",
"kinesisvideo:GetIceServerConfig",
"kinesisvideo:ConnectAsMaster",
"kinesisvideo:ConnectAsViewer"
],
"Resource":"*"
}
]
}
Once the policy is attached to the User Pool, the app can connect to the AWS server. I have verified working with WebRTC Test Page as master and Sample App as viewer.
The Kinesis C SDK can work in cooperation with the WebRTC Test Page: https://awslabs.github.io/amazon-kinesis-video-streams-webrtc-sdk-js/examples/index.html
Can this iOS sample also work with the WebRTC Test Page? (e.g. WebRTC Test Page is Master, iOS app is Viewer) If so, where would the Access Key ID and Secret Access Key values that are set in the WebRTC Test Page go in the iOS application? I have followed the Readme, and did set up a Cognito account. But I am not quite sure how would these key values and Cognito account information relate to each other.
And there is no mention of the key values throughout the configuration steps described.
Thanks and best regards,