
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 ...
07/10/2026
Dalet, a leading technology and service provider for media-rich organizations, today announced the latest Long-Term Supported (LTS) release of Dalet Flex. Build...
06/09/2026
June 9 2026, 23:00 (PDT) Dolby and MagentaTV Bring Fans Closer to the FIFA Worl...
25/08/2026
Open, Sustainable, Predictable: What Utah Scientific Is Bringing to IBC 2026 As broadcast leaders prepare to gather at the RAI Amsterdam for IBC 2026, the main ...
25/08/2026
NC State's Matthew Byrd breaks down how an IP-based infrastructure is delivering greater flexibility and scalability for Wolfpack productions...
25/08/2026
Deal expands the DTC reach in-market of Capitals, Wizards, Mystics games and oth...
25/08/2026
The two-year renovation period will create a stadium of the future for the NFL f...
25/08/2026
Behind The Mic provides a roundup of recent news regarding on-air talent, includ...
25/08/2026
Shell Energy Stadium in Houston has installed a new L-Acoustics A Series loudspeaker system, designed and installed by LD Systems, a Clair Global brand. The 20,...
25/08/2026
FloCollege is expanding its distribution and product offerings for the 2026-27 season, covering more than 20 NCAA partner conferences across Division I, II, and...
25/08/2026
TNA Wrestling and REVOLT have announced a content partnership bringing exclusive TNA Xplosion matches and content from TNA's library to REVOLT.
Our indust...
25/08/2026
Gracenote, Nielsen's content intelligence business, has released its Q3 2026 Data Hub analysis showing that FAST sports programming is growing at more than ...
25/08/2026
Amagi has appointed Thomas d'H rouville as Head of Sales for France, Benelux, and Nordics. Based in Paris, he will lead Amagi's growth strategy across t...
25/08/2026
IPC has appointed CCATech as its channel partner in Brazil, expanding the company's presence in Latin America. CCATech was founded in 2023 by Carlos Abrah o...
25/08/2026
FanConnect has announced the FC4, a multi-output media player designed to drive mid-sized video walls, multi-screen concession stands, and multi-display digital...
25/08/2026
JWX has launched JWX Content Hub, a platform for publisher video that combines content transformation, social distribution, audience engagement, and monetizatio...
25/08/2026
Techex has appointed Stuart Almond as Chief Revenue Officer. Almond brings more than 25 years of experience across technology, media, and telecommunications, ha...
25/08/2026
Grass Valley will demonstrate infrastructure connecting SDI, SMPTE ST 2110, MXL, and software-based processing at IBC2026 (Booth 9.A01, RAI Amsterdam, September...
25/08/2026
Franchises are taking greater ownership of production, distribution, and the fan...
25/08/2026
The first-year circuit for former professional athletes leans on LiveU, Starlink...
25/08/2026
Announcing the 2026 Sundance Institute Breakthrough | Focus Features Fellows
L...
25/08/2026
Auction Part 3 running until 9 September 2026
Soundgas have announced that the latest stage of their John Paul Jones Gear Auction is now live, and that bids...
25/08/2026
Over 60 award-winning artists, songwriters, producers, engineers
The MONO Music Conference (formerly Music Expo SF), San Francisco's premier event for m...
25/08/2026
All three versions receive firmware upgrade
Groove Synthesis have just launched a free firmware update that kits the 3rd Wave out with two major new feature...
25/08/2026
eds3_5_jq(document).ready(function($) { $(#eds_sliderM519).chameleonSlider_2_1({...
25/08/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
25/08/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
25/08/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
25/08/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
25/08/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
25/08/2026
Lingopal, the AI-powered live translation and localization specialist, is unveiling new platform capabilities at IBC2026 (11 14 September, RAI Amsterdam), helpi...
25/08/2026
Bminty is supporting TV5MONDE in the evolution of its editorial processes through a new AI-assisted press information generation solution. Combining the Louise ...
25/08/2026
Two Cultures. Millions Reached. One Berklee Connection. Meet Annie Dickinson and Zhengxi Zhang-the couple who turned their creative partnership into music car...
25/08/2026
Amagi, the media industry cloud platform for unified broadcast, streaming, and monetization, today announced that Law&Crime has migrated its Court TV channel, s...
25/08/2026
Broadcast Solutions, a leading systems integrator and provider of innovative solutions for the broadcast and media industry, is showcasing the breadth of its ca...
25/08/2026
Thatcham, UK 25 August 2026: Test & measurement innovator, Leader Electronics, has announced that leading broadcast rental company Minitech has purchased a Le...
25/08/2026
Appear's X20 Platform enables visually lossless video contribution with sub-frame latency and full path redundancy for TVTEL's centralised VAR operation...
25/08/2026
World-first demonstration combines 5G Broadcast and Media over QUIC for seamless, ultra-low-latency hybrid media delivery
Big Blue Marble will showcase new dev...
25/08/2026
MNC Software, a global leader in network management and operational support systems tailored to the broadcast and media industry, will showcase its complete sof...
25/08/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
25/08/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
25/08/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
25/08/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
25/08/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
25/08/2026
Company to Demonstrate Practical AI Applications That Add Value Today and Longer-Term Path Toward Agentic AI
At IBC2026 (Sept. 11 14, RAI Amsterdam, Stand #1.B...
25/08/2026
Serving South Florida with a unique blend of jazz, Latin jazz, salsa, reggae, blues, and culturally reflective programming, WDNA 88.9FM operates as both a tradi...
25/08/2026
GlobalM announced that it is integrating its GMX software-defined media platform with Oracle Cloud Infrastructure (OCI), bringing together Oracle's global c...
25/08/2026
Siena Kelly, Connor Swindells and Sophie Wilde join Boyle in the eight-part series from Working Title Television and Story Films, directed by Emmy and BAFTA nom...
25/08/2026
The critically acclaimed thriller will return to Sky in NovemberTuesday 25 Augus...
25/08/2026
Wuppertal August 25, 2026
Scottish Rugby Expands Managed Coach Communications Partnership With RiedelRiedel Communications today announced the continued expan...