apache / apache/cordova-plugin-media

alternative to file/url

Open
#218 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.