Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nanuto
Visitor

HLS Problem

the screen is fully loaded with the bar but the video never starts.
the debug window shows that if the segments are obtained, and is constantly updated.
on VLC the url worked.


port = CreateObject("roMessagePort")
video = CreateObject("roVideoScreen")
video.SetMaxVideoDecodeResolution(1280, 720)
video.setMessagePort(port)
bitrates = [0]
urls = [dStream]
qualities = ["SD"]
StreamFormat = "HLS"
title = dTitle

videoclip = CreateObject("roAssociativeArray")
videoclip.StreamBitrates = bitrates
videoclip.StreamUrls = urls
videoclip.StreamQualities = qualities
videoclip.StreamFormat = StreamFormat
videoclip.Title = title
videoclip.SwitchingStrategy="full-adaptation"

video.SetContent(videoclip)
video.show()



on ssh

Unknown event: 20 msg: Stream started.
Unknown event: 37 msg: Segment download started
Unknown event: 31 msg: Download segment info
Unknown event: 31 msg: Download segment info
Unknown event: 37 msg: Segment download started
Unknown event: 31 msg: Download segment info
Unknown event: 31 msg: Download segment info
Unknown event: 37 msg: Segment download started


any ideas_??
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.