apache / apache/cordova-plugin-media
Getting status on file loaded
- Dominant language
- JavaScript
- Stars
- 391
- Forks
- 762
- PR merge metrics
- No merged PRs in 30d
Description
Im building an streaming app with ionic and capacitor and i need some way to detect that the stream url did in fact load
here's an example:
this.media.create(urlLiveBroadcast);
this.media.play()
it doesnt work because the urlLiveBroadcast takes like 5 seconds to load, and there is no status event to handle that
if i create the media within the app initialization it keeps using the network before you tap de "play" button
how should i proceed?
Contributor guide
Research direction
Start by reproducing the delayed-loading behavior around this.media.create(urlLiveBroadcast) and this.media.play() in the Ionic/Capacitor example. Determine what status or load event is needed and how playback should wait until the stream is ready; the issue does not name files or tests for verification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100