You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Wojciech Trocki (JIRA)" <ji...@apache.org> on 2018/05/16 23:05:00 UTC

[jira] [Commented] (CB-13452) Cordova Media does not send Range header

    [ https://issues.apache.org/jira/browse/CB-13452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16478228#comment-16478228 ] 

Wojciech Trocki commented on CB-13452:
--------------------------------------

Code that is used under the hood is classic android seekTo. I think operating system version will be crucial to resolve this issue. Can you provide operating system version?

> Cordova Media does not send Range header
> ----------------------------------------
>
>                 Key: CB-13452
>                 URL: https://issues.apache.org/jira/browse/CB-13452
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-media
>    Affects Versions: Master
>         Environment: Android Galaxy Tab E running Android 6.0.1
>            Reporter: Bill Jamie
>            Priority: Major
>              Labels: easyfix, patch
>             Fix For: Master
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I am trying to stream back an audio file from my server. I am using cordova-media plugin to play the audio, and have it set such that I can set the range header can be set and the server return that range of the audio file. It works perfectly when I test it in the ripple emulator, but does not work on my actual android device. I am using media.seekTo to change the range, and every time I do that the audio file will pause for a second (like it is waiting for the stream to come down) and go to that timestamp, but then I can not go to any timestamp before that. It will just keep playing from the future time stamp, like it is being streamed down and it cannot stop it. When I check on the server, the app is indeed not sending the range header, but only from the android device. It sets it in the ripple emulator.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org