Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I was able to successfully play your stream on Android using <a href="http://vov.io/vitamio/#more-features">Vitamio</a> library. The biggest advantage of this lib is that it's API-compatible with Android SDK, so you'll just have to change imports in your code.</p> <p>One of <a href="https://play.google.com/store/apps/developer?id=VOV+IO+Android">Vitamino plugins</a> should be present on given device to use the library. Simply open <a href="http://d.vov.io/vitamio/Vitamio-Demo.7z">Vitamio Demo</a> in <code>Eclipse</code> and take a look at how to use it. Prompting user to install <em>Vitamio plugin</em> is included in demo.</p> <p>I was able to play your stream with this code:</p> <pre><code>import io.vov.vitamio.widget.MediaController; import io.vov.vitamio.widget.VideoView; import android.app.Activity; import android.os.Bundle; public class VideoViewDemo extends Activity { private String path = "mmsh://38.96.148.75/SunnahAudio"; private VideoView mVideoView; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.videoview); mVideoView = (VideoView) findViewById(R.id.surface_view); mVideoView.setVideoPath(path); mVideoView.setMediaController(new MediaController(this)); mVideoView.requestFocus(); } } </code></pre> <p>As you can see - similar to using <code>VideoView</code> from Android SDK. Pretty much the only difference are imports.</p> <p>The only difference to be noted is that I was unable to use <em>http</em> link, so I had to use the real streaming URL with <em>mmsh</em> protocol (opened in <em>VLC</em> - similar to what @vasart did).</p> <p>For reference you can take a look at <a href="http://pastebin.com/gTpj6KCN">logs from successful playback</a>.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload