Forum Discussion

rom's avatar
rom
Visitor
13 years ago

TS streams taking forever to load

so i'm trying to stream live h264 ts streams and for some reason they are taking 30 seconds to a minute to load like they are loading a lot of data before they actually play the video.

am i doing something wrong? is there some way to specify the buffer size before playing because this is silly.

3 Replies

  • RokuRobB's avatar
    RokuRobB
    Streaming Star
    There could be an issue with the CDN delivering the content. For example, the nodes being hit may be down or have performance issues. Do the streams play fine elsewhere other than on the Roku?
  • you can specify the actual bitrate if the bitrate is less than 1500kbps. Otherwise, specify bitrate=[0]

    This may improve buffering times.

    for example if bitrate is 800kbps:

    videoclip.StreamBitrates=[800]


    but try specifying bitrate=[0] first.

    Also useful is to experiment with various settings for the switchingStrategy parameter:

    videoclip.SwitchingStrategy="full-adaptation"


    for example.

    - Joel
  • "RokuRobB" wrote:
    There could be an issue with the CDN delivering the content. For example, the nodes being hit may be down or have performance issues. Do the streams play fine elsewhere other than on the Roku?


    It's not the cdn. Streams are instant load for for every other device, dune, ipad, iPhone, android app, desktop.

    "RokuJoel" wrote:
    you can specify the actual bitrate if the bitrate is less than 1500kbps. Otherwise, specify bitrate=[0]

    This may improve buffering times.

    for example if bitrate is 800kbps:

    videoclip.StreamBitrates=[800]


    but try specifying bitrate=[0] first.

    Also useful is to experiment with various settings for the switchingStrategy parameter:

    videoclip.SwitchingStrategy="full-adaptation"


    for example.

    - Joel


    i'll give that a go. thanks for the help.