Overview
We are excited to announce the launch of our new Real-Time Engagement and Performance API. This enhancement significantly improves our existing Engagement and Performance APIs by providing real-time data in addition to historical data, enabling better support for interactive live streams.
This solution has a median latency of 4 seconds from when an event occurs until it's queryable as aggregated data with rich dimensionality such as geography and device type.
Description
The Real-Time Engagement and Performance API offers immediate insights into viewer interactions and stream performance metrics as they happen. This real-time data capability is designed to enhance your live streaming experience by allowing you to create dynamic engagement feedback loops and respond more rapidly to viewer behavior patterns and stream performance issues.
Key benefits and functionalities include:
  • Engagement Metrics: Retrieve real-time data on viewer counts and break it down by geography, device type, and more
  • Performance Metrics : Understand live stream error rates in real-time; this data can also be broken down by a number of dimensions including geography and device type
This data is designed to enable a more responsive and engaging live streaming experience, especially when used in conjunction with other real-time services like Pubnub's Live chat. It is also suitable for use in monitoring pipelines.
All in all, this update empowers you to deliver a more responsive and engaging live streaming experience, with the ability to make data-driven decisions on the fly.
Future work
This feature is the foundation for our real-time Analytics capabilities. In the coming months, we will add:
  • End-to-end Stream Health Observability (including ingest health)
  • Dashboard visualization
Reference
For more information on integrating the Real-Time Engagement and Performance Data feature into your platform, please refer to our API documentation and developer guide.
You can also use our existing Historical Engagement and Performance Data API to retrieve and aggregate historical information.