
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 ...
05/11/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
05/11/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
05/11/2026
Hungary's first LED cinema, in Budapest, combines cutting-edge HeyLED display technology with Lightware's AV solutions to deliver an exceptional cinemat...
05/11/2026
COW Jobs: Film Delivery and Servicing Lead - Mars, PA
Brie Clayton November 5, 2026
0 Comments
Film Delivery and Servicing Lead
October 27, 2026COW ...
05/11/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
05/11/2026
Hogwarts Legacy receives an NVIDIA DLSS 5 upgrade with 3D-Guided Neural Rendering today, bringing lifelike lighting and materials to the wizarding world on GeFo...
04/11/2026
The company's chief revenue officer shares its new messaging emphasizing its...
04/11/2026
Gravity Media has brought its SMARThead robotic camera technology to the United ...
04/11/2026
WWE and The Walt Disney Company have announced a two-day takeover of ESPN Wide W...
04/11/2026
RT combined Calrec's Type R system with its SMPTE ST 2110 network to change how it mixed commentary for the 2026 World Football Championship. Where six com...
04/11/2026
D sseldorf-based production company Bildquadrat is using Riedel's Virtual SmartPanel (VSP) to expand its intercom infrastructure for mobile and geographical...
04/11/2026
Verizon, an official NFL partner since 2010, has outlined its network and connected-technology work for the 2026 NFL season, spanning officiating, coach communi...
04/11/2026
It's not just the video. The in-venue sound and noise also bring the energy ...
04/11/2026
Latest Expressive Suites announced
Expressive E have teamed up with GForce Software to create a collection of MPE presets for two of the company's popul...
04/11/2026
Latest instrument pack now available
Modartt's much-loved virtual piano suite has just been treated to another update, gaining a new instrument pack tha...
04/11/2026
Captures an array of classic 1980s synths
The third instrument from ebbandflow has just arrived, delivering a collection of 100 patches that have been creat...
04/11/2026
Instrument Stacks, editing improvements, new stock plug-ins & more
Steinberg have just launched the latest version of their award-winning music-focused DAW,...
04/11/2026
New native room-modelling plug-in announced
Universal Audio's latest native room-modelling and reverb plug-in captures the sound of one of the world'...
04/11/2026
London - October 29, 2026 - Creative software developer Foundry today announced ...
04/11/2026
Long known for using Calrec in television, RT turned to the Type R workflow it had adopted in radio to build a multi-mix commentary area for this summer's ...
04/11/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
04/11/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
04/11/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
04/11/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
04/11/2026
Riedel Communications today announced that D sseldorf-based production company Bildquadrat relies on Riedel's Virtual SmartPanel (VSP) to flexibly expand it...
04/11/2026
For a tour built around bringing an audience closer to the artist, what happens beyond the stage can be just as important as what happens on it. For Hilary Duff...
04/11/2026
Premiere mobile adds music from UMG and WMG, helping creators find the perfect t...
04/11/2026
Towson University Relies on Blackmagic Design for Media Production
Brie Clayton November 4, 2026
0 Comments
DaVinci Resolve Studio implementation driv...
04/11/2026
Berklee Celebrates Screen Scoring Talent at Annual BMI Day Emmy-nominated composer and alumnus Tony Morales returned to campus to work with students, while se...
04/11/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
04/11/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
04/11/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
04/11/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
04/11/2026
RT combined Calrec's Type R system with its SMPTE ST 2110 network to rethink how it mixed commentary for the 2026 World Football Championship. Where six co...
04/11/2026
NAB Show New York 2026 Innovation
David Kirk November 3, 2026
0 Comments
Now in its 11th year, NAB Show New York was established as an East Coast vari...
04/11/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
04/11/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
04/11/2026
Advanced Systems Group (ASG) has appointed Bob Daniel as Storage and Workflow Solutions Architect within the Enterprise Storage team. Daniel has over 30 years o...
04/11/2026
Luxembourg, 4 November 2026 - SES, in collaboration with leading space technology partners, has successfully demonstrated a bi-directional optical communication...
04/11/2026
From Gold to Diamond: YouView Reaches Greenlys Highest Sustainability Certificat...
04/11/2026
Residential mobile data usage continues to grow significantly, and Magyar Telekom is expanding its network accordingly. Its customers can now access the company...
03/11/2026
Grass Valley has announced that France T l visions has completed the first phase...
03/11/2026
SES and WELT TV have renewed their partnership under a new multi-year agreement for satellite distribution in Germany. The agreement runs into the next decade a...
03/11/2026
Eutelsat's OneWeb low Earth orbit (LEO) network will provide connectivity as...
03/11/2026
CONMEBOL has renewed its agreement with GRUP MEDIAPRO, which will continue to run the CONMEBOL Hub's end-to-end operation through 2030. The Hub handles prod...
03/11/2026
Aggreko has returned as Official Temporary Power Partner for the FORMULA 1 HEINE...
03/11/2026
Gravity Media has deployed its fully IP-based OB truck, Nova 110, in Belgium for the first time. It made its operational debut supporting a UEFA Europa League m...
03/11/2026
The NFL and TMRW Sports have unveiled Premier Flag, the brand identity for a new...
03/11/2026
Stephen Arnold Music has developed the original musical theme and sonic branding...