This hack seems to work around a piece of broken content, but disables
audio on some legitimate content.
Change-Id: Ia559391ac4446bda2392feb00e3285834792c026
* Set SourceBuffer.timestampOffset to StreamInfo.timestampOffset
directly.
* Compute StreamInfo.timestampOffset in MpdProcessor.
Change-Id: Iea5621bc29df3de29d378e58720d6f71452274cd
The clock will be synced, when possible, to the server hosting the
MPD. The synced clock will only be used in places where accurate
time matters, such as in loggable player stats and in live streaming.
Relates to #21
Change-Id: Id9da1cf23a781f2ce07a46e0936695d512a65133
Once generateRequest() or load() have been called on a session,
neither can be called on that session again.
Change-Id: Ieedc0cf0fddfcf8df042479e6203a082fbc17c0a
* Implement an update() method on StreamVideoSource that merges
a new manifest into its existing one.
* Re-fetch and re-process MPDs from DashVideoSource to generate new
SegmentReferences.
* Compute last available segment numbers and times in MpdProcessor
when generating SegmentLists.
* Re-work Period computation in MpdProcessor.
* Handle stream EOF differently for live content.
Additional work is required to handle all "styles" of manifests.
Issue #21
Change-Id: I38be9513dc73e4683d1079b4dedb489e8206043d
This resolves a compile-time conflict between changes to EmeManager
(commit a4e9bc3, merge of pull request #36) and OfflineVideoSource
(commit 18a843e), merged together in f204c8d to create a compiler
error:
offline_video_source.js:81: ERROR - actual parameter 1 of EmeManager
does not match formal parameter
found : shaka.player.OfflineVideoSource
required: shaka.player.Player
new shaka.media.EmeManager(this, fakeVideoElement, this);
Change-Id: I6b263ef0e443bb305f96928b0d0c5019056d7014
Fixes the session type strings for persistent sessions.
Adds a comment about the key statuses we deliberately ignore.
Change-Id: I698bc91e46b863cc8cccd0e7509c503d1410d814
This script checks for versioning mistakes and will prevent npm
publication if any of the checks fail.
This also drops the check.sh script, which nobody was using.
Related to #30
Change-Id: Ic8e504515ac31beb7833207aa2ac463d40cfae88
This fixes the clearkey test license for Chrome 42+.
Also drops the test license generator script, which is out-of-date,
never used, and rotting a bit.
Change-Id: I87f9b0780d97a9054672612c02584178007d868f
In the latest unprefixed EME implementation, sessions can be created
and manipulated independently of video tags. This simplifies the EME
manager somewhat, and requires a slightly trickier prefixed EME
polyfill to emulate this behavior on Chrome 40 & 41.
Change-Id: Ia5e942449b27cd57b54c92a8b40c0fb5c95577c0