-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xhr.withCredentials value not used by SegmentBaseLoader.js #1672
Comments
Related: #1254 |
+1 Running into the exact same issue |
@alanimgur, @rolfboom I did a quick patch (davemevans@b1dd056) a while ago but only tested a couple of public streams - can you test against your content since you have not made it available? Assuming it looks good I will PR. |
Fix Dash-Industry-Forum#1672, Dash-Industry-Forum#1254 - use XHRLoader for SegmentBase requests
@bbcrddave @rolfboom It works! Thank you!
|
Sweet, thanks. I've created PR #1760 and hopefully it should go into the 2.4.1 release next week. |
I can provide more information if needed. We are testing private streams with restricted access and I don't have a public site at the moment.
Environment
Setup
player.setXHRWithCredentials(true);
is setObserved Behaviour with restricted access turned on
Screenshot
Observed Behaviour with restricted access turned off
Screenshot
Conclusion and quickfix
So somehow only the first requests made by the SegmentBaseLoader.js does not check if
player.setXHRWithCredentials(true)
was set. Requests made by the XHRLoader.js checks this.By adding
request.withCredentials = true;
right before request.send, I could quickfix this.If I just used the player terribly wrong, please let me know.
Screenshot with custom quickfix and restricted access on
The text was updated successfully, but these errors were encountered: