Skip to content

fix: Use infiniteLiveStreamDuration equal to true in Safari 17 or above#7901

Merged
avelad merged 2 commits intoshaka-project:mainfrom
avelad:infiniteLiveStreamDuration-safari
Jan 17, 2025
Merged

fix: Use infiniteLiveStreamDuration equal to true in Safari 17 or above#7901
avelad merged 2 commits intoshaka-project:mainfrom
avelad:infiniteLiveStreamDuration-safari

Conversation

@avelad
Copy link
Member

@avelad avelad commented Jan 17, 2025

Fixes #7899

@avelad avelad added type: bug Something isn't working correctly priority: P2 Smaller impact or easy workaround browser: Safari Issues affecting Safari or WebKit derivatives labels Jan 17, 2025
@avelad avelad added this to the v4.13 milestone Jan 17, 2025
@avelad avelad requested a review from theodab January 17, 2025 09:23
@shaka-bot
Copy link
Collaborator

Incremental code coverage: 75.00%

@avelad avelad merged commit 5005fac into shaka-project:main Jan 17, 2025
18 checks passed
@avelad avelad deleted the infiniteLiveStreamDuration-safari branch January 17, 2025 10:08

const safariVersion = shaka.util.Platform.safariVersion();
if (safariVersion && safariVersion >= 17) {
streaming.infiniteLiveStreamDuration = true;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For whatever reason, setting infiniteLiveStreamDuration to true seems to prevent goToLive from moving more than a few seconds at a time both on iOS and on my Mac, so not iOS-specific.

The seekRange().end that it tries to jump to appears to be the correct value. I can create a new issue for this if it's helpful.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes please!

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! For reference:
#7903

joeyparrish pushed a commit that referenced this pull request Feb 22, 2025
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Mar 18, 2025
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Mar 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

browser: Safari Issues affecting Safari or WebKit derivatives priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS 17 and 18 show long negative number in fullscreen

4 participants