Commit Graph

528 Commits

Author SHA1 Message Date
Gregory McGarry 669b7b3829 fix: calculations of channel count for DASH AudioChannelConfiguration elements. (#7421)
Fix tag:dolby.com,2014:dash:audio_channel_configuration:2011 scheme to
correctly handle bits that represent channel pairs according to document
at
[dolby.com](https://ott.dolby.com/OnDelKits/DDP/Dolby_Digital_Plus_Online_Delivery_Kit_v1.5/Documentation/Content_Creation/SDM/help_files/topics/ddp_mpeg_dash_c_mpd_auchlconfig.html)

Add tag:dolby.com,2015:dash:audio_channel_configuration:2015 scheme
according to ETSI TS 103 190-2 v1.2.1, Annex G.3

Test stream is available here:
[manifest.mpd](https://content.media24.link/ac4_512/manifest.mpd)
2024-10-21 09:23:57 +02:00
Iragne 2d14dd5480 fix(DASH): Live to vod transition (#7404)
The PR is solving playback error in a Multi period manifest when the
start time is not 0.
Additionally, solving the error code 3015 due to the clear of the buffer
during the playback.
Fixes https://github.com/shaka-project/shaka-player/issues/7401
2024-10-15 12:49:38 +02:00
Iragne 051a8c5edd fix(DASH): Live DASH allows segment overlap in the updated manifest for first new segments (#7405)
fix(DASH): Live DASH allows segment overlap in the updated manifest for
first new segments to avoid creating GAP with ms inaccurate manifest vs
Segment duration and start time

Fixes https://github.com/shaka-project/shaka-player/issues/7397
2024-10-15 12:49:17 +02:00
Álvaro Velad Galván e2413ed5f2 feat(HLS): Make dummy streams for tags representing muxed audio (#7343)
Close https://github.com/shaka-project/shaka-player/issues/5836
2024-09-20 23:58:56 +02:00
Álvaro Velad Galván 6532a7c605 fix(DASH): Fix HTTP redirect during manifest update (#7339)
Fixes https://github.com/shaka-project/shaka-player/issues/7323
2024-09-18 13:08:44 +02:00
Álvaro Velad Galván f8e3aa4b61 fix(DASH): Clear usedPeriodIds when period is removed from the manifest (#7305)
Issue https://github.com/shaka-project/shaka-player/issues/6239
2024-09-13 15:42:23 +02:00
Álvaro Velad Galván 7ceffc0db7 perf: Only use tXml parent when necessary (#7304)
Issue https://github.com/shaka-project/shaka-player/issues/6239
2024-09-13 13:49:39 +02:00
Álvaro Velad Galván d559366168 perf(DASH): Delete old matchedStreams (#7301)
Issue: https://github.com/shaka-project/shaka-player/issues/6239
2024-09-13 11:48:41 +02:00
Álvaro Velad Galván da71e6d644 fix(DASH): Clear streamMap when period is removed from the manifest (#7297) 2024-09-13 10:37:54 +02:00
Álvaro Velad Galván e7229fbc18 fix(DASH): Allow mixing SegmentTemplate-SegmentTimeline with SegmentTemplate-numbering (#7286)
Fixes https://github.com/shaka-project/shaka-player/issues/7192
2024-09-12 09:45:29 +02:00
Wojciech Tyczyński 0023accf0f fix(DASH): Clone EventStream nodes to reduce memory consumption (#7285)
Fixes #7148
2024-09-11 13:00:05 +02:00
Wojciech Tyczyński c541b1c9b4 fix(DASH): Use presentationTimeOffset in EventStream (#7282)
Fixes #7277
2024-09-11 11:03:33 +02:00
Álvaro Velad Galván 7b07614532 feat: Add manifest.disableIFrames config (#7255) 2024-09-04 16:14:13 +02:00
Álvaro Velad Galván 67859c987c feat(HLS): Add I-Frame playlist support (#7230) 2024-08-30 08:35:24 +02:00
Álvaro Velad Galván cb5aae47c0 feat(DASH): Support trick-mode per resolution (#7224) 2024-08-28 14:59:40 +02:00
Wojciech Tyczyński b2502fd0a0 fix(DASH): Fix MPD Patch when SegmentTemplate is shared between Representations (#7218)
Fixes #7214
2024-08-28 13:29:10 +02:00
Iragne c5df88b495 fix(DASH): Clear streamMap when period is removed from the manifest (#7202)
Related to https://github.com/shaka-project/shaka-player/issues/6239 and
https://github.com/shaka-project/shaka-player/issues/7148
Remove the reference to the stream when is no more needed.

---------

Co-authored-by: Wojciech Tyczyński <tykus160@gmail.com>
2024-08-27 13:27:40 +02:00
Iragne 0f2cea42ee fix(DASH): Patch manifest Adaptationset indexing, @n=<Numbering> and @t=<time> (#7131)
Fixes https://github.com/shaka-project/shaka-player/issues/7128
2024-08-20 15:02:52 +02:00
Álvaro Velad Galván a1d3927640 fix(DASH): Fix allPartialSegments signal when using L3D (#7179) 2024-08-20 11:54:01 +02:00
theodab 5723a2bbe4 feat(preload): Add isPreload to net filter context (#7170)
Fixes #7160

---------

Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>
2024-08-19 23:50:20 -07:00
theodab b4e04b6616 feat: Store bandwidth info inside references. (#6825)
Issue #6725

---------

Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>
2024-07-23 14:32:09 +02:00
Álvaro Velad Galván a5adb39713 feat(DASH): Support Annex I: Flexible Insertion of URL Parameters (#7086)
Resolves https://github.com/shaka-project/shaka-player/issues/6472
2024-07-23 08:49:22 +02:00
Álvaro Velad Galván f9040ce2fb fix: Disable CC with disableText config (#7078) 2024-07-20 16:39:22 +02:00
Álvaro Velad Galván 4728d082d7 fix(DASH): Fix codec/mimeType for single text file (#7075) 2024-07-19 11:44:57 +02:00
Álvaro Velad Galván d1435c7459 fix(DASH): Improve memory usage with live streams (#7039)
Related to https://github.com/shaka-project/shaka-player/issues/6610
2024-07-15 14:46:39 +02:00
Álvaro Velad Galván 3ba94b82ea fix(DASH): Fix transitions from 'dynamic' to 'static' (#7029)
Fixes https://github.com/shaka-project/shaka-player/issues/2581
2024-07-12 16:18:21 +02:00
Álvaro Velad Galván 3cb40bf516 feat(DASH): Add support for urn:mpeg:dash:ssr:2023 with SegmentTemplate $Number$ (#6745) 2024-07-09 09:27:51 +02:00
Álvaro Velad Galván 5849e2579d feat(DASH): Support DVB fonts with relative urls (#6974) 2024-07-03 20:22:48 +02:00
Álvaro Velad Galván 789101cbba feat(DASH): Add DVB Font downloads (#6971) 2024-07-02 20:52:29 +02:00
Álvaro Velad Galván d63df145aa feat(HLS): Add support for EXT-X-START (#6938) 2024-07-02 08:54:17 +02:00
Gary Katsevman 8825af7b71 feat: add an audiotrackchanged event for when label, language, or roles of an audio track change (#6913)
This piggybacks on the media quality observer to also check whether the
audio track changed and the change was in label, language, or role.

Currently, this new event is triggered is `observeQualityChanges` is
set. This could be moved to a separate config.

I do play to add a test or two to the integration tests.

For verifying the role/label, I was testing against this public test
stream
https://demo.unified-streaming.com/k8s/features/stable/video/tears-of-steel/tears-of-steel-desc-aud.ism/.mpd
(though, it does seem to error out every so often). There might be other
test streams. Angel One is a great one for language.


Also, something that we noticed, but won't be part of this PR. The
timing of this event is likely incorrect if the track was switched and
safeMargin was set. We have some changes for this locally that we can
PR, but there are some issues we found around devices for it, so, it
isn't a straightforward change.
2024-06-27 08:10:37 +02:00
Álvaro Velad Galván 0ea31b46e6 feat: Add option to disable continue loading live stream manifest when paused (#6916)
Close https://github.com/shaka-project/shaka-player/issues/3781
2024-06-26 17:17:28 +02:00
Álvaro Velad Galván 3e45e66af2 fix(DASH): Allow play when SegmentTimeline has a duration 0 "S" element (#6896)
Fixes https://github.com/shaka-project/shaka-player/issues/6889
2024-06-25 09:21:00 +02:00
Álvaro Velad Galván e0208148cb feat: Add isLowLatency to shaka.extern.Manifest (#6842) 2024-06-18 18:48:11 +02:00
Wojciech Tyczyński 8a678f374d feat(Stats): Add manifestGapCount to stats (#6804)
Resolves #6789
2024-06-13 09:41:57 +02:00
Wojciech Tyczyński 65b0b8dd21 feat(Stats): Add manifestPeriodCount to stats (#6798)
Resolves #6788
2024-06-12 08:37:01 +02:00
Wojciech Tyczyński 2f3a1ebf94 feat(DASH): add MPD_PATCH advanced request type (#6787)
Add `shaka.net.NetworkingEngine.AdvancedRequestType.MPD_PATCH` to
distinguish regular MPD requests from MPD Patch requests.
2024-06-11 10:56:14 +02:00
Álvaro Velad Galván 9060ab0a34 feat(DASH): Parse and use target latency (#6683)
Related to https://github.com/shaka-project/shaka-player/pull/6193
Thanks to @gkatsev
2024-05-29 09:45:09 +02:00
Álvaro Velad Galván c574be4377 fix(DASH): Fix update of SegmentTemplate with $number$ for LL (#6687) 2024-05-29 09:27:23 +02:00
Dave Nicholas d38aabf04d feat(DASH): Add MPD Patch support (#5247)
Closes https://github.com/shaka-project/shaka-player/issues/2228

---------

Co-authored-by: Wojciech Tyczyński <wojciech.tyczynski@sky.uk>
2024-05-29 08:11:28 +02:00
Álvaro Velad Galván 329d42ad56 feat: Parse colorGamut and use it in MCap (#6663) 2024-05-24 08:59:06 +02:00
Álvaro Velad Galván 82c5149375 feat(DASH): Add MPD Chaining support (#6641)
Close https://github.com/shaka-project/shaka-player/issues/3926
2024-05-21 09:57:16 +02:00
Álvaro Velad Galván e480bf0ed4 feat(DASH): Support Dolby Vision profile 8.x (HEVC) and 10.x (AV1) (#6590)
Close https://github.com/shaka-project/shaka-player/issues/6589
2024-05-13 10:24:01 +02:00
Álvaro Velad Galván 6c47f8be65 fix(DASH): Fix get partial current position for LL when using SegmentTemplate@duration (#6516) 2024-05-01 00:09:17 +02:00
theodab bbefeada6a chore(DASH): Remove support for float durations. (#6513)
We previously supported float duration attributes in DASH
SegmentTemplate, due to an ambiguity in the DASH samples.

The code linked to a DASH IOP issue asking if duration could be a float
or it had to be an int.

That issue has since been closed, with the clarification that duration
attributes must be an unsigned int and the sample was in violation of
the spec.
2024-04-30 10:12:03 +02:00
Álvaro Velad Galván 2fc0c935c4 feat(DASH): Add manifest.dash.enableFastSwitching config (#6500) 2024-04-29 21:22:29 +02:00
Álvaro Velad Galván 27109feafa fix(DASH): Fix unescape UTCTiming uris (#6501) 2024-04-29 11:55:01 -07:00
Cristian Atehortúa 2dd85e4e23 fix(DASH): decrease memory preasure on manifest with SegmentReference by updating old initSegmentReference (#6499)
Helps on #6070
2024-04-29 11:54:14 -07:00
Álvaro Velad Galván 0873d1ecdd fix: Fix deprecation warning for manifestPreprocessor that is always logged (#6496)
Fixes https://github.com/shaka-project/shaka-player/issues/6488
2024-04-29 12:40:31 +02:00
Álvaro Velad Galván c6c39dfafc feat: Add encryptionScheme to shaka.extern.DrmInfo (#6480)
Related to https://github.com/shaka-project/shaka-player/issues/1419
2024-04-26 06:49:15 +02:00