apache / apache/cordova-plugin-media
Audio stream starts delay
- Dominant language
- JavaScript
- Stars
- 391
- Forks
- 762
- PR merge metrics
- No merged PRs in 30d
Description
# Bug Report
audio starts delay, its taking around 20 to 35 seconds to starts streaming audio.
## Problem
audio starts delay, its taking around 20 to 35 seconds to starts streaming audio.
### What is expected to happen?
Audio should start within 2-3 seconds
### What does actually happen?
Audio starts after 20-30 seconds.
## Information
Streaming audio starts delay, its taking around 20 to 35 seconds to starts after calling play method.
### Environment, Platform, Device
Android
Capacitor
### Version information
"@capacitor/android": "4.0.1",
"@capacitor/app": "^4.0.1",
"@capacitor/app-launcher": "4.0.1",
"@capacitor/core": "4.0.1",
"@ionic/angular": "^6.3.0",
"@ionic/core": "^6.3.0",
"@awesome-cordova-plugins/core": "5.45.0",
## Checklist
- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above
Contributor guide
Research direction
Start by reproducing the delay on Android with the reported Capacitor and Ionic versions, focusing on the path reached after calling the audio play method. The issue does not name a file or test, so trace the Android media-start path and compare observed startup time with the expected 2–3 seconds. Done means audio begins promptly and the regression is covered by an appropriate test or reproduction check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript
- Domain
- audio-video-rtc, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100