
Agama has a long history when it comes to device integrations. For more than a decade we've dealt with projects of all sizes/lengths. With every completed milestone, and even more with every obstacle, we've been steadily building up the knowledge required to succeed.
What are the plugins?One of the key parts of understanding the satisfaction of your users is to assess the quality of experience for the services they consume, their engagement, the type of content they like to watch etc. Agama has an excellent track record in providing such insights, in fact, this is the core of what we do.
The implementations of these important KPIs historically included, among others, the following steps: agreement on the desired metrics set, investigation of the available metrics in the target platform, and integration of these metrics towards the Agama core agent. A lot of these steps were unique for every integration. This was partially due to different wishes from different customers, but mostly due to the unique characteristics of each of the target platforms.
With the growing popularity of OTT platforms and the rise of players such as ExoPlayer, Shaka Player or AV Player, the target platforms became increasingly similar between integrations. The shift from everything is custom to common platforms and players enabled Agama to step outside its domain. We started actively investigating players and platforms, gathering knowledge about them, assessing what could be possible and feasible, and defining an absolute base of metrics that would benefit every customer. These are all implemented in what we call 'Player plugins .
The player plugins follow a few basic principles:
Agama develops and maintains the plugins
The plugins provide a good set of metrics, making them usable directly
No Agama domain knowledge is required for plugin integration - just a few, stable APIs are necessary
Ability to pass custom metrics to the plugin
Agama develops and maintains player plugins for most of the popular players, such as ExoPlayer, Shaka Player, AVPlayer, and for platforms such as Android, FireOS, iOS, tvOS, Chromecast, Browsers, WebOS, Tizen etc.
While the complete list of metrics differs slightly between plugins, they all share most of the metrics. Some of the features they have in common are:
QoS and QoE metrics
Device properties
Ability to understand asset consumption
Ability to understand playback errors (for instance, DRM errors)
Integration keep it simpleLet's take a closer look at what it takes to integrate Agama into your application. To make it as realistic as possible, let's use ExoPlayer as the target player and Android as the target platform.
ExoPlayer is currently one of the most popular players for Android. It is extremely customizable and flexible, yet easy to start with. Therefore, it comes as no surprise that it is used by everyone, from hobby enthusiasts to video operators and even YouTube.
RequirementsLet's start by describing what requirements and dependencies are needed to use the plugin in the first place. Players evolve quickly and so do their capabilities and APIs, and this truly applies to the ExoPlayer. Therefore, the plugin comes in multiple variants associated with various ExoPlayer minor versions. By using a relatively modern version, plugin-player compatibility should not be a problem.
Some metrics implemented by the plugin can be subject to platform permissions. These are not critical to have in any sense, but more on the good-to-have side and will only be included if permissions are granted. Also related to privacy issues, the plugin can be configured to skip certain sensitive metrics. Such information can be, for example, the collection of the device's longitude and latitude position.
Lastly, the plugin is to be included in the project as any other 3rd party library. And the empclient must be included in the same way as well.
Initialization and configuration stepsInitialize the plugin as early as possible. The plugin's lifetime shall reflect the application's lifetime. To initialize it, one needs an Agama configuration string. It is passed on to the Agama core agent - empclient, and includes information such as report heartbeat and the operator id. The configuration string is typically provided by Agama. The application properties such as the applications name and version are needed during initialization.
String agamaConfig =
emp_service=https://cdm1.company123.se/report;report_interval=60;id_report_interval=240;operator_id=fooSoo; ;
String appName = Company 123 Play App ;
String appVersion= 2.1 ;
// Initialize the plugin
EmpStats.getInstance().init(agamaConfig, Definitions.LogLevel.DEBUG, appName, appVersion, ExoPlayerLibraryInfo.VERSION, getApplicationContext());
Once the plugin instance is created, an account associated with the user should be set as well. This will enable (among other things) to find the customer in the Agama system by its account id.
// Set user account id for user John Doe
EmpStats.getInstance().setUserAccountId( johdo28 );
Monitoring videoNow the plugin is initialized, configured and sending data to the Agama backend. It's time to start monitoring the consumed assets. The user has switched to a new channel, started up an asset from the catchup library or simply opened a new episode of their favorite TV series. Opening any new asset shall be signaled to the plugin.
// Load asset & play
String assetUri= https://demo.agamatech.se/Manifest.m3u8 ;
EmpStats.getInstance().sessionOpen(assetUri, Definitions.AssetType.VOD, Sintel , player);
URI uri = uri.parse(assetUri);
player.setMediaItem(MediaItem.fromUri(uri), false);
player.prepare();
Analog to signaling the intent to start playing content, one needs to signal playback termination as well. There are two common ways of doing this: t
Most recent headlines
05/01/2027
Worlds first 802.15.4ab-UWB chip verified by Calterah and Rohde & Schwarz to be ...
01/12/2026
William Kamau, a journalist with the investigative media house Africa Uncensored in Nairobi, has been named Thomson Foundation Young Journalist of the Year 2026...
01/12/2026
Gravity Media has acquired MOOV, a UK broadcast graphics and virtual production ...
01/12/2026
Ateme and CAASTV have announced that PanMetro (Pan Metro Convergence) and Allian...
01/12/2026
CP Communications provided broadcast engineering and production support for Live With Kelly & Mark in Clearwater Beach, FL, Nov. 16-17.
A 10-person crew led by...
01/12/2026
Riedel Communications supported the Klangwolke festival in Linz with a DIVA+ infrastructure. On behalf of Linzer Veranstaltungsgesellschaft (LIVA), Riedel Manag...
01/12/2026
TF1, France's private broadcaster, has chosen Ateme as its technology partner for TF1 . Ateme supports the service on TF1's own apps, connected TVs, ope...
01/12/2026
The Alliance for IP Media Solutions (AIMS), together with the Video Services Forum (VSF) and the European Broadcasting Union (EBU), has announced the next IPMX ...
01/12/2026
Clark Wire & Cable supplied broadcast infrastructure cable, panels and SMPTE com...
01/12/2026
Over the past three decades, no sports entity has set a higher bar for storytell...
01/12/2026
Sports media has become one of the few reliable growth areas in an otherwise slu...
01/12/2026
Studio 61 will feature four production sets, more than 30 cameras, aerial systems, AR, and nearly 100 hours of live programming during Super Bowl week...
01/12/2026
On-site activation will use touchscreen inputs and Anamorph technology to assemb...
01/12/2026
ESPN Deportes has announced its commentary team for Super Bowl LXI: Rebeca Landa...
01/12/2026
With Super Bowl LXI 75 days away, ESPN and The Walt Disney Company have announce...
01/12/2026
ESPN and ABC will punctuate ESPN's Year of the Super Bowl with 10 hours of live programming from Disneyland Resort in Anaheim, CA, on Monday, Feb. 15, mere ...
01/12/2026
Five-hour Super Bowl LXI Countdown, multiple studio locations, Disney+ simulcast...
01/12/2026
As ESPN prepares for its historic first Super Bowl presentation, the network wil...
01/12/2026
Disney+, Hulu, and ESPN App will carry Live From Super Bowl LXI Red Carpet from the NFL VIP Tailgate at SoFi Stadium...
01/12/2026
To help determine where the industry stands, SVG AI Innovation Lab analyzed and ...
01/12/2026
Peyton Manning and Rich Eisen will host the hour-long ESPN Original, produced with NFL Films and The Montag Group...
01/12/2026
By Jason Dachman and Ken Kerschbaumer
ESPN today took some additional wraps off of its Super Bowl LXI plans, including more details about ESPN Beach will prese...
01/12/2026
Audio inputs, backing playback, PDF support & more
In the April 2026 issue, we ran a review on StageBox, a handy macOS and Windows application designed to h...
01/12/2026
Three new high-gain amps added
Universal Audio's all-in-one amp and effects modelling software has just been treated to a major update that introduces t...
01/12/2026
Innovative instrument gains virtual counterpart
Telepathic Instruments have just released a new plug-in that recreates their innovative Orchid instrument, a...
01/12/2026
Vintage-inspired effects suite revealed
Waves latest release brings together a set of creative effects plug-ins that promise to capture the sound and charac...
01/12/2026
Rohde & Schwarz and Zurich Instruments back the London Quantum Cluster to suppor...
01/12/2026
Nielsen has released its Top 25 Live Sports Events Telecasts ranker for the week of November 16 - November 22. The list highlights a dynamic week in sports broa...
01/12/2026
Share
{alert(Link copied)}).catch(err => {console.error(Failed to copy: , err)}) data-platform=copy_link data-action= class=font-ui-heading py-2 text-sm tex...
01/12/2026
Share
{alert(Link copied)}).catch(err => {console.error(Failed to copy: , err)}) data-platform=copy_link data-action= class=font-ui-heading py-2 text-sm tex...
01/12/2026
Share
{alert(Link copied)}).catch(err => {console.error(Failed to copy: , err)}) data-platform=copy_link data-action= class=font-ui-heading py-2 text-sm tex...
01/12/2026
Share
{alert(Link copied)}).catch(err => {console.error(Failed to copy: , err)}) data-platform=copy_link data-action= class=font-ui-heading py-2 text-sm tex...
01/12/2026
Share
{alert(Link copied)}).catch(err => {console.error(Failed to copy: , err)}) data-platform=copy_link data-action= class=font-ui-heading py-2 text-sm tex...
01/12/2026
Share
{alert(Link copied)}).catch(err => {console.error(Failed to copy: , err)}) data-platform=copy_link data-action= class=font-ui-heading py-2 text-sm tex...
01/12/2026
Share
{alert(Link copied)}).catch(err => {console.error(Failed to copy: , err)}) data-platform=copy_link data-action= class=font-ui-heading py-2 text-sm tex...
01/12/2026
Framecastics encoding, decoding and IP streaming solutions now available through Hornets Tech, with specialist engineering support...
01/12/2026
Brussels, Belgium December 1, 2026 Mediagenix, a global leader in smart content solutions to profitably connect the right content to the right audience, tod...
01/12/2026
Hollywood Editor Develops Free VFX Screen Tracking App
Christopher W. Hill December 1, 2026
0 Comments
I've been working in Hollywood as an editor...
01/12/2026
Clear Life Media Creates Youth Sports Streaming with Blackmagic Design
Brie Clayton December 1, 2026
0 Comments
Company creates profitable live multic...
01/12/2026
Unreal Engine & Blender Inside After Effects? Shot Link Plugin Review
Graham Quince December 1, 2026
0 Comments
I found a plugin which lets you bring ...
01/12/2026
Share
{alert(Link copied)}).catch(err => {console.error(Failed to copy: , err)}) data-platform=copy_link data-action= class=font-ui-heading py-2 text-sm tex...
01/12/2026
Partnership delivers personalized viewing experiences and premium advertising experiences across Latin America
Broadpeak , a leader in streaming and monetizati...
01/12/2026
Rise AV, the leading advocacy organisation promoting gender diversity and professional development in the AV, Live and Production Technology sectors, has opened...
01/12/2026
Share
{alert(Link copied)}).catch(err => {console.error(Failed to copy: , err)}) data-platform=copy_link data-action= class=font-ui-heading py-2 text-sm tex...
01/12/2026
Share
{alert(Link copied)}).catch(err => {console.error(Failed to copy: , er...
01/12/2026
New integration connects Blue Lucys rights-aware content management platform with Moments Lab's AI platform, so teams can find, compile and publish archive ...
01/12/2026
LA JOLLA, CA-One cheap and reliable, albeit stinky tool has become an increasing...
01/12/2026
Beam Dynamics Introduces MCP for Faster, Smarter Technology Operations
Brie Clayton November 30, 2026
0 Comments
Beam Dynamics has introduced new Model ...
01/12/2026
Multi Platform Healthcare Campaign Captured on URSA Cine 12K LF
Brie Clayton November 30, 2026
0 Comments
Craftshow Digital completes Singing River He...
01/12/2026
Gravity Media acquires MOOV to expand broadcast graphics and virtual production ...