-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
UTCTiming not supported #241
Comments
Sounds like a duplicate of #185, which was fixed in v1.6.0. What version of Shaka Player are you using? |
I was using 1.5.0. I'll check with 1.6.0 tomorrow and update here. Is it required that we need to use https for streams and license servers in And I was getting Allow-origin hearder errors even though I had given * for Regards, On Thu, Dec 3, 2015 at 12:47 AM, Joey Parrish notifications@github.com
Randeep [image: --] |
The CORS situation for 1.6 hasn't changed, and we have never placed any restrictions on http vs https at the library level. Browsers may or may not restrict these things, and URI scheme definitely affects a browser's CORS checks. CORS-wise, you want Access-Control-Allow-Origin: * or Access-Control-Allow-Origin: scheme://my.origin.tld. To use the existing clock-sync mechanism, you also have to allow access to the Date header with Access-Control-Expose-Headers: Date. (This clock-sync mechanism will not be used in Shaka 2.) |
@randeeppr Were you able to get CORS working with v1.6? |
No Joey. Can you check if there anything wrong with my http headers? XMLHttpRequest cannot load http://live.domain.com/dash/russiatoday/audio1/Header.m4s. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://vod.domain.com' is therefore not allowed access. curl -I http://live.domain.com/dash/russiatoday/audio1/Header.m4s Regards, |
I was about to post my own results, until I realized that your URL is a fake one. :-) Can you please try this and report back?
I am curious if the cache-buster is causing your CORS issues. |
@joeyparrish
Regards, |
Well, then it's not related to cache-busting. I don't see any obvious problem with the Access-Control headers here. Are you using cookies and/or the withCredentials flag in the request? If you were sending cross-origin credentials, you would need Access-Control-Allow-Credentials: true. I can't think of any other reason for CORS to fail. If you can send me the real manifest URL privately, I could help you debug. Otherwise, I'm stumped. |
Joey, Can you please send me your email id? Regards, On Mon, Dec 14, 2015 at 9:47 PM, Joey Parrish notifications@github.com
Randeep [image: --] |
Here's what I'm getting:
The 404 is the key. There is no CORS problem, it just appears so since your 404 responses don't have the CORS headers on them. It appears that clock sync is the root of the problem. We don't support the UTCTiming element you're using in your manifest, but instead use the Date header from the manifest request. Your server's Date is ahead of my workstation's date by 104 seconds, and ahead of the UTCTiming element by 127 seconds. So the player is requesting segments that are not yet available, which results in a 404 error. |
Hi,
I am getting this when I play dash encrypted live streams. Video stutters a lot. Any idea?
Playhead is outside of the seekable range: seekable [71.39000010490417, 71.39000010490417] attempted 71.243267 Adjusting...
Playhead is outside of the seekable range: seekable [72.39000010490417, 72.39000010490417] attempted 72.22295 Adjusting...
Playhead is outside of the seekable range: seekable [73.39000010490417, 73.39000010490417] attempted 73.243267 Adjusting...
Playhead has been moved outside of the seekable range: seekable [73.41100001335144, 73.41100001335144] attempted 73.39 Adjusting...
Playhead is outside of the seekable range: seekable [74.39000010490417, 74.39000010490417] attempted 74.223633 Adjusting...
Playhead is outside of the seekable range: seekable [75.39000010490417, 75.39000010490417] attempted 75.263584 Adjusting...
Playhead is outside of the seekable range: seekable [76.39100003242493, 76.39100003242493] attempted 76.202633 Adjusting...
Playhead is outside of the seekable range: seekable [77.39000010490417, 77.39000010490417] attempted 77.244267 Adjusting...
Playhead is outside of the seekable range: seekable [78.39000010490417, 78.39000010490417] attempted 78.202633 Adjusting...
Playhead is outside of the seekable range: seekable [79.39000010490417, 79.39000010490417] attempted 79.263584 Adjusting...
Playhead is outside of the seekable range: seekable [80.39000010490417, 80.39000010490417] attempted 80.22295 Adjusting...
Playhead is outside of the seekable range: seekable [81.39000010490417, 81.39000010490417] attempted 81.243267 Adjusting...
Playhead has been moved outside of the seekable range: seekable [81.42799997329712, 81.42799997329712] attempted 81.39 Adjusting...
Playhead is outside of the seekable range: seekable [82.39000010490417, 82.39000010490417] attempted 82.179681 Adjusting...
Playhead is outside of the seekable range: seekable [83.39000010490417, 83.39000010490417] attempted 83.243267 Adjusting...
Playhead is outside of the seekable range: seekable [84.39000010490417, 84.39000010490417] attempted 84.22295 Adjusting...
Playhead is outside of the seekable range: seekable [85.39000010490417, 85.39000010490417] attempted 85.263584 Adjusting...
Playhead is outside of the seekable range: seekable [86.39000010490417, 86.39000010490417] attempted 86.182316 Adjusting...
Regards,
Randeep
The text was updated successfully, but these errors were encountered: