CMCD Plugin's Test

STANDARD
PREMIUM
GOLD
Common Media Client Data (CMCD) is an open specification launched by the Consumer Technology Association (CTA). It allows media players to communicate data back to CDNs during video streaming sessions. With CMCD, media clients can send data to CDNs, including information such as encoded bitrate, buffer length, content ID, measured throughput, session ID, playback rate, and more. By capturing and analyzing this data, CDNs can gain a deeper understanding of the client’s streaming experience.
Montevideo Tech company developed a plugin for adding Common-Media-Client-Data (CMCD) to the video.js player requests. It's pretty easy to apply.
Code snippet
<script src="//domain.com/videojs/video.min.js"></script>
<script src='https://cdn.jsdelivr.net/npm/@montevideo-tech/videojs-cmcd@latest/dist/videojs-cmcd.min.js'></script>
<src="//domain.com/videojs/nuevo.min.js"></script>

//Initialize player
var player = videojs("my_player");
player.cmcd({sid:'SessionID', cid:'ContentID'});
player.nuevo({ contextMenu:false });
If you look at browser's Developer Tools, under Network section you can see video requests. Indeed, CMCD query arguments are added to each video segment URL. It looks like:
Code snippet
../segment_0008.ts?CMCD=bl%3D30200%2Cbr%3D1576%2Ccid%3D%22ContentID%22%2Cd%3D4000%2Cdl%3D0%2Cmtp%3D28700%2Cnor%3D%22segment_0009.ts%22%2Cot%3Dav%2Csf%3Dh%2Csid%3D%22SessionID%22%2Cst%3Dv%2Ctb%3D3489
CMCD data can be also included in the request headers instead of query arguments.

CMCD plugin's source, installation, usage and information about the CMCD keys you can find on this Github project page.
Note that Montevideo Tech also published validator for CMD requests generated by a video player and CMCD-Analyzer which allows developer to collect and analyze data from any type of player that has CMCD implemented.