This guide explains how to configure DVR (Digital Video Recording) functionality with Brightcove NextGen Live, including limitations and best practices for optimal viewer experience.
DVR functionality allows viewers to pause, rewind, and replay portions of your live stream, providing a more flexible viewing experience. NextGen Live offers robust DVR capabilities designed to ensure optimal performance and user experience.
After completing this guide, you should be able to:
Understand DVR window limitations in NextGen Live
Configure DVR settings for your live channels
Generate proper embed code with playback tokens for DVR functionality
Optimize DVR settings for the best viewer experience
Audience
Publishers who need to configure DVR functionality for their live streaming channels using NextGen Live.
DVR Limitations and Considerations
Maximum DVR Window: NextGen Live supports a maximum DVR window of 28,800 seconds (8 hours).
Longer DVR windows may impact player performance and user experience.
Steps to configure DVR
To configure DVR for your live channel, you will complete the following tasks:
Click the Create Channel button to create a new channel.
Enter a Channel Name.
If your account has been configured with required custom fields, make sure the custom fields are assigned values.
Select a Live Ingest Profile from the dropdown list.
In the Advanced Options section, locate the DVR Window setting.
Enter your desired DVR window duration in seconds (maximum 28,800 seconds / 8 hours).
Configure other channel settings as needed.
Click Save to create the channel with DVR enabled.
Configuring DVR window settings
The DVR window determines how far back viewers can rewind in your live stream. Consider these factors when setting your DVR window:
Content Type: News broadcasts may need shorter windows (30-60 minutes), while sports channels might benefit from longer windows (2-4 hours).
Viewer Behavior: Analyze how your audience typically interacts with live content.
Technical Considerations: Longer DVR windows require more resources and may impact performance.
Publishing and embedding DVR-enabled channels
After configuring DVR for your channel, you need to generate the proper embed code to ensure DVR functionality works correctly:
In the Control Room for your channel, click Publish and Embed in the top right corner.
Select a Player from the dropdown menu.
Configure player settings as needed:
Sizing: Fixed or Responsive
Aspect Ratio: Select your preferred aspect ratio
Player Dimensions: Set width and height
Important: Check the Allow DVR checkbox to enable DVR functionality in the embed code.
Choose your embed code type:
iframe: Standard iframe embed (includes livePlaybackToken as a URL parameter)
JavaScript (Advanced): Advanced embed with video-js tag (includes data-live-playback-token attribute)
Copy the generated embed code.
Understanding the playback token
The livePlaybackToken (in iframe embeds) or data-live-playback-token (in JavaScript embeds) is a JWT (JSON Web Token) that contains configuration information for your live stream, including DVR settings. NextGen Live automatically generates this token when you create embed code through the Publish and Embed interface.