
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...
04/09/2026
Media organisations interested in the Media Innovation Europe 3.0 Business Innovation Synergizer (BIS) can now consult a new FAQ document providing additional a...
04/09/2026
Eluvio will demonstrate updates to its Content Fabric platform at IBC2026 (Hall 8, Stand 8.MS5, and Future Tech Zone, Hall 14, Stand 14.A58, September 11-14). C...
04/09/2026
LiveU has joined the IBC Accelerator's Smart Stories consortium, a multi-vendor initiative developing an open standard for Story Context interoperability in...
04/09/2026
Telos Alliance will demonstrate new audio observability capabilities at IBC2026 (Stand 8.D37, RAI Amsterdam, September 11-14), covering monitoring of audio heal...
04/09/2026
World Team Tennis (WTT) has announced a broadcast partnership with USA Sports, the sports division of Versant. USA Sports will air all six of WTT's live mat...
04/09/2026
Gravity Media has appointed Alex Pannell as Chief Business Officer. Pannell joins from Appear, where he served as Chief Commercial Officer. He will be based in ...
04/09/2026
Dalet has announced new agentic workflow capabilities for Dalia, its AI platform for media organizations, ahead of IBC2026. The updates extend Dalia from an AI ...
04/09/2026
L-Acoustics has achieved EN 54 certification across a portfolio of loudspeakers,...
04/09/2026
EVS and Matrox Video have announced a technology partnership integrating Matrox ...
04/09/2026
NEP Group will exhibit at IBC2026 (Hall 7, Stand 7.B55, RAI Amsterdam, September 11-14), demonstrating software-defined production capabilities across NEP Platf...
04/09/2026
The Television Academy has awarded an Engineering Emmy to Dr. Roman Foltyn, Chief Engineer of FoMaSystems, and Curt O. Schaller for the development of the ARRI ...
04/09/2026
InSync Technology will exhibit at IBC2026 (Stand 1.A55, RAI Amsterdam, September 11-14), demonstrating its FrameFormer and NOVA conversion platforms for frame r...
04/09/2026
The Professional Triathletes Organisation (PTO) has signed a multi-year agreemen...
04/09/2026
Accedo and MediaKind have announced a white-label, end-to-end streaming solution for operators, combining Accedo's native application framework and cloud-ba...
04/09/2026
TAG Video Systems has announced TAG Blue, a cloud platform for shared monitoring visibility across video delivery chains, with AI-powered root-cause analysis. T...
04/09/2026
TwelveLabs has launched a video compliance platform for media organizations, inc...
04/09/2026
The Television Academy and the National Academy of Television Arts & Sciences ha...
04/09/2026
Powerful new soft synth announced
Traveler is the first software instrument to be released by KeySolutions Sounds, and it's an ambitious one! Said to co...
04/09/2026
Free virtual instrument range expanded
The latest expansion of e-instruments' free Fragments series introduces a packed-down version of the company'...
04/09/2026
Company recognised for second time
Two years after winning an Engineering, Science & Technology Emmy Award for dxRevive Pro, Accentize have been recognised ...
04/09/2026
Bilbao - 3rd September 2026 -AgileTV, a leading provider of end-to-end TV and vi...
04/09/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
04/09/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
04/09/2026
ACEMAGIC First to Introduce Ryzen AI Max PRO 495 AI Mini Workstation at IFA 202...
04/09/2026
Krotos Brings Video to Sound Footsteps Directly into Premiere Pro and DaVinci Re...
04/09/2026
RED DIGITAL CINEMA Comes Out Swinging at IBC 2026 with Next-Generation Live Broa...
04/09/2026
Orty v2.0-web - the cold-outreach assistant moves to the web
Brie Clayton September 4, 2026
0 Comments
Orty today announced v2.0-web of its AI cold-ou...
04/09/2026
Lightware is expanding its LARA (Lightware Advanced Room Automation) platform with the GUDE Power Distribution Units (PDU) driver module. GUDE devices can now b...
04/09/2026
Lightware shares the second release in its ESG communications series. Following the first piece, which focused on the companys environmental performance, this r...
04/09/2026
Big Blue Marble supported a leading European public service broadcaster in delivering the Soccer World Cup 2026 streams, supplying more than 10 Tbps of bandwidt...
04/09/2026
Outstanding achievement in engineering, science and technology
Hitomi Broadcast has been recognised with an Engineering, Science & Technology Emmy from the Ac...
04/09/2026
California, Hollywood at a Crossroads
Andy Marken September 3, 2026
0 Comments
I'm doing everything alone. Crossing roads alone. Seeing the Eiffe...
04/09/2026
Berklee Announces Winners of 2026 SongwritersdB Songwriting Contest Students Luca Alexandru, Annika Wild, and Johanna James received the top prizes for origin...
04/09/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
04/09/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
04/09/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
04/09/2026
RT ANNOUNCE NEW DRAMA THE MURDER OF MR. MOONLIGHT
BASED ON THE DISAPPEARANCE...
03/09/2026
Yospace will be at IBC from 11th - 14th September (booth 5.C78). For more inform...
03/09/2026
NEP Group has announced leadership changes at Creative Technology Group. Founder and CEO Graham Andrews will step away from day-to-day leadership at the end of ...
03/09/2026
The NFL and TikTok have announced a multi-year partnership renewal expanding the league's presence on the platform. NFL posts on TikTok increased more than ...
03/09/2026
Grass Valley has appointed Ronny Van Geel as Vice President, Cameras. Van Geel began his career in 1999 at Philips DVS and moved into product management in 2005...
03/09/2026
Telestream has announced Vantage Super Resolution, an AI-powered upscaling capability for the Vantage media workflow platform, developed in collaboration with N...
03/09/2026
Solid State Logic (SSL) will debut the TCA Tour at IBC2026 (Hall 8, Stand 8.B45), a portable production system built from System T components in a desktop frame...
03/09/2026
DPA Microphones has announced the 6388 CORE Headset Microphone, making its debut at IBC2026 (Hall 8, Stand D60). The supercardioid headset features a physicall...
03/09/2026
Qvest will present a multi-vendor Dynamic Media Facility (DMF) showcase at IBC2026 (Booth 10.C24), demonstrating how the EBU's DMF architecture can be imple...
03/09/2026
Imagine Communications will showcase the Magellan PanelFlex control surface and other control portfolio updates at IBC2026 (Stand 1.B73, RAI Amsterdam, Septembe...
03/09/2026
Bridge Technologies will announce at IBC2026 (Booth 1.A71) that its VB440 production probe is now available as a software-based solution, deployable on commerci...