Live Streaming

We still can not get live streaming working.
Can someone show me some code and a file that works. Thanks

we tried these files:

Thanks

“campbellwang” wrote:
We still can not get live streaming working.
Can someone show me some code and a file that works. Thanks

we tried these files:

http://akamedia2.lsops.net/live/smil:ru … ylist.m3u8

http://akamedia2.lsops.net/live/smil:pr … ylist.m3u8

http://akamedia2.lsops.net/clients/smil … ylist.m3u8

http://akamedia2.lsops.net/live/nasatv_ … ylist.m3u8

The first URL in your list returns an error.

The other 3 I was able to play without much trouble. #2 and #3 took a couple tries and buffered for quite a while before they started playing, but #4 started up pretty quickly.

Nowhereman please can you provide me with some code or settings you used. It just doesn’t work for us.
Thanks buddy.

“campbellwang” wrote:
Nowhereman please can you provide me with some code or settings you used. It just doesn’t work for us.
Thanks buddy.

Sub Main()
  vid = {
    StreamUrls:       ["http://akamedia2.lsops.net/live/nasatv_en.sdp/playlist.m3u8"]
    streamBitrates:   [0]
    streamQualities:  ["SD"]
    streamFormat:     "hls"
  }
  
  screen = CreateObject("roVideoScreen")
  screen.SetMessagePort(CreateObject("roMessagePort"))
  screen.SetContent(vid)
  screen.Show()

  while true
    msg = wait(0, screen.GetMessagePort())

    if type(msg) = "roVideoScreenEvent" then
      if msg.isScreenClosed()
        exit while
      end if
    end if
  end while
End Sub

Thank You. I will ask my guy to give that a whirl.