Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Latest commit

 

History

History
34 lines (27 loc) · 1.94 KB

video-service-setup.md

File metadata and controls

34 lines (27 loc) · 1.94 KB

Vonage Setup

Midspace uses the Vonage Video API (formerly TokBox OpenTok) for video chat.

Part 1

  1. Create a free Vonage Video API account; then go to Projects > Create New Project, choose "Custom", and make a note of the API key that is generated.
  2. If you have not already, generate a secure random value and note it as VONAGE_WEBHOOK_SECRET.

Return to the main README and continue with Part 2 after setting up the actions service.

Part 2 (After Actions Service Setup)

  1. Ensure that the Packetriot task Packetriot (or your preferred tunnel setup) and the actions service task Actions Service -- Local Development are running before proceeding to the next steps. Vonage will not accept the required URLs if they are not exposed via a tunnel.
  2. Open the Project Settings for the Vonage Video API project you created.
  3. Use the VONAGE_WEBHOOK_SECRET value, the Actions Service public URL, and the following path to set the Session Monitoring URL:
    • https://<custom-actions-subdomain>.<custom-domain>/vonage/sessionMonitoring/<VONAGE_WEBHOOK_SECRET>
  4. In the AWS CloudFormation dev-main stack, click the Outputs tab, find the following values, and use them to set up Archiving Cloud Storage in your Vonage Video API Project Settings. Without this recordings will only be stored temporarily in Vonage and won't be accessible from the app. For extra security, you can set the VONAGE_API_KEY env var and redeploy the AWS stack.
    • VonageUserAccessKeyId
    • VonageUserSecretAccessKey
    • ContentBucketId
  5. Use the VONAGE_WEBHOOK_SECRET value, the Actions Service public URL, and the following path to set the Archiving Callback URL:
    • http://<custom-actions-subdomain>.<custom-domain>/vonage/archiveMonitoring/<VONAGE_WEBHOOK_SECRET>

Return to the main README and continue with Setting Up Local Working Copy.