[
https://issues.apache.org/jira/browse/CB-12346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
hagai sela updated CB-12346:
----------------------------
Description:
Hi,
I am serving large wav files on my server and I want to stream them to a
cordova app. I am having problems with this on both ios and android.
Android - when setting the http / https url in the media plugin it doesn't send
any range headers so the server returns the full file in a 200 response.
However, the file starts playing pretty quickly.
IOS - it takes very long for the file to start playing (around 30 seconds for a
6 MB file). The plugin does send range headers, but they don't make sense. The
first request is for bytes 0-1. The second request asks for the whole file...
and then it sends some more requests for the end of the files and some chunks
from the middle.
was:
Hi,
I am serving large wav files on my server and I want to stream them to a
cordova app. I am having problems with this on both ios and android.
Android - when setting the http / https url in the media plugin it doesn't send
any range headers so the server returns the full file in a 200 response which
is very slow.
IOS - the plugin does send range headers, but they don't make sense. The first
request is for bytes 0-1. The second request asks for the whole file... a few
megabytes so again I am stuck until the full file downloads.
> range header problems
> ---------------------
>
> Key: CB-12346
> URL: https://issues.apache.org/jira/browse/CB-12346
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Media
> Affects Versions: 6.4.0
> Environment: android, ios
> Reporter: hagai sela
>
> Hi,
> I am serving large wav files on my server and I want to stream them to a
> cordova app. I am having problems with this on both ios and android.
> Android - when setting the http / https url in the media plugin it doesn't
> send any range headers so the server returns the full file in a 200 response.
> However, the file starts playing pretty quickly.
> IOS - it takes very long for the file to start playing (around 30 seconds for
> a 6 MB file). The plugin does send range headers, but they don't make sense.
> The first request is for bytes 0-1. The second request asks for the whole
> file... and then it sends some more requests for the end of the files and
> some chunks from the middle.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]