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
We are trying to play a stream that includes CDN tokens. If the token is not in the url, the file is forbidden for downloading. For security reasons, I am not able to share you the real url, but here is the example:
If I remove the token from url, the stream will not start, as the manifest is forbidden for downloading:
http://.../1-0-alwo-2015/video/Manifest.mpd
If I start the stream, then the manifest is downloaded correctly, but as soon as the dashjs starts downloading audio and video chunks then it fails. The reason for this is that the same token should be added into each chunk request URL.
Hello,
We are trying to play a stream that includes CDN tokens. If the token is not in the url, the file is forbidden for downloading. For security reasons, I am not able to share you the real url, but here is the example:
If I remove the token from url, the stream will not start, as the manifest is forbidden for downloading:
If I start the stream, then the manifest is downloaded correctly, but as soon as the dashjs starts downloading audio and video chunks then it fails. The reason for this is that the same token should be added into each chunk request URL.
This URL for media chunk fails:
This URL will download file:
I've tried this:
player.setXHRWithCredentialsForType("MediaSegment", true);
and this:
player.setXHRWithCredentials(true);
Is there any support for this in dashjs or should we modify player according to our needs.
Any help on this will be greatly appreciated! Thanks
The text was updated successfully, but these errors were encountered: