You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "hagai sela (JIRA)" <ji...@apache.org> on 2017/01/12 10:05:26 UTC

[jira] [Issue Comment Deleted] (CB-12346) range header problems

     [ https://issues.apache.org/jira/browse/CB-12346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

hagai sela updated CB-12346:
----------------------------
    Comment: was deleted

(was: solved it for iphone... for some reason, when you call play on avPlayer it waits for the full file to be downloaded. I changed the plugin code to call playImmediatelyAtRate and it starts playing right away.)

> 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. 
> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org