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

Muzaffar Omer Ahmed commented on CB-12893:
------------------------------------------

I am facing the same issue using cordova-plugin-media v3.0.1, I am trying to 
stream audio in IOS, but it takes much time to start playing. Although the 
status of the stream is updated to Media.MEDIA_RUNNING = 2, but audio starts 
playing after 10-15 seconds.

I did not test it yet in Android. 



> Buffering problem stream remote files
> -------------------------------------
>
>                 Key: CB-12893
>                 URL: https://issues.apache.org/jira/browse/CB-12893
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-media
>         Environment: iOS and Android
>            Reporter: Renzo Manganiello
>              Labels: Android, audio, buffer, iOS, mp3
>
> On iOS devices, when i tried to stream remote MP3 files, the plugin downloads 
> the entire file before can play it.
> When i create the Media and play it (audio = new Media(remoteMP3); 
> audio.play(); ), the audio has a delay of 30 seconds or more (depending the 
> network connection); i tried to reproduce mp3 files of 30m - 50m duration.
> On Android devices it works pretty well, with one exception: once the audio 
> is running, if i seekTo a distant position, i have the following error:
> "MediaHTTPConnection: readAt BIGNUMBER / 32768 => java.net.ProtocolException"
> BIGNUMBER > 32768
> I suppose that error is because the buffer is not full yet, and i try to 
> SeekTo a position that isn't in the buffer.
> I already tried with the following versions of the plugin and i have the same 
> two problems: v2.3.0, v2.4.0, v3.0.0, v3.0.1



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to