You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The player shows the CMCD version field in the text area on the page, but dash.js is not sending the field as part of requests (as expected).
Expected behavior
I would expect the textarea on the page to show the fields that are sent on the request, and not be misleading. Hence, it should not show the version (v) field.
FYI - it is correct behaviour to omit the version field if it's 1.
Quote from the spec: "The version of this specification used for
interpreting the defined key names and values. If
this key is omitted, the client and server MUST
interpret the values as being defined by version 1. Client SHOULD omit this field if the version is 1. "
I believe this happens because the CMCD_DATA_GENERATED event contains misleading data. The dash.js code modifies the CMCD request in _buildFinalString (e.g. by removing the version field if the value is 1), but the event contains also the data before modification from _getCmcdData.
mgreve-akamai
changed the title
CMCD version should be omitted if the version is 1
CMCD reporting sample players shows the CMCD version field even though it's not sent (CMCD_DATA_GENERATED event is misleading)
Aug 26, 2021
Environment
Steps to reproduce
Observed behavior
The player shows the CMCD version field in the text area on the page, but dash.js is not sending the field as part of requests (as expected).
Expected behavior
I would expect the textarea on the page to show the fields that are sent on the request, and not be misleading. Hence, it should not show the version (v) field.
FYI - it is correct behaviour to omit the version field if it's 1.
Quote from the spec: "The version of this specification used for
interpreting the defined key names and values. If
this key is omitted, the client and server MUST
interpret the values as being defined by version 1.
Client SHOULD omit this field if the version is 1. "
Link to spec: https://cdn.cta.tech/cta/media/media/resources/standards/pdfs/cta-5004-final.pdf
The text was updated successfully, but these errors were encountered: