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

Renzo Manganiello updated CB-12893:
-----------------------------------
    Description: 
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

  was:
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


> 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.3.15#6346)

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

Reply via email to