Monitor LG | Mux
Monitor LG
Connect Mux Data to video players in LG Smart TV applications to collect playback performance metrics. Use this guide when your LG Smart TV application plays video with an HTML5 player such as HLS.js or dash.js.
In this guide:
- Features
The features supported by Mux Data for this player. - 1 Integration overview
Understand how LG Smart TV applications integrate with Mux Data. - 2 Make your data actionable
Use metadata fields to make the data collected by Mux actionable and useful. - 3 Advanced options
Depending on the details of your implementation, you may want to leverage some of the advanced options.
Mux Data collects playback performance metrics from video players in LG Smart TV applications. Use this guide when your LG Smart TV application plays video with an HTML5 player, such as HLS.js or dash.js, and you want to monitor the playback experience of your viewers. You do not need Mux Video to use Mux Data.
Features
The following data can be collected by the Mux Data SDK when you use the LG SDK, as described below.
Supported Features:
- Engagement metrics
- Quality of Experience Metrics
1 Integration overview
LG Smart TV applications are built on top of the HTML5 video technology. To support video streaming, these applications can be integrated with player SDKs such as the HLS.js and Dash.js.
Due to the HTML5 nature of LG Smart TV applications, the Mux Data integration with LG televisions uses one of the HTML5 integrations, such as the ones listed above. When setting up your application, you should check which video player engine that is used, and depending on that, utilize the appropriate integration point within mux-embed.
Check these 3 web integration guides for more details:
Get your ENV_KEY from the Mux environments dashboard.
Env Key is different than your API token
ENV_KEY is a client-side key used for Mux Data monitoring. These are not to be confused with API tokens which are created in the admin settings dashboard and meant to access the Mux API from a trusted server.
After you've finished integration, the quickest way to see that the SDK is loaded is to pass debug: true in the options passed to the SDK. With this flag enabled, you can open the debug console, and you should start seeing debug statements from [mux] when you click play on the video.
After playing a video, a few minutes after you stop watching, you'll see the results in your Mux account. We'll also email you when your first video view has been recorded. Log in to the dashboard and find the environment that corresponds to your env_key and look for video views.
Note that it may take a few minutes for views to show up in the Mux Data dashboard.
2 Make your data actionable
Options are provided via the data object passed in the call to mux.monitor.
All metadata details except for env_key are optional, however you'll be able to compare and see more interesting results as you include more details. This gives you more metrics and metadata about video streaming, and allows you to search and filter on important fields like the player version, CDN, and video title.
For more information, see the Metadata Guide.
3 Advanced options
Customize beacon collection domain
If you have integrated a custom domain for Data collection, specify your custom domain by setting beaconCollectionDomain.