Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
gradle/wrapper Update kinesis video sample with mobile client Dec 6, 2018
libs Add kinesisvideo sample Dec 15, 2017
screenshots Add screenshots for kinesisvideo Dec 15, 2017
src
README.md [KinesisVideo] Update README.md (#307) Feb 22, 2019
build.gradle Update AmazonKinesisVideoDemoApp dependency version (#322) Jul 30, 2019
gradlew Add kinesisvideo sample Dec 15, 2017
gradlew.bat Add kinesisvideo sample Dec 15, 2017
proguard-rules.pro
settings.gradle Add kinesisvideo sample Dec 15, 2017

README.md

Running AmazonKinesisVideoStreaming Sample

1. Create a user pool

  • Go to https://console.aws.amazon.com/cognito/
  • Click Manage your User Pools
  • Click Create a user pool
  • Fill-in Pool name
  • Click Review defaults
  • Click Create user pool
  • Copy Pool Id 📋
  • Select App clients in the left nav.
  • Click Add an app client
  • Fill-in App client name
  • Click Create app client
  • Click Show details and copy App client id and App client secret 📋
    • Shows show details button -->

2. Create an identity pool

  • Go to https://console.aws.amazon.com/cognito/
  • Click Manage Federated Identities
  • Click Create new identity pool
  • Fill-in Identity pool name
    • Shows field for inputting identity pool name
  • Under the heading Authentication providers, in the Cognito tab, fill-in the User Pool Id and App client id from the user pools step. Shows field for inputting identity pool name
  • Click Create create
  • There will be details for 2 roles. Look at the one for authenticated identities and click Edit next to the policy document and your policy should look like this:
    {
        "Version": "2012-10-17",
        "Statement": [
          {
            "Effect": "Allow",
            "Action": [
              "cognito-identity:*",
              "kinesisvideo:*"
            ],
            "Resource": [
              "*"
            ]
          }
        ]
      }
    
  • Click Allow
  • Copy the Identity Pool Id from the code snippets on the screen. 📋

3. Paste

  • You will need all the information from the above steps that have 📋 and paste them into this file on your local copy awsconfiguration.json
  • Change the region that the app will stream to by editing the KINESIS_VIDEO_REGION constant in your local copy of KinesisVideoDemoApp.java
You can’t perform that action at this time.