Dash-Industry-Forum / dash.js

A reference client implementation for the playback of MPEG DASH via Javascript and compliant browsers.
http://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html
Other
5.05k stars 1.66k forks source link

CMSD headers reported back via HTTPList metric? #4506

Open dsilhavy opened 2 weeks ago

dsilhavy commented 2 weeks ago

Description

During the face to face meeting, an issue was raised regarding CMSD. Apparently, the CMSD headers are included in the HTTPList metric. Validate the behavior and check if this is correct.

piersoh commented 2 weeks ago

The CMSD metric is included as non-standard addition to the httpList DASH Metric: https://github.com/Dash-Industry-Forum/dash.js/blob/072206b103832c80a076dd90a1586e7eb9029457/src/streaming/vo/metrics/HTTPRequest.js#L104 A cleaner approach would be to use a new DASH metric key (e.g. cmsd) so its reporting may be controlled in a similar way to the other DASH Metrics by adding its key to the element of the MPD. This would also be non-standardised but could potentially be brought to MPEG as an additional DASH Metric to report, it also means that that httpList doesn't contain non-standard elements. I implemented this in a dash.js branch of mine..