Skip to content

CMCD update

Created by: FritzHeiden

Updating the CMCD implementation to the current specification.

  • changed query key from 'Common-Media-Client-Data' to 'CMCD'
  • omitting '=true' in query string for boolean parameters
  • enclosing string values in double quotes, except tokens
  • sorting CMCD metrics alphabetically by key name
  • URL encoding CMCD metrics
  • added new metrics:
    • bl (Buffer length)
    • bs (Buffer starvation)
    • su (Startup)
    • tb (Top bitrate)
    • pr (Playback rate)
  • removed former metrics:
    • bs (Buffer size)
    • did (Device ID)
  • rounding values of metrics:
    • dl (Deadline)
    • mtp (Measured throughput)
  • added object type:
    • o (other)
  • omitting CMCD version if it is 1
  • extended CMCD sample
  • implemented unit tests for CMCD logic

resolves #3402 (closed)

Merge request reports