dominickm / jupiter_broadcasting_mobile_community

The Jupiter Broadcasting community project.
Other
100 stars 17 forks source link

The Player and Phone Gap Network Latency #14

Closed ghost closed 11 years ago

ghost commented 11 years ago

As stated on coder radio and in my little video I posted to dominickm, phone gap appears to be slow at loading the shows. So I am working on an HTML5 media player. The network latency issue, that is the time it takes to get anything from the network, is slow.

So we should discuss the different solutions to this problem.

ghost commented 11 years ago

So this issue I more a problem on the Android platform than the iPhone. I was looking into alternatives to the phone gap API such as web sockets, comet, and ajax.

Web Socket seems to be the best option so far - http://www.websocket.org/index.html - as it is part of the HTML5 standard, it can traverse through proxy/firewalls, and it uses smaller amounts of data to communicate.

Any thoughts?

ograycode commented 11 years ago

Is there any reason why we can't leverage JPlayer? http://jplayer.org/ I'm a big fan of leveraging external libraries, unless there is a compelling reason not to.