Bill Jamie created CB-13452:
-------------------------------
Summary: 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
Fix For: Master
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
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]