apache / apache/cordova-plugin-media
Xiaomi phone buffers for a minute before playback starts
- Dominant language
- JavaScript
- Stars
- 391
- Forks
- 762
- PR merge metrics
- No merged PRs in 30d
Description
# Bug Report
## Problem
We have testet our app on three devices. One is a Samsung Galaxy S8, one is a Xiaomi Mi Mix 2S, and the last one is a Xiaomi Mi 6. The first two start playback after buffering for 5 seconds on a networks stream, but the Mi 6 buffers for a minute or more before playback starts. It seems to start downloading almost immediately, like the other devices.
### What is expected to happen?
Buffering for a few seconds should be enough for a 128kbps stream.
### What does actually happen?
Playback should start at roughly the same time on all devices.
### Version information
We're using Ionic 4, cordova-plugin-media version 5.0.2.
## 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 playback with Ionic 4 and cordova-plugin-media 5.0.2 on the Xiaomi Mi 6, then compare its startup buffering with the Samsung Galaxy S8 and Xiaomi Mi Mix 2S. Done means the Mi 6 begins playing a 128kbps network stream after roughly the same few-second buffer as the other devices.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100