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.17k stars 1.68k forks source link

CMSD headers reported back via HTTPList metric? #4506

Open dsilhavy opened 5 months ago

dsilhavy commented 5 months 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 5 months ago

The CMSD metric is included as a 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 <Metrics> element of the MPD. This would also be non-standard 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..