-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
HLS direct play #4761
HLS direct play #4761
Conversation
85b0393
to
e2e31e7
Compare
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
e2e31e7
to
d75df4a
Compare
d75df4a
to
251a601
Compare
* @returns _true_ if the media source is an HLS stream, _false_ otherwise. | ||
*/ | ||
export function isHls(mediaSource: MediaSourceInfo|null|undefined): boolean { | ||
return (mediaSource?.TranscodingSubProtocol || mediaSource?.Container) === 'hls'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, jellyfin/jellyfin#10153 will change the type of TranscodingSubProtocol
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it will be fine as long as hls
matches the enum value.
251a601
to
1684acd
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Changes
Issues
Fixes #4479
It works on 10.8 too.