Skip to content

Commit

Permalink
Update upgrade docs to include track restrictions.
Browse files Browse the repository at this point in the history
Closes #387

Change-Id: I52a20a9a4aeb87c54d592e1ae1968f84ee012107
  • Loading branch information
TheModMaker committed Jun 2, 2016
1 parent 5102f54 commit a949242
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/tutorials/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -466,11 +466,18 @@ level of the configuration hierarchy):
- `segmentRequestTimeout` => `streaming.retryParameters.timeout`
- `preferredLanguage` => split into `preferredAudioLanguage` and
`preferredTextLanguage`
- `restrictions` => (coming soon in v2)
- `restrictions` => (same name, see below)
- `liveStreamEndTimeout` => (not needed in v2)
- `disableCacheBustingEvenThoughItMayAffectBandwidthEstimation` =>
(not needed, always cache-friendly)

The `shaka.player.Restriction` type was replaced by a simple record type. So
instead of constructing an object, simply create an anonymous JavaScript object.
`minPixels`/`maxPixels` were added to limit total pixels. Also `minBandwidth`
and `maxBandwidth` were split into `minAudioBandwidth`, `maxAudioBandwidth`,
`minVideoBandwidth`, and `maxVideoBandwidth`, see
{@link shakaExtern.Restrictions}.

For more information on configuration in v2, see {@tutorial config},
{@tutorial network-and-buffering-config}, and {@tutorial drm-config}.

Expand Down

0 comments on commit a949242

Please sign in to comment.