
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 ...
30/11/2026
MASV, the global file transfer platform built for teams moving massive content a...
30/11/2026
Free registration for THE SVG SUMMIT closes on Dec. 1 at 5 p.m. ET, so don't miss out! After the deadline, tickets will cost $150 to attend the event. CLICK...
30/11/2026
ABY & Pro amp switcher models introduced
Guitar power supply and switching experts Voodoo Lab have just revealed two products that build on the foundations ...
30/11/2026
New eight-bit digital VCO announced
ALM/Busy Circuits' latest Eurorack module combines the immediacy of an analogue VCO with the flexibility of digital ...
30/11/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...
30/11/2026
Combination creates a leading independent media intelligence platform across all workflows and channels.
New York, NY - November 30, 2026 - Nielsen Holdings ( ...
30/11/2026
Share
{alert(Link copied)}).catch(err => {console.error(Failed to copy: , er...
30/11/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...
30/11/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...
30/11/2026
DPA Microphones is proud to announce that two of its innovative audio solutions have been named as finalists in the 2027 NAMM TEC Awards. This includes the 4097...
30/11/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...
30/11/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...
30/11/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...
30/11/2026
For Lightware, 2026 has been a year of continued progress, marked by significant developments across its connectivity and control portfolio. Alongside advancing...
30/11/2026
Hiltron Communications reports a successful Space Tech Expo Europe 2026, held from Tuesday 17 through Thursday 19 November across five halls of the Messe Bremen...
30/11/2026
Calrec will be located at Stand 4P800.
Broadcast and Pro AV united
ISE 2027's theme, When Worlds Unite, reflects Calrecs own approach. Stadiums, univers...
30/11/2026
CGI (TSX: GIB.A) (NYSE: GIB), one of the largest independent IT and business consulting services firms in the world, today launched OpenMedia Evolve, the next g...
30/11/2026
Monday 30 November 2026
Dan Borrelli joins Sky as Head of YouTube
Sky has appointed Dan Borrelli as Head of YouTube for Sky Entertainment Group, in a newly cr...
30/11/2026
Monday 30 November 2026
Sky News launches Ask Sky News, a new way to search and explore the news
AI-powered feature lets audiences ask questions, get answers ...
30/11/2026
RedNet TNX delivers mission-critical redundancy for Chicago-based live sound eng...
30/11/2026
CUPERTINO, CALIFORNIA Apple today announced an all-new (RED) collection - includ...
30/11/2026
Apple Music today debuted Replay '26, a redesigned look back at the year in ...
30/11/2026
Today, Apple Podcasts unveiled the most popular podcasts of 2026, celebrating th...
30/11/2026
Launching the first of three Christmas content announcements this week, RT is s...
29/11/2026
Combines compression, saturation & EQ
Said to be the easiest way to turn your sound all the way to 11 , fedDSP's latest release brings together compres...
29/11/2026
New Life for the Original Symphony I/O: An Independent Software Project With Apogee's cooperation, an independent developer is helping bring the original Sy...
28/11/2026
Cubase & FL Studio integration improved
Melbourne Instruments have just released the latest update for their motorised MIDI controller, adding Cubase and FL...
28/11/2026
Apogee Holiday Sale 2026: Major Savings + Up to 20 Free Plugins
November 2 - December 31, 2026 Apogee's 2026 holiday sale brings special US pricing to s...
27/11/2026
First plug-ins in latest partnership range
KIT Plugins have just announced the launch of the first two plug-ins to be created in partnership with Detroit-ba...
27/11/2026
Three new plug-ins added to collection
Sound Radix's flagship plug-in bundle has just received its biggest update yet, with Powair 2, Mute matic Studio ...
27/11/2026
RT has announced the professional dancer line-up for the upcoming tenth season ...
27/11/2026
RT is today publishing the statistical summary of RT 's Register of External Activities for the first quarter of 2026. This includes external activities fo...
26/11/2026
Mic, shockmount & pop shield bundle announced
Aim Audio have just introduced a new hardware bundle that combines their cardioid condenser mic with a shockmo...
26/11/2026
Turn any audio input into shimmering clouds
Pine DSP have just introduced a new granular effect that can run as a standalone plug-in, or as a module withi...
26/11/2026
Now supports user-created Knob FX
Akai's portable MPC has just received a firmware update that introduces a range of user-requested features and tackles...
26/11/2026
Shop the best deals this weekend
Sale season is upon us and to help SOS readers cut through all the noise, weve done the legwork for you and rounded up some...
26/11/2026
Maxon Cyber Sale - Buy Any Annual Plan, Get Maxon Plus Starter Free For a Month
Brie Clayton November 25, 2026
0 Comments
Every annual plan, from Cine...
26/11/2026
Deals on Matthews Studio Equipment Select Gear for Black Friday - now thru 11/30
Brie Clayton November 25, 2026
0 Comments
Black Friday: Stands & Clam...
26/11/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...
26/11/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...
26/11/2026
There may be no consensus in the negotiating room. There is no ambiguity in the science, said UN Secretary-General Ant nio Guterres reacting to the lack of con...
26/11/2026
Good games bring people together. This GFN Thursday, GeForce NOW is celebrating the members, creators and community moderators who turn every session into somet...
25/11/2026
SMT will support sports broadcasts across Amazon Prime Video, Netflix, NBC Sports, ESPN, TNT, The CW and Raycom over the Thanksgiving holiday weekend. SMT produ...
25/11/2026
Although Robert A. Iger is best known as the executive who brought Pixar, Marvel...
25/11/2026
New arpeggiator modes, full NKS support & more
Novation have just released a pair of free firmware updates that bring some new features to their Launchkey M...
25/11/2026
Launched alongside RC Snare update
LA-based developer RC Mix have just launched the latest addition to their line of acoustic drum processing plug-ins. RC K...
25/11/2026
A new class of reverb
MNTRA have recently launched a new GPU-powered plug-in which they say represents a new class of reverb . Developed in collaboration ...
25/11/2026
Mic, shockmount & pop shield bundle announced
Aim Audio have just introduced a new hardware bundle that combines their cardioid condenser mic with a shockmo...
25/11/2026
Last week, the 5th global Safety Day took place at all SGL Carbon sites.
This year's Safety Day focused on the theme Lifting Equipment . Various informati...