Skip to content

Add ability to intercept network requests to add additional query params or headers #148

Closed
@priyajeet

Description

@priyajeet

...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

Metadata

Metadata

Assignees

Labels

flag: good first issueThis might be a relatively easy issue; good for new contributorsstatus: archivedArchived and locked; will not be updatedtype: enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions