apache / apache/cordova-plugin-media
alternative to file/url
- Dominant language
- JavaScript
- Stars
- 391
- Forks
- 762
- PR merge metrics
- No merged PRs in 30d
Description
# Feature Request
We are using this to stream songs from a server, but would like to cache them as well. It's hard to customise since the Media component directly takes a path or a url. Have you thought if accepting a kind of resourceObject as an interface that can be customised instead of a path as string?
## Motivation Behind Feature
Allows to customise how data is processed, ea. streamed and saved to file at the same time. Additionally allows to customise the outgoing requests with headers.
## Feature Description
## Alternatives or Workarounds
Alternatives so far have been looking into trying to run a local Cordova WebServer to proxy these requests.
Contributor guide
Research direction
Start by locating the Media component entry point and reviewing how it currently accepts a path or URL. Define the resourceObject contract and verify that caching, streaming, and custom request headers are covered without breaking existing inputs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100