Commit Graph

30 Commits

Author SHA1 Message Date
Joey Parrish 139e722ce2 Use https in all tutorials
This is in preparation for a future in which SSL is required by EME.

Change-Id: I82ef395197e27fa5cc9bcaf1afa25e27b9710935
2015-09-03 14:00:08 -07:00
Timothy Drews 22ac026802 Improve DrmInfo documentation.
* Further clarify DrmInfo documentation and provide basic examples for
  license pre/post processing.
* Update the tutorials to use DrmInfo instead of DrmSchemeInfo.
* Use @exportDoc instead of @expose where applicable.

Issue #137

Change-Id: I9e931623a137004566123073447ccd71d8532e38
2015-08-31 18:22:35 +00:00
Timothy Drews 59723f10c3 Add configure/getConfiguration API to Player.
Also deprecates some existing getters and setters.

Closes #93

Change-Id: I167e6764bb26c1d37c88b7fbee4a4880181f9812
2015-07-13 20:07:13 +00:00
Joey Parrish edf1f981c6 Update dev docs WRT tests
Updates the names for the test-runner HTML files and mentions basic
karma usage.

Change-Id: If51fdf0d0b62c5efd810af3031c407dbd9f81d63
2015-07-06 20:39:23 +00:00
Joey Parrish 70e370c7eb Add Porting and Browser Support tutorial
Also:
 - removes outdated isBrowserSupported() check for Node.children
 - adds mention of polyfill.installAll() to polyfill tutorial

Closes #66

Change-Id: I8a633858d2536ecf6110aac1326f58c17ccc5672
2015-06-30 22:44:17 +00:00
Natalie Harris 7e0dd04bcf Document trick play functionality. Closes #54.
Change-Id: If752a614bc3cd710e42322adc6879c692f63d125
2015-06-24 11:58:16 -07:00
Joey Parrish ce77c47c69 Add a brief error event tutorial
Closes #106.

Change-Id: Ifdacd0f54c81052940ac00fa69c31cca322c415a
2015-06-23 14:27:03 -07:00
Joey Parrish b306a9d7cd Document the fact that autoplay is a non-starter for mobile.
Change-Id: I4ca26c27bef1d59efc0aaa3270150da3ae91ba44
2015-06-19 13:50:10 -07:00
Timothy Drews 22c57e99e4 Rework SegmentIndex functionality.
This patch reworks SegmentIndexes so that any SegmentReference they
contain is guaranteed to be available. This makes SegmentIndexes work
consistently between static content and live content (specifically
content specified using SegmentTemplate with @duration).

* Rework StreamInfo to use a ISegmentIndexSource and a ISegmentInitSource,
  which construct a SegmentIndex and an intiailization segment
  respectively.
* Make ManifestInfo destructible and various async operations in
  StreamVideoSource safer.
* Introduce LiveSegmentIndex, which manages SegmentReference eviction.
* Introduce DynamicLiveSegmentIndex, which manages SegmentReference
  eviction and generation.
* Implement improved segment availability logic for segment eviction.
* Move SegmentIndex construction from MpdProcessor to several
  ISegmentIndexSource implementations.
* Use a SegmentIndex to represent subtitles to simplify Stream creation
  in StreamVideoSource.
* Move manifest update code from StreamVideoSource to ManifestUpdater.
* Move PeriodInfo.duration determination in MpdProcessor to StreamVideoSource.
* Since "forced" manifest updates are no longer required for content
  specified using SegmentTemplate with @duration, simplify manifest update
  code in DashVideoSource.
* Make Stream continue to update even if it runs out of
  SegmentReferences, this simplifies previous resync logic and makes
  DynamicLiveSegmentIndex work seamlessly.
* Refactor SegmentIndex and initialization fetch code in ContentDatabase.
* Download all SegmentIndexes in the background after the initial streams
  have started.

Follow up work is required to remove seek range logic from
DashVideoSource.

Change-Id: I4a908195aba632a911a6e55213fc41d41428162b
2015-06-09 11:46:40 -07:00
Joey Parrish e4a0dc3573 Stop using deprecated methods in tests and tutorials.
Closes #73.

Change-Id: I1b32add49137a20f89654d5bbef37ea7a05d3524
2015-05-22 17:37:39 +00:00
Joey Parrish be9e0dff3e Add offline tutorial to the index, reorder tutorials.
Closes #60.

Change-Id: I29ee5deefd92ce329a2feb74857aad45de3acb0f
2015-05-01 11:35:09 -07:00
Natalie Harris a93a5c66fb Make OfflineVideoSource estimator arg nullable.
Closes #72.

Change-Id: I73728c85ba8e8641a2a953c3ec11bcabc5ff6b2b
2015-04-29 15:41:39 -07:00
Natalie Harris d2bb9cf25f Rest of Offline tutorial. Issue #60
Change-Id: I27108a03891abda5e8d57a70ac5e1739f0719323
2015-04-29 12:53:40 -07:00
Natalie Harris 5a459cac61 Partial tutorial for offline. Issue #60.
Change-Id: If8388520b9dcbe8fb8ff95abe378a4e104f98e05
2015-04-29 17:24:41 +00:00
Joey Parrish 0b003d3819 Document clock sync and CORS issues.
Closes #53.

Change-Id: I5c28336e839d109ca09013011ec4a31823257027
2015-04-27 18:44:53 +00:00
Joey Parrish 50c5e7abc6 Convert innerText to textContent in tutorials.
This was overlooked in the previous innerText purge.

Change-Id: Ib1d9236204a1f6130bf1ae3517b9f41a2ca08926
2015-04-27 11:06:49 -07:00
Joey Parrish a61c544de0 Make polyfill installation easier.
Change-Id: Ia8ccfae3c56d7146c9a2c65f8788bd5e5044579e
2015-04-21 10:54:34 -07:00
Joey Parrish 63f5a3a755 Sort tutorials.
Name all tutorials in one file.

Ensure that they are displayed in the same order as they are named
in the JSON file.

Change-Id: I013bcd987e564ea9f345dd80bd1497b55296713a
2015-04-16 15:13:51 -07:00
Joey Parrish 3d6bce90a2 Add docs for live streaming events.
Issue #21.

Change-Id: Id45875f7b2630320c2bbeba98a97ff5e8ecfb3dd
2015-04-16 13:21:07 -07:00
Joey Parrish 6e79d89bfb Add to the language tutorial.
This adds an example of a multi-lingual MPD, and gives some example
scenarios to better explain automatic language selection.

Change-Id: I120a6d96efa09ddab063ddd5f30bb046a3458faf
2015-04-16 11:51:29 -07:00
Joey Parrish 9ac2fb5f0a Update code samples in Player tutorial.
These were updated earlier in the sample text, but the HTML was not
updated.

Change-Id: I8ef02a46a28c20f6dc0e835a44ceff88cdfd4515
2015-04-16 11:39:31 -07:00
Joey Parrish 03964e4c84 Drop suppressMultipleEvents from DrmSchemeInfo.
This interfered with key rotation, and was not widely used.  Removing
the feature is the more general approach, and the worst that will
happen is that some applications will see more sessions than they
strictly need.

Change-Id: Ide2238433af296e729e4401711672fb17257093e
2015-04-09 19:31:34 +00:00
Joey Parrish 9c0d2db7f6 Persist bandwidth estimators across playbacks.
Also allows application developers to inject new bandwidth estimators
instead of using ours.

Change-Id: Ieef49df05f45dc3ec0f840f9ab12b63824e08884
2015-04-01 13:39:27 -07:00
Joey Parrish c25cf2a259 Add a note about checking out release versions.
Change-Id: I4f26112ce9770d2995ce1758a54a184e0d85f0b3
2015-03-31 10:54:10 -07:00
Joey Parrish e2f31dd268 Add a script to check versions.
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
2015-03-11 16:19:06 -07:00
Joey Parrish f725f0058c Update content restrictions docs.
Change-Id: I103a7b6005420c41fabc9b622efe3b546957f691
2015-03-05 11:41:50 -08:00
Joey Parrish ca3783e22c Add media/ folder to docs.
Change-Id: Ife42e05a790cf747b1d108e39ee7e08f5062c25b
2015-03-05 11:41:50 -08:00
Joey Parrish 08220d77b2 Document building on windows.
Closes #13.

Change-Id: I0c92029ef60c873154a6f09960d5a7a6076cdeff
2015-01-26 15:08:48 -08:00
Joey Parrish d4df6987e7 Shaka Player release v1.1 2015-01-15 15:12:58 -08:00
Joey Parrish b3d035be9f Shaka Player release v1.0 2014-12-19 14:26:19 -08:00