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/mta ll hls bugs #759

Merged
merged 4 commits into from
Aug 29, 2023
Merged

Conversation

cjpillsbury
Copy link
Contributor

@cjpillsbury cjpillsbury commented Aug 29, 2023

This resolves an issue where hangs were occurring with initialization of MTA on LL-HLS streams. Also added:

  • some quick fixes for presumptuous existence
  • patch version bumps for hls.js and mux-embed
  • refactor the monorepo/workspace-level dev dependencies on ☝️ to only target major versions for easier maintainability

Validating:

…here is more than one (for now). Less presumptuous videoRenditions existence.
@cjpillsbury cjpillsbury requested a review from a team as a code owner August 29, 2023 18:34
@vercel
Copy link

vercel bot commented Aug 29, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
elements-demo-create-react-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 7:32pm
elements-demo-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 7:32pm
elements-demo-svelte-kit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 7:32pm
elements-demo-vanilla ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 7:32pm
elements-demo-vue ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 7:32pm

@codecov
Copy link

codecov bot commented Aug 29, 2023

Codecov Report

Merging #759 (3b92491) into main (57c2fdc) will increase coverage by 0.12%.
The diff coverage is 40.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #759      +/-   ##
==========================================
+ Coverage   82.00%   82.12%   +0.12%     
==========================================
  Files          40       40              
  Lines        7845     7848       +3     
  Branches      458      458              
==========================================
+ Hits         6433     6445      +12     
+ Misses       1406     1397       -9     
  Partials        6        6              
Files Changed Coverage Δ
packages/playback-core/src/media-tracks.ts 14.06% <25.00%> (+8.46%) ⬆️
packages/mux-video/src/index.ts 68.05% <100.00%> (ø)

... and 1 file with indirect coverage changes

…sier maintainability. version bump mux-embed.
Copy link
Contributor

@heff heff left a comment

Choose a reason for hiding this comment

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

lgtm

@cjpillsbury cjpillsbury merged commit f82e623 into muxinc:main Aug 29, 2023
12 of 13 checks passed
luwes added a commit that referenced this pull request Sep 22, 2023
reverts a bug fix in #759

it was a good patch but it prevented the audio tracks API to be
populated if there was just 1 audio track.
it's still expected that with 1 audio track, the API returns an item for
video.audioTracks[0].

this change adds that back in.

the root issue in hls.js I believe was that we were trying to select an
audio track with a string ID and hls.js works with numeric ID's.
this change also adds a check if hls.js audioTracks has the ID to which
the player tries to switch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants