player.configure({ drm: { servers: { //'com.widevine.alpha': 'xxx', 'com.widevine.alpha': 'xxxx', 'com.microsoft.playready': 'xxx' } /** , advanced: { 'com.widevine.alpha': { 'videoRobustness': 'SW_SECURE_CRYPTO', 'audioRobustness': 'SW_SECURE_CRYPTO' } } **/ }, manifest: { dash: { clockSyncUri: mpdUrl } }, streaming: { //bufferingGoal: 60, //rebufferingGoal: 30
}
});
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-player-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/1fb4bb2a-774b-41b7-9bf7-a2fa9fcf86ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Ferdinand,If the manifest is cacheable, then that is not a good URI to use for clock sync. The clock sync URI can be any reliable, non-cacheable URI you control.Implementing UTCTiming could also be a solution, but it is worth noting that setting a clock sync URI through configure is equivalent to this UTCTiming element in the manifest:<UTCTiming schemeIdUri="urn:mpeg:dash:utc:http-head:2014" value="YOUR_CLOCK_SYNC_URI" />This scheme uses an HTTP HEAD request to read the Date header.There are other schemes you could implement through UTCTiming in the manifest, however all of them would be adversely affected by caching. (The "http-iso" and "http-xsdate" schemes will make an HTTP request for the URI stored in the "value" attribute and interpret the body of the response as a date string, so that URI must not be cached. The "direct" scheme includes a date string in the "value" attribute of the element, so the manifest itself must not be cached.)Does this help clarify the situation?-Joey
Just to clarify: what method of client time synchronization can I use when my manifests are cached for 1 second?If I use the "direct" scheme, does player perform time synchronization on every manifest refresh? If so, with cached manifest it could have a glitch...
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-player-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/2d44d742-3d59-4b51-ad18-376f4cee8942%40googlegroups.com.
I checked the source code, and it appears that we do not resynchronize the clock on each manifest update. This makes sense, because the timestamps in the headers are only accurate to the second, and we don't want our understanding of the live edge to wobble.