Commit Graph

3724 Commits

Author SHA1 Message Date
Álvaro Velad Galván 6850f68753 fix(Transmuxer): Fix init segment between discontinuities (#7042) 2024-07-16 08:11:26 +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
Wojciech Tyczyński 6c0c63d38c feat: Render native cues using text displayer (#6985)
Closes #2585 

Ownership of text displayer has changed to player, it is created now in
MSE mode and in src= mode if video element has `textTracks` property.
2024-07-15 12:22:57 +02:00
Álvaro Velad Galván 918d231941 docs: Document useful getters for various events (#7037)
Closes https://github.com/shaka-project/shaka-player/issues/2657
2024-07-15 12:16:34 +02:00
Wojciech Tyczyński 4f9264637d chore: Add native cue to shaka cue mapping (#7038)
Needed for #6985
2024-07-15 10:14:35 +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
Wojciech Tyczyński 0669d2433e fix(PeriodCombiner): Use normalized codec to remove duplicates (#7032) 2024-07-12 16:18:06 +02:00
Álvaro Velad Galván 5cb4224c87 chore: Remove console.log (#7028) 2024-07-12 12:50:13 +02:00
Álvaro Velad Galván 11a2cc5db2 feat(CEA): Support alignment in CEA-608 (#7022)
Closes https://github.com/shaka-project/shaka-player/issues/2940
2024-07-12 08:46:10 +02:00
Álvaro Velad Galván 230f6e0095 fix(CEA): Offset text CEA-608 that are out of viewport (#7024) 2024-07-12 07:19:39 +02:00
Álvaro Velad Galván 516f9f6e97 chore: Move convertToTextTrackCue_ to shaka.text.Utils (#7021)
Also adds a id to all cues.
2024-07-12 07:19:20 +02:00
Álvaro Velad Galván 83955eecfd fix(HLS): A/V sync regression for HLS with different segment sizes (#7015)
Regression of https://github.com/shaka-project/shaka-player/pull/6987

See:
https://github.com/shaka-project/shaka-player/pull/6987#issuecomment-2220013890
2024-07-11 09:08:40 +02:00
Álvaro Velad Galván 64430edb23 fix(HLS): Fix filtering video/audio streams without bandwidth (#7008)
Fixes https://github.com/shaka-project/shaka-player/issues/7007
2024-07-10 09:14:25 +02:00
Álvaro Velad Galván 1f5badf320 fix(HLS): Propagate bandwidth to stream in audio-only and video-only (#7006) 2024-07-10 07:40:14 +02:00
Álvaro Velad Galván 3bd032c9d6 fix(HLS): Fix load AES media playlist (#7012) 2024-07-10 07:13:56 +02:00
theodab dcc60f9ea9 fix: Disable seek retry cooldown on most platforms (#7010)
Previously, we added a 1 second "cooldown" period between attempts to
perform a corrective seek.
This was for the benefit of old v1 Chromecasts, which found the process
of seeking so slow that they would sometimes get stuck in an infinite
loop trying to start a presentation.
However, that cooldown period was causing issues in some situations
during seeking, so this PR removes the restriction on everything but
pre-Android Chromecast devices.

Fixes #4393
Fixes #5202

---------

Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>
2024-07-09 14:32:23 +02:00
Álvaro Velad Galván dc34ec484a fix: Avoid reset iterator when seek into the buffer (#7004)
When using HLS LL and making seek small this produces overlaps
2024-07-09 10:37:58 +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 9fcaf4d19c fix(Prefetch): Use the same references time for evict and prefetchSegmentsByTime (#7003)
Using different time bases can result in duplicate or unnecessary
segments being downloaded in HLS LL
2024-07-08 21:23:38 +02:00
Álvaro Velad Galván fbf1ad0c89 fix: Fix bad warning when use selectAudioLanguage (#6999)
Fixes https://github.com/shaka-project/shaka-player/issues/6665
2024-07-08 21:06:57 +02:00
Álvaro Velad Galván ade19cb260 fix(Ads): Fix mangled properties when using X-ASSET-LIST (#7002) 2024-07-08 21:06:43 +02:00
Álvaro Velad Galván 9e1f4e7b8c feat(Ads): Allow the use of custom interstitials ads (#6991) 2024-07-08 14:22:55 +02:00
Álvaro Velad Galván f4f9b05e63 feat: Parse TS frameRate (#6998) 2024-07-08 14:22:26 +02:00
Álvaro Velad Galván cec616695f fix(HLS): Fix parsing of width and height when using media playlist (#6989) 2024-07-08 12:32:24 +02:00
Álvaro Velad Galván da6c6058f9 fix(HLS): A/V sync regression for HLS live (#6987)
Fixes https://github.com/shaka-project/shaka-player/issues/5528

This PR handles audio compensation when the audio and video are
decompensating.
2024-07-08 10:56:50 +02:00
Álvaro Velad Galván ca7fd6ed6a fix: Offset text regions that are out of viewport (#6986)
Fixes https://github.com/shaka-project/shaka-player/issues/3732 (we
resolve it using offset operation instead of clipping)
2024-07-08 10:43:25 +02:00
Álvaro Velad Galván aaeafa451c feat(HLS): Deprecate useSafariBehaviorForLive config (#6978) 2024-07-08 09:56:48 +02:00
Álvaro Velad Galván a35028c3bc feat: Allow set the videoContainer in the Player constructor (#6953)
Related to
https://github.com/shaka-project/shaka-player/issues/6672#issuecomment-2130166183
2024-07-08 08:59:36 +02:00
Álvaro Velad Galván 4d2aa24b6b fix(Xbox): Fix screen resolution detection (#6988)
See: https://video-dev.slack.com/archives/C01QRAFHLQK/p1720126664717089
2024-07-08 08:30:15 +02:00
Álvaro Velad Galván 247037e537 fix(UI): Show the ad marker in the seek bar when there are some intersections (#6990) 2024-07-08 08:25:37 +02:00
Wojciech Tyczyński eeadace2be feat: Add public method for parsing cue payload (#6992)
Close #4439 
Needed for #6985
2024-07-05 16:21:15 +02:00
Wojciech Tyczyński 24c73dfb83 chore: Move CueRegion to its own file (#6993) 2024-07-05 15:15:04 +02:00
Álvaro Velad Galván b3df270a3e fix(HLS): Add HLS_EMPTY_MEDIA_PLAYLIST error (#6951) 2024-07-04 09:09:21 +02:00
Álvaro Velad Galván c70586cfda fix: Fix iteration of document.fonts (#6976) 2024-07-03 20:44:13 +02:00
Álvaro Velad Galván a5095a80d3 fix(ABR): Not change to another quality without respecting a min time (#6979)
Fixes https://github.com/shaka-project/shaka-player/issues/6315

---------

Co-authored-by: Casey Occhialini <1508707+littlespex@users.noreply.github.com>
2024-07-03 20:43:10 +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 afc3e59c61 feat: Export addFont method (#6975)
Resolves https://github.com/shaka-project/shaka-player/issues/6943
2024-07-03 20:22:30 +02:00
Álvaro Velad Galván ef15d13342 fix: honor autoShowText on non-audio streams (#6977) 2024-07-03 20:22:10 +02:00
Álvaro Velad Galván c6e2c43757 chore(HLS): Change bad warning (#6981)
Regression of https://github.com/shaka-project/shaka-player/pull/6378
(only in debug builds)
2024-07-03 20:21:33 +02:00
Álvaro Velad Galván 3b6229616e feat(TTML): Add support for IMSC1 (CMAF) image subtitle (#6968) 2024-07-02 21:43:54 +02:00
Will Harris 62881f6aad fix: Exclude future segments in notifyTimeRange calculations (#6970)
Resolves https://github.com/shaka-project/shaka-player/issues/6963
2024-07-02 20:52:45 +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 f56f7ba9ca fix(TTML): Fix font styles parsing (#6969)
Exclude default fontFamily (not supported in Chromium browsers)
Allow fontSize with 3 and 4 digits, for example 300% or 1000%
2024-07-02 20:51:50 +02:00
Álvaro Velad Galván e68fd55c44 fix(TTML): Show background color with image subtitles (#6967) 2024-07-02 20:51:19 +02:00
Álvaro Velad Galván d63df145aa feat(HLS): Add support for EXT-X-START (#6938) 2024-07-02 08:54:17 +02:00
Álvaro Velad Galván 52e3864fd0 fix: Fix NaN and empty objects in getNonDefaultConfiguration (#6956) 2024-07-02 08:14:23 +02:00
Álvaro Velad Galván fa9feb346f fix: Filter duplicate cues on text displayer append (#6949) 2024-07-01 20:29:01 +02:00
Álvaro Velad Galván 88431b6f3d fix(SSA): Support files with line breaks that are not necessary (#6947)
Related to https://github.com/shaka-project/shaka-player/issues/6943
2024-07-01 20:28:32 +02:00
Álvaro Velad Galván d719328ffa fix(Stats): Fix completionPercent for Live (#6957) 2024-07-01 20:28:07 +02:00
Álvaro Velad Galván b953a75474 fix: Avoid clear buffer when select the same audio track (#6959) 2024-07-01 20:27:06 +02:00