[Bug]: Volume of background app is lowered when I launch my Capacitor app

オープン
#7,976 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
ios
領域
mobile

調査の方向性

リンクされた再現プロジェクトから始め、Capacitorアプリを起動する前にSpotifyの音声を再生して、iOSで問題を再現します。起動前後のバックグラウンド音声レベルを比較し、報告されたaudio duckingに関連するiOSの音声動作を追跡します。完了の条件は、アプリを起動しても、変更されていないシステム音声出力が低下しなくなることです。

索引モデルが issue の本文から書いたものです。

説明

triage
Capacitor Version

💊 Capacitor Doctor 💊

Latest Dependencies:

@capacitor/cli: 7.2.0
@capacitor/core: 7.2.0
@capacitor/android: 7.2.0
@capacitor/ios: 7.2.0

Installed Dependencies:

@capacitor/cli: 7.1.0
@capacitor/core: 7.1.0
@capacitor/android: 7.1.0
@capacitor/ios: 7.1.0

[success] iOS looking great! 👌
[success] Android looking great! 👌

Other API Details
npm version: 10.8.1
node version: v20.16.0
pod version: 1.14.3
Platforms Affected
  • iOS
  • Android
  • Web
Current Behavior

If I have spotify playing music, then I launch my Capacitor app on iOS, the audio of the background app (music from spotify) is lowered. The system volume level seems to be unchanged, but the audio is noticably lower.

Expected Behavior

The audio volume output should be unchanged when I launch the Capacitor app.

Project Reproduction

https://github.com/FabianTauriello/capacitor-audio

Additional Information
  • I'm using @vimeo/player to embed vimeo videos thoughout the app, but I noticed that when I uninstalled this package, the issue was still there.
  • I have this seen this audio lowering called "audio ducking" in some places.
主要言語
TypeScript
スター
17.1k
フォーク
1.3k
平均マージ
1日 22時間
マージ済み PR(30日)
26

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ionic-team/capacitor のほかの issue

ionic-team/capacitor の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。