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: 
melkat
Binge Watcher

Live stream no longer working (m3u8 file)

Sometime in the last few days, our live stream no longer works through the Roku player via our Channel. We haven't updated the XML file, so I'm not sure what the problem could be. Our live stream currently works online and in other areas - just not through Roku. Here's the contents of the XML file it's accessing:


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed>
<!-- resultLength indicates the total number of results for this feed -->
<resultLength>4</resultLength>
<!-- endIndix  indicates the number of results for this *paged* section of the feed -->
<endIndex>4</endIndex>
<item sdImg="http://www.uctv.tv/images/roku/livestream.jpg" hdImg="http://www.uctv.tv/images/roku/livestream.jpg">
<title>UCTV's Live Stream</title>
<contentId>000000</contentId>
<contentType>LIVE</contentType>
<live>true</live>
<contentQuality>SD</contentQuality>
<streamFormat>hls</streamFormat>
<media>
<streamQuality>SD</streamQuality>
<streamBitrate></streamBitrate>
<streamUrl>http://ucsdtv-wowza.ucsd.edu:1935/live/smil:live.smil/playlist.m3u8</streamUrl>
</media>
<synopsis>Watch UCTV from anywhere in the world. UCTV explores a broad spectrum of subjects of interest to a general audience.</synopsis>
<genres></genres>
</item>
</feed>



Any help is much appreciated - thanks!

Melissa
0 Kudos
9 REPLIES 9
xoceunder
Roku Guru

Re: Live stream no longer working (m3u8 file)

you have to change

streamUrl to URL
0 Kudos
melkat
Binge Watcher

Re: Live stream no longer working (m3u8 file)

I changed it, as follows, but it didn't work. I also tried using lower-case "url" and camel-case "Url" (not sure if that matters).

<URL>http://ucsdtv-wowza.ucsd.edu:1935/live/smil:live.smil/playlist.m3u8</URL>

Any other suggestions?
0 Kudos
xoceunder
Roku Guru

Re: Live stream no longer working (m3u8 file)

"melkat" wrote:
I changed it, as follows, but it didn't work. I also tried using lower-case "url" and camel-case "Url" (not sure if that matters).

<URL>http://ucsdtv-wowza.ucsd.edu:1935/live/smil:live.smil/playlist.m3u8</URL>

Any other suggestions?

What is the code you use to pass the XML
0 Kudos
melkat
Binge Watcher

Re: Live stream no longer working (m3u8 file)

I was modifying an old XML file and tried to attack it another way by using JSON through Direct Publisher. Unfortunately, I'm still not able to play our live stream (although our MP4 files play fine.) Here's the snippet of code about the live stream from the JSON file:
"content": {
        "dateAdded": "2016-06-15T22:21:37+00:00",
        "videos": [
          {
            "url": "http://ucsdtv-wowza.ucsd.edu:1935/live/smil:live.smil/playlist.m3u8",
            "quality": "HD",
            "videoType": "HLS"
          }
        ],
        "duration": 86400
      }
0 Kudos
xoceunder
Roku Guru

Re: Live stream no longer working (m3u8 file)

"melkat" wrote:
I was modifying an old XML file and tried to attack it another way by using JSON through Direct Publisher. Unfortunately, I'm still not able to play our live stream (although our MP4 files play fine.) Here's the snippet of code about the live stream from the JSON file:
"content": {
        "dateAdded": "2016-06-15T22:21:37+00:00",
        "videos": [
          {
            "url": "http://ucsdtv-wowza.ucsd.edu:1935/live/smil:live.smil/playlist.m3u8",
            "quality": "HD",
            "videoType": "HLS"
          }
        ],
        "duration": 86400
      }



Change it for this
"content": {
        "dateAdded": "2016-06-15T22:21:37+00:00",
        "videos": [
          {
            "url": "http://ucsdtv-wowza.ucsd.edu:1935/live/smil:live.smil/playlist.m3u8",
            "quality": "HD",
            "streamFormat": "HLS"
          }
        ],
        "duration": 86400
      }
0 Kudos
melkat
Binge Watcher

Re: Live stream no longer working (m3u8 file)

Still doesn't work. When I did that, I got an error that said "Required video type is missing or invalid." So I added that line back in, as well as your suggested line, like this:

"videos": [
          {
            "url": "http://ucsdtv-wowza.ucsd.edu:1935/live/smil:live.smil/playlist.m3u8",
            "quality": "HD",
            "streamFormat": "HLS",
            "videoType": "HLS"
          }
        ],

        "duration": 86400


This time the feed was ingested properly, but it still wouldn't play.
0 Kudos
xoceunder
Roku Guru

Re: Live stream no longer working (m3u8 file)

What is the code you are using to play in the roku
0 Kudos
melkat
Binge Watcher

Re: Live stream no longer working (m3u8 file)

I'm sorry - I don't understand what you're asking. I created the interface with Direct Publisher, so the only code I've written is the JSON file. Do you want to see the entire file? Other media files work in this test project - other MP4 files. Just not the live stream. Here's the code for the JSON file:
{
  "providerName": "Acme Productions",
  "language": "en-US",
  "lastUpdated": "2016-06-15T22:21:37+00:00",
  "movies": [
    {
      "id": "decbe34b64ea4ca281dc09997d0f23fd",
      "title": "TEST I",
      "content": {
        "dateAdded": "2016-06-15T22:21:37+00:00",
        "videos": [
          {
            "url": "http://roku.cpl.delvenetworks.com/media/59021fabe3b645968e382ac726cd6c7b/decbe34b64ea4ca281dc09997d0f23fd/aac0cfc54ae74fdfbb3ba9a2ef4c7080/117_segment_2_twitch__nw_060515.mp4",
            "quality": "HD",
            "videoType": "MP4",
            "bitrate": 1328
          }
        ],
        "duration": 53,
        "trickPlayFiles": [
          {
            "url": "http://s2.content.video.llnw.net/lovs/images-prod/59021fabe3b645968e382ac726cd6c7b/media/decbe34b64ea4ca281dc09997d0f23fd/j5_.540x304.jpeg",
            "quality": "HD"
          }
        ]
      },
      "genres": [
        "gaming"
      ],
      "tags": [
        "gaming"
      ],
      "thumbnail": "https://blog.roku.com/developer/files/2016/09/thumbnail.png",
      "releaseDate": "2016-06-15",
      "shortDescription": "Adding a UCTV video."
    },
    {
      "id": "decbe34b64ea4ca281dc09997d0fz87",
      "title": "TEST J",
      "content": {
        "dateAdded": "2016-06-15T22:21:37+00:00",
        "videos": [
          {
            "url": "http://podcast.uctv.tv/vod/31764.mp4",
            "quality": "HD",
            "videoType": "MP4",
            "bitrate": 1328
          }
        ],
        "duration": 53,
        "trickPlayFiles": [
          {
            "url": "http://s2.content.video.llnw.net/lovs/images-prod/59021fabe3b645968e382ac726cd6c7b/media/decbe34b64ea4ca281dc09997d0f23fd/j5_.540x304.jpeg",
            "quality": "HD"
          }
        ]
      },
      "genres": [
        "gaming"
      ],
      "tags": [
        "gaming"
      ],
      "thumbnail": "https://blog.roku.com/developer/files/2016/09/thumbnail.png",
      "releaseDate": "2016-06-15",
      "shortDescription": "Adding a UCTV video."
    },
    {
      "id": "decbe34b64ea4ca281dc7895q",
      "title": "TEST P LIVE",
      "content": {
        "dateAdded": "2016-06-15T22:21:37+00:00",
        "videos": [
          {
            "url": "http://ucsdtv-wowza.ucsd.edu:1935/live/smil:live.smil/playlist.m3u8",
            "quality": "HD",
            "streamFormat": "HLS",
            "videoType": "HLS"
          }
        ],
        "duration": 86400
      },
      "genres": [
        "gaming"
      ],
      "tags": [
        "gaming"
      ],
      "thumbnail": "https://blog.roku.com/developer/files/2016/09/thumbnail.png",
      "releaseDate": "2016-06-15",
      "shortDescription": "Adding a UCTV video."
    }
  ],
  "series": [
    {
      "id": "1037510958109183094109r094809",
      "title": "A Series About Channels",
      "seasons": [
        {
          "seasonNumber": 1,
          "episodes": [
            {
              "id": "6c9d0951d6d74229afe4adf972b278dd",
              "title": "Let's Get Cookin'",
              "content": {
                "dateAdded": "2016-06-15T22:21:37+00:00",
                "videos": [
                  {
                    "url": "http://roku.cpl.delvenetworks.com/media/59021fabe3b645968e382ac726cd6c7b/6c9d0951d6d74229afe4adf972b278dd/bc227724e2854c6b93ad48d1feb39c16/roku_ep_115_segment_5_paula_nw_050515.mp4",
                    "quality": "HD",
                    "videoType": "MP4",
                    "bitrate": 1328
                  }
                ],
                "duration": 59,
                "trickPlayFiles": [
                  {
                    "url": "http://s2.content.video.llnw.net/lovs/images-prod/59021fabe3b645968e382ac726cd6c7b/media/decbe34b64ea4ca281dc09997d0f23fd/j5_.540x304.jpeg",
                    "quality": "HD"
                  }
                ]
              },
              "thumbnail": "https://blog.roku.com/developer/files/2016/09/thumbnail.png",
              "episodeNumber": 1,
              "releaseDate": "2016-06-15",
              "shortDescription": "Paula Deen new and hilarious cooking and lifestyle show."
            },
            {
              "id": "7405a8c101ee4c9da312c426e6067044",
              "title": "Ideas Worth Spreading",
              "content": {
                "dateAdded": "2016-06-15T22:21:37+00:00",
                "videos": [
                  {
                    "url": "http://roku.cpl.delvenetworks.com/media/59021fabe3b645968e382ac726cd6c7b/7405a8c101ee4c9da312c426e6067044/dc0d29c5dde34565a3be95987f2956fe/roku_ep_115_segment_1_ted_nw_050515.mp4",
                    "quality": "HD",
                    "videoType": "MP4",
                    "bitrate": 1328
                  }
                ],
                "duration": 71,
                "trickPlayFiles": [
                  {
                    "url": "http://s2.content.video.llnw.net/lovs/images-prod/59021fabe3b645968e382ac726cd6c7b/media/decbe34b64ea4ca281dc09997d0f23fd/j5_.540x304.jpeg",
                    "quality": "HD"
                  }
                ]
              },
              "thumbnail": "https://blog.roku.com/developer/files/2016/09/thumbnail.png",
              "episodeNumber": 2,
              "releaseDate": "2016-06-15",
              "shortDescription": "TED is a nonprofit devoted to Ideas Worth Spreading."
            }
          ]
        }
      ],
      "genres": [
        "special",
        "food",
        "educational"
      ],
      "tags": [
        "special",
        "food",
        "educational"
      ],
      "thumbnail": "https://blog.roku.com/developer/files/2016/09/thumbnail.png",
      "releaseDate": "2016-06-15",
      "shortDescription": "The Paula Deen Channel."
    }
  ],
  "shortFormVideos": [
    {
      "id": "37d290e03d894135b07c5e514cbad72d",
      "title": "Fight Pass",
      "content": {
        "dateAdded": "2016-06-15T22:21:37+00:00",
        "videos": [
          {
            "url": "http://roku.cpl.delvenetworks.com/media/59021fabe3b645968e382ac726cd6c7b/37d290e03d894135b07c5e514cbad72d/dfd02160a5374c39967c105a8cfff3a1/roku_ep_115_segment_3_ufc_nw_051815.mp4",
            "quality": "HD",
            "videoType": "MP4",
            "bitrate": 1328
          }
        ],
        "duration": 52,
        "trickPlayFiles": [
          {
            "url": "http://s2.content.video.llnw.net/lovs/images-prod/59021fabe3b645968e382ac726cd6c7b/media/37d290e03d894135b07c5e514cbad72d/xUE.540x304.jpeg",
            "quality": "HD"
          }
        ]
      },
      "thumbnail": "https://blog.roku.com/developer/files/2016/09/thumbnail.png",
      "shortDescription": "UFCTV gives you Live and On-Demand access to UFC events.",
      "releaseDate": "2016-06-15"
    }
  ]
}
0 Kudos
xoceunder
Roku Guru

Re: Live stream no longer working (m3u8 file)

Friend tell you the parse.brs you are using
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.