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(FEC-11697): 2 captions are selected in the menu #161

Merged
merged 21 commits into from
Mar 2, 2022
Merged

Conversation

JonathanTGold
Copy link
Contributor

@JonathanTGold JonathanTGold commented Feb 10, 2022

Description of the Changes

see kaltura/playkit-js#633

in addition regardless of the original issue
add error handling on load() method.
issue: the promise will remain 'pending' forever ... in case an manifest loading error
Since the promise resolving returned from the load() rely on Hlsjs.Events.MANIFEST_LOADED event https://github.com/kaltura/playkit-js-hls/blob/master/src/hls-adapter.js#L140 to be resolved which is not fired in case of en error
fix: call promise reject in case of fatal error and still pending promise

solves: FEC-11697 and FEC-11893

related pr:
kaltura/playkit-js-dash#182
kaltura/playkit-js#633

CheckLists

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • test are passing in local environment
  • Travis tests are passing (or test results are not worse than on master branch :))
  • Docs have been updated

package.json Outdated Show resolved Hide resolved
JonathanTGold added a commit to kaltura/playkit-js that referenced this pull request Feb 20, 2022
issue: the create _addTextTrackOffOption method of the player creates duplicated indexes every time duplicated languages are detected (and warning created);
fix: right now the index property of TextTrack is used as a unique identifier but in the other hand we don't mange it as such (the index is created in different places), so , the index management all moved to one place under the TextTrack class

related pr:

kaltura/playkit-js-dash#182
kaltura/playkit-js-hls#161

solves: FEC-11697 & FEC-11893 & FEC-11973
package.json Outdated Show resolved Hide resolved
src/hls-adapter.js Outdated Show resolved Hide resolved
@kaltura kaltura deleted a comment from yairans Feb 21, 2022
src/hls-adapter.js Outdated Show resolved Hide resolved
test fixes
karma timeout settings
src/hls-adapter.js Outdated Show resolved Hide resolved
src/hls-adapter.js Outdated Show resolved Hide resolved
src/hls-adapter.js Outdated Show resolved Hide resolved
src/hls-adapter.js Outdated Show resolved Hide resolved
@JonathanTGold JonathanTGold merged commit b3d21fe into master Mar 2, 2022
@JonathanTGold JonathanTGold deleted the FEC-11697 branch March 2, 2022 12:40
borhandarabi pushed a commit to TasvirChi/playchi-js-dash that referenced this pull request May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants