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

[av][ncl][go] fix audio and video qa issues #21055

Merged
merged 5 commits into from
Feb 2, 2023
Merged

Conversation

Kudo
Copy link
Contributor

@Kudo Kudo commented Feb 2, 2023

Why

fix audio and video issues from sdk48 android unversioned qa

How

  • [ncl] play position back-and-forth is actually from slider's onSlidingComplete issue. this pr update the vendored slider to the latest version with a fix.
  • [ncl] setVolumeAsync unhandled promise rejection: access sound when it's before starting (undefined).
  • [av] also find a regression for SimpleExoPlayer jsi audio sampler which should access the player from main thread.

Test Plan

  • ci passed
  • android unversioned expo go + ncl audio / video

Checklist

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Feb 2, 2023
@expo-bot
Copy link
Collaborator

expo-bot commented Feb 2, 2023

Hi there! 👋 I'm a bot whose goal is to ensure your contributions meet our guidelines.

I've found some issues in your pull request that should be addressed (click on them for more details) 👇

❌ Error: Changelog entry in wrong CHANGELOG file


Your changelog entries should be noted in package-specific changelogs. Read Updating Changelogs guide and move changelog entries from the global CHANGELOG.md to the following changelogs:


Generated by ExpoBot 🤖 against 1697397

@expo-bot expo-bot added bot: needs changes ExpoBot found things that don't meet our guidelines and removed bot: suggestions ExpoBot has some suggestions labels Feb 2, 2023
@Kudo Kudo marked this pull request as ready for review February 2, 2023 11:24
@Kudo Kudo requested review from lukmccall and removed request for brentvatne, barthap, ide and tsapeta February 2, 2023 11:24
@Kudo Kudo merged commit 3adab92 into main Feb 2, 2023
@Kudo Kudo deleted the @kudo/sdk48/ncl-audio branch February 2, 2023 12:38
jakobo added a commit to jakobo/expo that referenced this pull request Feb 2, 2023
…flipper

* upstream/main: (47 commits)
  [docs] Update Hermes guide to state that Hermes is the new default engine (expo#21047)
  chore: don't mark issues with the "Issue accepted" label as stale (expo#21058)
  Switch default JS engine to Hermes (expo#21001)
  [mail-composer][android] fix composeAsync not resolving after send/ discard (expo#20869)
  Update CHANGELOG.md (expo#21061)
  [core][iOS] Fix expo modules aren't added to global (expo#21037)
  [test-suite] Fix import in the Image example (expo#21043)
  [test-suite] fix video hanging (expo#21057)
  [av][ncl][go] fix audio and video qa issues (expo#21055)
  [tools] Selecting pull requests to label in the publish command (expo#20991)
  [document-picker] fill missing descriptions in `DocumentResult` type (expo#21040)
  [tools] Bump http-cache-semantics from 4.1.0 to 4.1.1 (expo#21049)
  Bump http-cache-semantics from 4.1.0 to 4.1.1 in /docs (expo#21050)
  [apps][yarn-workspace] replace deprecated activateKeepAwake
  update changelogs for react-native 0.71 upgrade (expo#20858)
  Upgrade react native to 0.71.2 (expo#21045)
  [go] update @shopify/react-native-skia to 0.1.172 (expo#21014)
  [stripe] Upgrade stripe to 0.23.1 (expo#20964)
  [expo-firebase-*] Remove libraries (expo#20979)
  [docs] Update expo-secure-store to add info about Export compliance (expo#21021)
  ...
Comment on lines +226 to +232
private void emitSampleBufferEvent(final byte[] bytes, final double currentPositionSeconds) {
final UIManager uiManager = mUiManager.get();
if (uiManager != null) {
uiManager.runOnClientCodeQueueThread(() -> {
sampleBufferCallback(bytes, currentPositionSeconds);
});
}
Copy link
Contributor

Choose a reason for hiding this comment

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

The currentPositionSeconds passed into an async call will no longer be accurate, hopefully this isn't a significant loss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: needs changes ExpoBot found things that don't meet our guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants