Your Digital Media Has Never Looked So Good

Posts: 28
Joined: Fri Mar 24, 2017 7:07 am

Re: HLS Troubleshooting

Thu Apr 06, 2017 10:31 am

I am using hls streams and on both a Roku Premiere/+ and am getting a lot of stops/buffering. Does the 8x10 second segments recommendation in the first post still apply?
Posts: 32
Joined: Mon May 08, 2017 7:52 pm

Re: HLS Troubleshooting

Wed Aug 02, 2017 10:16 pm

Hi everyone,

I've developed a channel and recently I received a feedback from an user that he cannot play hls stream (he uses Roku Premier+). When the video loads 33%, it just returns. The user is nice enough to help me to troubleshoot by testing the video link with VLC and VLC can play it without any problem.
While I'm using with Roku4, Roku Express+ and Roku Stick, all of them are working fine so probably there's some problem with Roku Premier+? Any suggestion would be appreciated.

Last edited by coldrain on Sun Feb 03, 2019 1:36 am, edited 1 time in total.
Posts: 32
Joined: Mon May 08, 2017 7:52 pm

Re: HLS Troubleshooting

Wed Sep 13, 2017 12:00 am

Alright, a folk find out that some stream type will not work if streamformat is not setup properly in Roku Premier+ while it's still playing in some other devices. Look at this link
Last edited by coldrain on Sun Feb 03, 2019 1:36 am, edited 1 time in total.
Posts: 10
Joined: Thu Feb 01, 2018 11:53 pm
Location: CA, United State

Re: HLS Troubleshooting

Thu Feb 22, 2018 11:11 pm

hi, In a Multi-bitrate scenario, does setting the stream bitrate to a fixed number to speed up buffering prevent the roku from adjusting if the bandwidth changes, or does continue to auto adjust?


Jennifer Truong from Hayward.
Posts: 1
Joined: Fri Jun 15, 2018 9:33 am

Re: HLS Troubleshooting

Fri Jun 15, 2018 9:37 am

Hello everyone!!

I am attempting to play an hls video for a VOD type of a service.  However, the video is not playing smoothly at all!  It keeps skipping.  Does anyone know what I can do to get the video to play correctly?
Posts: 2
Joined: Wed Feb 22, 2017 8:44 am

Re: HLS Troubleshooting

Thu Jan 31, 2019 10:47 am

Hello everyone!!
I'm trying to implement Live DVR with Seek option.

 - While start playing I check the position of the player and always is 0 (absolute). This mean I could not move the pos in past using seek method.
Please help me to find any solution  if this is possible ?

Thank You
Posts: 29
Joined: Sun May 29, 2016 4:08 pm

Re: HLS Troubleshooting

Mon May 06, 2019 6:00 pm

Trying to play the live stream (the live stream is a loop so it's always on which make it easy to test) referenced below always fails. The video player shows the loading bar and gets stuck there forever (tested with a Roku 4).

Sadly there is no way to observe network traffic out of the Roku video player so I can't even tell if the video player gets stuck loading the playlist, the chunk list or the first chunk

Easy to reproduce simply with this MainScene.xml:

<?xml version="1.0" encoding="utf-8" ?> 
<!--********** Copyright 2016 Roku Corp.  All Rights Reserved. **********-->

<component name="MainScene" extends="Scene" >

<script type="text/brightscript">
function init() ="myVideo") = 1
end function

function playVideo() as void   
  subtitle_config = {
      TrackName: "pkg:/captions.ttml"
    vidContent = createObject("RoSGNode", "ContentNode")
    'vidContent.url = ""
    'vidContent.url = ""
    vidContent.url = ""
    'vidContent.subtitleconfig = subtitle_config
    vidContent.title = "Closed Captions in Scene Graph"
    vidContent.streamformat = "hls" = vidContent = "play"
end function

    <Video id="myVideo" width="1280" height="720" />

Posts: 1
Joined: Tue Jul 09, 2019 12:54 am

Re: HLS Troubleshooting

Tue Jul 09, 2019 12:58 am

Does anyone know if there is a way to get the Roku to request m3u8 files using (byte) range requests?

It currently is requesting the *entire* m3u8 every 5-10s for live HLS streams, and for a long video (with a large m3u8 as it approaches the end) , that can really take up a lot of unnecessary bandwidth (100-200kbps).

Our media server is indicating it supports (byte) range requests (using the HTTP response header of "Accept-Ranges: bytes"), but the Roku refuses to request only the incremental range of bytes with each new request.

Any ideas how to convince the Roku to request only what it actually needs? Sample HTTP request and response headers of how it is currently behaving are below:

GET /testvideo/2000000/main_2000000.m3u8 HTTP/1.1
Connection: close
User-Agent: Roku/DVP-4.2 (024.02F01006B)
Accept-Encoding: deflate, gzip

HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Type: application/x-mpegURL
Accept-Ranges: bytes
Content-Length: 67212
Date: Wed, 04 Jan 2012 04:39:32 GMT

Although this post is old, does anyone have an idea how to accomplish this with http live streaming?

Who is online

Users browsing this forum: No registered users and 2 guests