Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
imbimp
Level 7

Error on DASH stream - pump:Missing or invalid Movie Fragment Box

Having problems with a stream that plays back well on Chrome, Firefox and Android.

Using the most basic players and DRM configuration I get the error:

the error is==>{"category":"mediaerror","clipid":0,"dbgmsg":":pump:Missing or invalid Movie Fragment Box.","errcode":1,"ignored":false,"source":""}

On screen, the video loads, but the "Retrieving" loading bar never completes and no frame of video appears.

Has anyone seen this error before?

<?xml version = "1.0" encoding = "utf-8" ?>

<!--********** Copyright 2016 Roku Corp.  All Rights Reserved. **********-->

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

  <script type = "text/brightscript" >

    <![CDATA[

    sub init()
      videocontent = createObject("RoSGNode", "ContentNode")

      videocontent.title = "Example Video"
      videocontent.streamformat ="dash"

      videocontent.url = "https://mydomain.net/out/v1/d3bf24ccdsdc874ac4cf689fb60c23121995a/index.mpd"
      m.video = m.top.findNode("exampleVideo")
       m.video.observeField("state","errorStateAvailable")
      m.video.content = videocontent

      m.video.setFocus(true)
      m.video.control = "play"

    end sub

    sub errorStateAvailable()
      ?"the states are=>"m.video.state
      if m.video.state="error"
        ?"the error is==>"formatJSON(m.video.errorInfo)
      end if

    end sub

    ]]>

  </script>

  <children >

    <Video id = "exampleVideo"/>

  </children>

</component>
0 Kudos