
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...
13/08/2026
LaLiga has renewed broadcast agreements with ESPN and DSports covering Spanish-l...
13/08/2026
Three days of skateboarding competitions, live music, and other programming will...
13/08/2026
Matrox Video will showcase its portfolio of IP and software-defined technologies at IBC2026 (Booth 7.B15, RAI Amsterdam, September 11-14).
The portfolio includ...
13/08/2026
SMPTE will present expert-led sessions, professional workshops, and networking events at IBC2026. The organization will be located in the IBC2026 Owner Pavilion...
13/08/2026
Clear-Com will exhibit at IBC2026 (Stand 10.D29, September 11-14, Amsterdam), showcasing FreeSpeak Cell, Avalon IP Station, updates to Arcadia Central Station, ...
13/08/2026
Advanced Systems Group (ASG) has appointed Eran Binyamin Zeitoun as Senior Techn...
13/08/2026
Miami HEAT, Florida Panthers, Orlando Magic, University of Miami join leading vendors for a day of gameday-production talk in South Florida
The 2026 SVG Venues...
13/08/2026
NBC Sports is producing the Twins-Phillies game alongside the streamer, which is...
13/08/2026
Oracle Cloud Infrastructure (OCI) will exhibit at IBC2026 (Hall 5, Booth 5.A21, September 11-14, Amsterdam), demonstrating cloud-based workflows across low-late...
13/08/2026
Dalet will participate in the IBC2026 Accelerator Media Innovation Programme, co...
13/08/2026
Cox Media Group (CMG) has announced multi-year local broadcast rights agreements...
13/08/2026
J nger Audio will join Fraunhofer IIS and industry partners to showcase a cloud-based, DTV+-compliant workflow at SET Expo 2026 in S o Paulo, August 17-20. DTV+...
13/08/2026
IBC has announced that Olympic Broadcasting Services (OBS) will receive the Inte...
13/08/2026
NESN has partnered with WSBK-TV38 to broadcast Boston Red Sox games on August 17 and 18 over the air, extending the reach of the 24th annual WEEI/NESN Jimmy Fun...
13/08/2026
LiveU and Panasonic LUMIX have announced the Live Anywhere workflow, demonstrated at NAB 2026 and InfoComm 2026 in collaboration with Social180Group. The work...
13/08/2026
Chyron will demonstrate its sports analysis, graphics, remote production, virtual production, and venue control solutions at IBC2026 (Booth 7.A23). This year...
13/08/2026
Ratings Roundup is a rundown of recent ratings news and is derived from press re...
13/08/2026
Season tips off Oct. 20 and runs through April 11; Christmas Day, NBA Cup, All-S...
13/08/2026
Company preview bio-interactive' synthesizer
VAEMI have announced the upcoming launch of a new standalone bio-interactive' generative synthesizer....
13/08/2026
Plug-in host gains new Slot Scenes feature
Ravine DSP have recently updated their innovative plug-in host, kitting it out with a new feature that brings yet...
13/08/2026
New Agreement Aims to Leverage Gracenote Infrastructure to Create More Relevant ...
13/08/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
13/08/2026
IBC today announced that its most prestigious honour, the International Honour for Excellence (IHFE), will be presented to Olympic Broadcasting Services (OBS), ...
13/08/2026
Dalet, a leading technology and service provider for media-rich organizations, today announced its participation in the IBC2026 Accelerator Media Innovation Pro...
13/08/2026
dzjinius, the all-in-one production management platform for the media and entertainment industry, will showcase its new application, dzjinius on-set , at IBC20...
13/08/2026
Broadcasting Center Europe (BCE), a leading European provider of media services, system integration and product development, will demonstrate an end-to-end sove...
13/08/2026
Clear-Com is returning to IBC 2026, taking place September 11-14 in Amsterdam, Netherlands. At Stand 10.D29, Clear-Com will spotlight the award-winning FreeSpe...
13/08/2026
Test & measurement innovator, Leader Electronics of Europe, will showcase its comprehensive portfolio of Leader, PHABRIX and LeaderPhabrix test and measurement ...
13/08/2026
KRK Brings Advanced Wireless Control to Professional Monitoring With New V Serie...
13/08/2026
Anthony Noack Captures Artist's Journey in Estonia with Blackmagic Design
Brie Clayton August 12, 2026
0 Comments
Solo filmmaker documents concept...
13/08/2026
ARRI Image Science makes its mobile debut in the HONOR Robot Phone
Brie Clayton August 12, 2026
0 Comments
Hero image displays the HONOR Robot Phone, ...
13/08/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
13/08/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
13/08/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
13/08/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
13/08/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
13/08/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
13/08/2026
Suitest's Test Automation Platform Simplifies Video Quality Assurance, Monitoring, and Device Certification Across the OTT Ecosystem
At IBC2026, Suitest, a...
13/08/2026
Cinegy GmbH, the premier provider of software-defined television technology, will have its key software solutions ready to demonstrate at SET Expo 2026 (18 20...
13/08/2026
Scripps Research has established the Peter K. Vogt Endowed Chair, a new faculty ...
13/08/2026
LA JOLLA, CA-A vaccine's molecular structure plays a key role in determining how the immune system responds and prepares to protect the body from future exp...
13/08/2026
Thursday 13 August 2026
Official trailer released for the return of Tea with Ju...
13/08/2026
Dalet, a leading technology and service provider for media-rich organizations, t...
13/08/2026
Wenvoe serves over 1 million people across South Wales
13 August 2026, Winchester, UK - Vale of Glamorgan MP, Kanishka Narayan, has praised the engineering exp...
13/08/2026
RT 's Miriam O'Callaghan welcomed a range of specially invited guests to the National Concert Hall last week for a unique event to mark a new season wit...
13/08/2026
August 13 2026, 06:00 (PDT) Seattle Seahawks Become First Team to Bring Dolby O...
13/08/2026
GeForce NOW is giving cloud gaming an extra-credit upgrade just in time for back-to-school season.
The native Linux app for GeForce NOW is officially out of be...