Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix native hls resume #1040

Merged
merged 3 commits into from
Apr 7, 2020
Merged

Conversation

JustAMan
Copy link
Contributor

@JustAMan JustAMan commented Apr 7, 2020

Changes

Remove the hack that was used to resume HLS from previous position on Safari (actually it was used to resume everything, even direct plays, so Safari should have played 2.5 seconds of the beginning always) and implement a proper event-driven way to seek the stream only when it's really ready to be sought (should usually be faster than 2.5 seconds, but in reality depends on the bandwidth and the server).

Issues

Fixes the broken resume of non-direct play on mobile Chrome and Android app:

This includes mobile Chrome, Android WebView and probably some Apple devices
Also make Safari to resume previous position faster
@JustAMan JustAMan added the stable backport Backport into the next stable release label Apr 7, 2020
@JustAMan JustAMan requested review from thornbill, dkanada and a team April 7, 2020 14:40
@Artiume
Copy link
Contributor

Artiume commented Apr 7, 2020

Addressing the missing UX button of #899 is non-issue. I can make a new ticket to address that specific issue. Having proper resume has been the focus of #899 at this point.

Copy link
Member

@thornbill thornbill left a comment

Choose a reason for hiding this comment

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

Confirmed this fixes the resume issue I was seeing on Android.

@Artiume
Copy link
Contributor

Artiume commented Apr 7, 2020

What else should we look into fixing for an android release?

@dkanada
Copy link
Member

dkanada commented Apr 7, 2020

We just need to add the GitHub and webhook releases to the CI for a new Android release.

Copy link
Contributor

@heyhippari heyhippari left a comment

Choose a reason for hiding this comment

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

Aside from this, it's all good.

src/components/htmlMediaHelper.js Outdated Show resolved Hide resolved
@JustAMan
Copy link
Contributor Author

JustAMan commented Apr 7, 2020

@Artiume

What else should we look into fixing for an android release?

IMHO this jellyfin/JavascriptSubtitlesOctopus#14 plus new Octopus release plus bumped Octopus release in jf-web so Android gets client-side rendering of SSA back.

@JustAMan JustAMan requested a review from heyhippari April 7, 2020 20:35
@JustAMan JustAMan merged commit 2223a16 into jellyfin:master Apr 7, 2020
@JustAMan JustAMan deleted the fix-native-hls-resume branch April 7, 2020 21:48
@joshuaboniface joshuaboniface removed the stable backport Backport into the next stable release label Apr 12, 2020
joshuaboniface pushed a commit that referenced this pull request Apr 12, 2020
Fix native hls resume

(cherry picked from commit 2223a16)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
7 participants