Commit Graph

65 Commits

Author SHA1 Message Date
Alex Jones 64557ff82c Add support for nested TTML captions with an offset (#2602)
Closes #2601
2020-06-03 11:49:15 -07:00
kumarashu123 6a04bde61f Fix TTML position parsing (#2493)
The TTML parser would accept 100%, but not 100.0%.

This makes the parser more flexible, so even 100.00000% is valid.

Fixes #2477
2020-04-13 09:43:12 -07:00
Peter Nycander 9b08525efe Tizen2.4 bugfixes (#2449)
`'webkitneedkey'` events are fired with the same `event.initData` for the video and audio tracks, and a new session is needed for each.

Closes #813 (duplicate sessions required on Tizen)
Closes #2447 (polyfills broken on Tizen)
Closes #2448 (PlayReady broken on Tizen)
2020-03-13 10:24:41 -07:00
Tanya Gelahova d6de4e710d Add support of fontSize in percentages and cell resolution unit for TTML captions (#2442)
Closes #2403
2020-03-06 08:53:24 -08:00
Tomohiro Matsuzawa (Tomo) 83e36006bb Fix the bug that UTCTiming is ignored even when autoCorrectDrift is off (#2412)
Closes #2411
2020-02-26 14:48:12 -08:00
LanaIV 3dab79e49c Fix error 4012 RESTRICTIONS_CANNOT_BE_MET for Video Futur platform (#2368)
For Video Futur platform, like for Tizen, key IDs should not be
transformed to big-endian UUIDs, it causes `4012
RESTRICTIONS_CANNOT_BE_MET` error.

Issue #2189
2020-02-05 08:18:13 -08:00
Satheesh Velmurugan 22a0d3e85c Include event ID in findSimilarRegion_() check (#2175)
Include event ID in findSimilarRegion_() check so that events with same
presentationTime and duration but different ID are treated as separate events.

Closes #2077
2019-10-09 09:32:59 -07:00
Matthias c9bc10d399 Fix seek bar on iOS (#2036)
Use touch events to sync the range element's value when the bar is touched.

This means you no longer have to touch the tiny ball on the seek bar on iOS.

Fixes #1918
2019-07-16 12:41:33 -07:00
Vincent Valot c670b55d72 enhance ttml rendering (#1962) 2019-07-12 16:25:59 -07:00
Adrián Gómez Llorente d93fb394e3 Trim base64 subtitles (#2030)
This trims the textContent containing the base64 code of the subtitles, to avoid trying to decode newlines and other whitespace as part of the base64-encoded data.

Fixes #2028
2019-07-12 14:00:10 -07:00
mohrash92 b02dedf90b Fix a typo in the docs (#1973) 2019-06-01 18:01:14 -07:00
bcupac b8f032a05e Use standard base64 encoding in FairPlay license request (#1932)
Closes #1915
2019-05-09 09:55:38 -07:00
Álvaro Velad Galván bbbce06593 Fix stalls on WebOS (#1820)
Disable the StallDetector on WebOS, where we often mistake slowness for stalling.

Fix for #1704
2019-02-26 14:41:33 -08:00
Miloš Rašić 5db06a6ffc Add support for HLS tags with both value and attributes (#1810)
Add support for HLS tags with both value and attributes

Also fixes hls.Tag.toString() to stringify numeric attributes properly.
2019-02-19 17:13:22 -08:00
Tomáš Tichý e3739c9495 Add safeSeekOffset to StreamingConfiguration (#1726)
Closes #1723
2018-12-14 11:01:50 -08:00
Gi Gi 29e15b74a5 Bugfix/offline tutorial sample (#1609)
* Fix tracks sorting in Offline tutorial sample code

Sort bandwidths numerically.

Fixes #1608
2018-10-08 10:39:57 -07:00
fadomire 99ebc693f2 Add config field to ignore manifest minBufferTime #1547 (#1581)
Add the config field manifest.dash.ignoreMinBufferTime, which will default to false. If true, the DASH parser will ignore minBufferTime in the manifest, such that streaming.rebufferingGoal is the only factor in play.

Closes #1547
2018-09-21 12:51:33 -07:00
wasp898 fed7166a41 Add safe margin parameter to avoid rebuffering interruptions when clearing the buffer (#1154)
A new optional parameter called safeMargin is introduced to avoid clearing the buffer entirely. The value of such offset should be computed in a custom ABR manager and provided to the player and the streaming engine. Since the buffer could be busy when clearBuffer is called, another parameter had to be introduced to save the value of the safe margin when the call to clear the buffer is deferred to a later update.
2018-08-09 10:50:16 -07:00
Patrick Cruikshank e312c3a40b Add new request type TIMING for clock sync requests (#1489)
Fixes #1488
2018-07-16 09:38:52 -07:00
Morten Vestergaard Hansen 68f9c76632 Added check for window (#1446)
If nodejs, use global as scope, else use window.

Closes #1445
2018-05-25 08:59:39 -07:00
Sander Saares 1229f8490c Added Axinom Live test video (#1409) 2018-04-13 09:37:05 -07:00
Patrick Kunka 8743bcfcea Explicitly bind to window for ES5 strict mode compatibility (#1398) 2018-04-09 11:01:59 -07:00
Niklas Korz 7c18e08a42 Rename Timeline events to include the "Event" suffix (#1267)
Right now, the timeline related events are the only events defined without an "Event"-suffix in the name. Their naming should follow the naming used throughout the rest of the project.
2018-02-01 08:04:00 -08:00
Benjamin Wallberg cf3e1e3337 Change so that default presentation delay for DASH is configurable (#1235)
It is useful to have the default presentation delay configurable when the stream provider isn't able to add `suggestedPresentationDelay` in the manifest

Fixes #1234
2018-01-22 09:31:22 -08:00
Semih c69ac3202f DRM content is now implied by DRM config (#1217)
In some cases with dynamic, multi-period DASH manifests and insertion
of clear ad periods, it is not known from the manifest if the content
will be encrypted.  From now on, if an application configures license
servers, DRM content will be implied and MediaKeys will be set up,
regardless of what is in the manifest.

Closes #1094
2018-01-17 13:47:37 -08:00
Tim Plummer 775d755259 Remove deprecated @expose annotations.
Added externs for error.js and removed the @expose declarations from the
actual error.js file. Updated the jscompiler flags and docs.

Change-Id: I2aa95ef1c82fc7bd349c637cca3141d5a003b646
2017-09-26 13:51:36 -07:00
bhh1988 d12c760c6a Add contributor (#978)
Adding contributor entry for GitHub user bhh1988.
2017-08-18 09:36:23 -07:00
Leandro Moreira a9bb742a1f Add contributor (#977) 2017-08-17 11:22:08 -07:00
Joey Parrish 990508c9ff Add missing Googlers to the CONTRIBUTORS file
Change-Id: Ia0a9a771fc86b1cfe189a1f1eea42865d69739bc
2017-08-17 09:53:47 -07:00
BucherTomas 4baf87e021 Update Playready test LAURL (#953)
Replacing of deprecated Playready test license server in Shaka Demo App.

closes #945
2017-07-27 15:20:16 -07:00
Matias Russitto ace0e8cf49 add video and audio stream IDs for getStats().switchHistory (#846)
Closes #785, #823
2017-06-05 10:29:55 -07:00
Chris Fillmore 4352c0bbc7 Check if PlayReady license message is wrapped (#815)
Closes #814
2017-05-18 08:37:45 -07:00
TheJohnBowers 78059eb5cc Add VDMS streams in demo app (#781)
Closes #780
2017-05-09 13:40:40 -07:00
Torbjörn Einarsson 547a88c1b5 Improvement of segment timeline $Time$ accuracy (#706)
Fix incorrect timeReplacement when large timescale

The current code essentially does this

    timeReplacement =
	(startTime / timescale + presentationTimeOffset) * timescale

When timescale is large enough (e.g. 10 MHz in order to support MS
Smooth Streaming as well), "startTime / timescale * timescale" may not
always be exactly "startTime" because of floating point precision,
which could produce incorrect segment URLs.

Keep startTime and presentationTimeOffset unchanged in the timeline
just to avoid the multiply/divide dance.

Closes #690
2017-02-22 13:46:22 -08:00
Torbjörn Einarsson a640f53d31 Fix parsing of white-space-only div in TTML (#650)
A div element with no timing and only whitespace should be considered empty.

Closes #646
2017-01-10 09:50:48 -08:00
Jozef Chutka be0d4b56cb Add support for Toshiba dTV (#605)
Toshiba has EME v0.1b, but without the webkit prefix.  This generalizes
the WebKit MediaKeys polyfill to work with or without a prefix.
2016-12-14 09:53:29 -08:00
Ross-cz 3b7328b530 Fix playback when IE11 modifies the XML DOM (#611)
When there is a hypen contained inside manifest Location/BaseUri element and the application uses MutationObserver, IE11 can change the XML DOM of the manifest and break playback.

This changes the way the document is parsed so that it is resilient to these unintended changes.

Related IE bug: https://connect.microsoft.com/IE/feedback/details/1398926/ie11-does-not-parse-cdata-containing-hyphens-correctly

Closes #608
2016-11-29 13:39:15 -08:00
Lucas Gabriel Sánchez 403a141f2c Use data URI content-type for manifest type detection (#550)
* Fix when using Data URIs for the manifest
* update test/net/data_uri_plugin_unit.js to test Data URIs content-type header response
2016-10-19 09:50:07 -07:00
Toshihiro Suzuki d4cb98186c Small Refinements on Documentation (#536)
* Add tutorial tag to shakaExtern.RetryParameters

Properties like `backoffFactor` or `fuzzFactor` is a little difficult to
understand for new users.  Link to the tutorial to explain.

* Additional Description to Sample Code

Explains why request.uris is an array.
2016-09-29 07:39:41 -07:00
Jonas Birmé d05b7d5d0c Some DRM providers require default KID in wrapped license requests (#529)
Makes key IDs from the manifest available to the app through DrmInfo.  From there, they can be used in license request filters.
2016-09-26 12:49:08 -07:00
esteban-dosztal fed84298ad Fix vtt with one digit hour (#522) 2016-09-15 14:46:07 -07:00
Andy Hochhaus c8fcd7e6e9 Add goog.require for shaka.util.StringUtils 2016-06-22 11:07:16 -07:00
Joey Parrish c4f1262cfc Sync AUTHORS and CONTRIBUTORS with v1.6.x branch
Change-Id: I2976f2f26ab1b6bdc16b57b042500b8f9b161b7e
2016-04-08 23:58:04 +00:00
Joey Parrish bda33cc9b6 Demo app v2
Still missing custom controls for live, but otherwise functional.

UI design and CSS based on work by Sam Dutton.

Change-Id: I0ee41254fb3b145822b018dff87aa583d6bef179
2016-03-30 00:36:32 +00:00
Costel Madalin Grecu f8b279ca45 Updated the AUTHORS and CONTRIBUTORS files 2016-03-18 09:20:04 +02:00
Joey Parrish c3c5b68bf9 Sync AUTHORS/CONTRIBUTORS with master
Change-Id: Ifa7e14a2233cba83820fec8e6f75920efae140aa
2016-03-11 20:04:06 +00:00
Johan Sundström e915a893be Always build the same input files to a stable output.
(Leaning just on traversal order, two different checkouts may produce different
file list orders for different people building, on some OS:es / file systems.)
2016-03-03 18:24:43 -08:00
Joey Parrish c11c3405b1 Add Chad to CONTRIBUTORS
Change-Id: Id74c835a55f9369ddfd392c9a15cd01917dcff1b
2016-02-19 14:30:40 -08:00
Joey Parrish 0d42ab1a9e Sort AUTHORS and CONTRIBUTORS and sync with master
Change-Id: Ia8b0b785a4ca3682537457123634d25f2542c4dc
2016-01-08 14:32:11 -08:00
Donato Borrello 13e21f805d Fix typo, rename registerPlugin to registerScheme
This is a simple change to an out of date comment
2016-01-08 14:22:15 -08:00