Closed
Description
...or provide the ability to add additional query params or optional headers to the Player / VideoSource constructor
...or re-use the query params provided on the MPD url for network requests to the content segments.
Use case: When serving an mpd file /foo/bar.mpd?foo=bar, requests that go out to fetch the mp4 segments should also have ?foo=bar. This is useful in providing some context, auth tokens etc if needed when the MPD file is static but the content requires some additional information based on who is trying to fetch it.
Something similar is accomplished in dash.js by overriding MediaPlayer.dependencies.RequestModifierExtensions
More info: https://groups.google.com/forum/#!topic/shaka-player-users/kmT_-eVn1ZM
Thanks