Android and M3U8

Hello. I found a way to play an online ogg video file by URL.

Code:

var url = "http://becunningandfulloftricks.files.wordpress.com/2013/04/hedgehog_in_the_fog.ogg";
    function Start () {
     yield WaitForSeconds(1);
    
     var www = new WWW(url);
     var movieTexture = www.movie;
     while (!movieTexture.isReadyToPlay)
     yield;
     renderer.material.mainTexture = movieTexture;
     audio.clip = movieTexture.audioClip;
     movieTexture.Play();
     audio.Play();
    }
    @script RequireComponent (AudioSource)

I was wondering if is possible to make it play an M3U8 Live Stream…
Please help :slight_smile:

M3U8 is just unicode version of M3U, doing live streaming would require you to do the heavy lifting as there isn’t anything currently in Unity that does it for you, you would need to implement it yourself.