[ https://issues.apache.org/jira/browse/CB-13452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16478228#comment-16478228 ]
Wojciech Trocki edited comment on CB-13452 at 5/16/18 11:26 PM: ---------------------------------------------------------------- Code that is used under the hood is classic android seekTo. EDIT: Managed to replicate that on API 27: https://github.com/wtrocki/cordova-bug-sandbox/tree/CB-13452 EDIT2: It looks like this is Android behavior for default mode. Played little bit with MediaPlayer on android https://developer.android.com/reference/android/media/MediaPlayer#seekto was (Author: wtrocki): Code that is used under the hood is classic android seekTo. EDIT: Managed to replicate that on API 27: https://github.com/wtrocki/cordova-bug-sandbox/tree/CB-13452 > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org