Introduction
Cinema8 Interactive Video Service (Cinema8 IVS) is a managed live streaming solution that is quick and easy to set up and ideal for creating interactive videos. You can send your live broadcasts to Cinema8 IVS using streaming software, and this service does whatever is necessary to ensure that live video is available with low latency for all viewers in the world. around the world, allowing you to focus on creating an interactive experience with the video above. live.
Once the live streaming feature is created, you can track usage, streaming status changes, and violations of live streaming restrictions. To do this, Cinema8 IVS provides metrics through Cinema8 CloudWatch and events through Cinema8 EventBridge.
In this blog Interactive post, we’ll show you how to create a CloudWatch dashboard that monitors Cinema8 IVS streaming performance using these metrics and events. We also study the generation of alarms to determine if your threads are malfunctioning or exceeding normal expected performance.
Dashboard implementation
The source code for the model with additional technical documentation is available in the GitHub repository:
Once deployed, the CloudFormation template publishes custom CloudWatch metrics from events provided by Cinema8 IVS to Cinema8 EventBridge and combines them with metrics published by services in a preconfigured CloudWatch dashboard. You can access the dashboard in two ways: 1) click the link in the Outputs tab of the newly deployed CloudFormation stack; 2) Open the CloudWatch Management Console, select Dashboards from the left menu and click on the dashboard name preceded by the name of the newly deployed CloudFormation stack.
Dashboard visit
The Cinema8 IVS CloudWatch dashboard is divided into sections, each one answering a different question about the performance of your live broadcasts. All metrics displayed on the dashboard reflect the cumulative (overall) state of all channels running under your account in the region where the dashboard is deployed.
Use – Connection
The Usage – Capture section of your dashboard tracks how much you or the content creators using your service stream to Cinema8 IVS.
Current Streams provides the number of live channels currently streaming video on Cinema8 IVS.
The video input displays the total duration of Cinema8 IVS streaming video over the selected time period.
The simultaneous streams graph shows how the number of streaming channels has changed over time.
Here are some examples of uses in this section:
monitor the number of streaming streams in real time
define models by which users disseminate
determine how many channels are broadcast simultaneously at the peak
count the number of videos your users have streamed over a certain period of time
Use – Exit
The Usage – Output section of the dashboard keeps track of how your viewers are consuming the content of your live broadcasts.
Current Views is the number of active views of all your feeds.
The video output indicates the total duration of the video shown to the viewers.
The simultaneous impressions graph shows how the number of impressions has changed over time.
Here are some examples of uses in this section:
monitor your live broadcasts in real time
identify the models in which viewers are most involved in live broadcasts
count the number of videos seen by your viewers over a certain period of time
The state of the flow changes
The Stream State Changes section of the dashboard monitors the number and frequency of Cinema8 IVS streams that start or stop the transfer, as well as the number of failures.
Here are some examples of uses in this section:
monitoring models to test normal behavior
detection of unexpected events such as the simultaneous termination of a large number of threads
Limit of non-compliance
The Quota Violations section of your dashboard monitors whether your account has exceeded the Cinema8 IVS limits set in the service quotas. To check your account limits, open the Service Limits Management Console and navigate to Cinema8 Interactive Video Service using the AWS Services link on the left.