-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Support timezones in ISO8601 timestamps obtained from DASH UTCTiming elements #3524
Comments
Please provide an example of a standard compliant DASH manifest containing a date in a format that our parser doesn't handle. Thanks. |
In .mpd file is which contains URL to |
The format looks like:
In this specific case the timezone looks like it's set to 0 currently, which is the same as Z, which is therefore trivial to handle. It's unclear whether your server will ever return a non-zero timezone, however. In the general case we need to handle timezones as specified here. If you need this functionality, perhaps you could send a pull request to our |
Note that if you know the timezone is always going to be 0, then you could add partial support sufficient for your use case simply by checking whether firstLine ends with "+00:00", "+0000" or "+00", and replacing with "Z" if so before parsing. |
Pull request ready.... #3545 |
Request merged, thanks! Leaving this open. We have a change that adds more comprehensive timezone support that we'll merge fairly soon, at which point this can be closed. |
You're welcome :) |
Issue: #3524 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=177808106
Issue: #3524 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=177808106
DashMediaSource class supports only "yyyy-MM-dd'T'HH:mm:ss'Z'" date format. Only one way how to change it is implement own custom DashMediaSource class. 806 lines of implementation for 1 line change. What about enable custom date format?
The text was updated successfully, but these errors were encountered: