# WOWZA HTTP Live Streaming with JWPlayer6

**URL:** <https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330>\
**Category:** Wowza Streaming Engine\
**Created:** [November 21, 2012, 5:52pm UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330 "2012-11-21T17:52:25Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmed\_Reza](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@Ahmed\_Reza](https://community.wowza.com/u/Ahmed_Reza)\
**Post date:** [November 21, 2012, 5:52pm UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/1 "2012-11-21T17:52:25Z")

</div>

I have tried following the instruction from both WOWZA and JWPLAYER forums to enable Apple HTTP Streaming with JWPlayer6.

Here is my code:

I get the following error:

“Playlist could not be loaded: No Playable sources found”

I am using JWPlayer 6 Pro which should support HLS. And for the WOWZA I am using EC2 Linux AMI with Monthly Subscription. I haven’t changed any code and live stream works out of the box if I use RTMP.

I will appreciate any suggestion or perhaps some sample code to do Live Streaming using WOWZA and JWPlayer 6 VIA HLS.

---

<div class="post-metadata">

**Author:** ![Ahmed\_Reza](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@Ahmed\_Reza](https://community.wowza.com/u/Ahmed_Reza)\
**Post date:** [November 21, 2012, 5:54pm UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/2 "2012-11-21T17:54:58Z")

</div>

> I have tried following the instruction from both WOWZA and JWPLAYER forums to enable Apple HTTP Streaming with JWPlayer6.
> 
> Here is my code:
> 
> I get the following error:
> 
> “Playlist could not be loaded: No Playable sources found”
> 
> I am using JWPlayer 6 Pro which should support HLS. And for the WOWZA I am using EC2 Linux AMI with Monthly Subscription. I haven’t changed any code and live stream works out of the box if I use RTMP.
> 
> I will appreciate any suggestion or perhaps some sample code to do Live Streaming using WOWZA and JWPlayer 6 VIA HLS.

When I mentioned “I haven’t changed any code and live stream works out of the box if I use RTMP”, I meant I haven’t changed any config on WOWZA and used the preconfigured setting as AMI and It works with RTMP

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 21, 2012, 6:24pm UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/3 "2012-11-21T18:24:13Z")

</div>

Have you tried it like this:

```auto
<head>
<title>JW Player Fallback</title>
</head>
<body>
<script type='text/javascript' src='jwplayer.js'></script>
<div id='mediaplayer'></div>
<script type="text/javascript">
  jwplayer('mediaplayer').setup({
    'id': 'playerID',
    'width': '480',
    'height': '270',
    'provider': 'rtmp',
    'streamer': 'rtmp://[wowza-address]:1935/vod',
    'file': 'sample.mp4',
    'modes': [
        {type: 'flash', src: 'player.swf'},
	{type: 'html5', config:
		{
		'file': "http://[wowza-address]:1935/vod/mp4:sample.mp4/playlist.m3u8",
		provider: 'video'
		}
	}
    ]
  });
</script>
</body>
</html>

```

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 21, 2012, 6:55pm UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/4 "2012-11-21T18:55:33Z")

</div>

It is essentially the same except you have to point to the a live application and the live stream name

```auto
<head>
<title>JW Player Fallback</title>
</head>
<body>
<script type='text/javascript' src='jwplayer.js'></script>
<div id='mediaplayer'></div>
<script type="text/javascript">
  jwplayer('mediaplayer').setup({
    'id': 'playerID',
    'width': '480',
    'height': '270',
    'provider': 'rtmp',
    'streamer': 'rtmp://[wowza-address]:1935/live',
    'file': 'myStream',
    'modes': [
        {type: 'flash', src: 'player.swf'},
	{type: 'html5', config:
		{
		'file': "http://[wowza-address]:1935/live/myStream/playlist.m3u8",
		provider: 'video'
		}
	}
    ]
  });
</script>
</body>
</html>

```

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 21, 2012, 11:35pm UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/5 "2012-11-21T23:35:07Z")

</div>

Have you added “cupertinostreamingpacketizer” to the Application.xml /LiveStreamPacketizers ?

[https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder](https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 25, 2012, 11:21pm UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/6 "2012-11-25T23:21:57Z")

</div>

Sounds like an issue with their iOS player that you would have to raise on their forum.

Richard

---

<div class="post-metadata">

**Author:** ![Jim\_Sustacek](https://avatars.discourse-cdn.com/v4/letter/j/b487fb/32.png) [@Jim\_Sustacek](https://community.wowza.com/u/Jim_Sustacek)\
**Post date:** [January 18, 2013, 7:31am UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/7 "2013-01-18T07:31:40Z")

</div>

philsmith76: I assume you’re talking about ZippCarlson’s example above, and you are using an RTMP stream and the HTTP HLS stream in the playlist? That should work in any version of JW 6. (If you are on the Premium or Ads versions, you can just use the HLS stream, and it will deliver to both desktops and iOS.) You could try changing the “primary” variable to “flash” to give preference to the RTMP stream, where Flash is supported.

Otherwise, check your Wowza logs and see if it is correctly requesting the RTMP stream when you load that page on a desktop. Compare those log entries to when you load it on iOS.

---

<div class="post-metadata">

**Author:** ![ben\_biles](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@ben\_biles](https://community.wowza.com/u/ben_biles)\
**Post date:** [November 25, 2012, 10:52pm UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/8 "2012-11-25T22:52:53Z")

</div>

hi, I have the same problem with JWplayer and wowza with IOS devices.

This code did work but now I dont get a play button on IOS device.

If I open the [http://xxxxxxxx.co.uk:1935/live/live/playlist.m3u8](http://xxxxxxxx.co.uk:1935/live/live/playlist.m3u8) directly

in safari on iOS device the video plays.

Do I have something wrong with the code? a comma and space wrong? or do I need a different version

of JWplayer? now is 5.6 and was working!

Livestream

## adaptive player either needs flash or IOS capable device

---

<div class="post-metadata">

**Author:** ![Curt\_Dimmick](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/curt_dimmick/32/1260_2.png) [@Curt\_Dimmick](https://community.wowza.com/u/Curt_Dimmick)\
**Post date:** [November 29, 2012, 1:16am UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/9 "2012-11-29T01:16:26Z")

</div>

I am using JwPlayer 6 for live streaming and having no issue getting it to go to the ios devices. Looking at the code samples the one diff I see is, when I list mine I prepend the container type ( mp4: ) before the stream name as shown below. I am encoding h.264 with aac audio for the stream. I am also prepending the mp4: before the stream name in my encoder with no file ext passed through the encoder. Hope this helps.

```auto
<div id='myElement'></div>
<script type="text/javascript">
jwplayer("myElement").setup({
    playlist: [{
        image: "/assets/myVideo.jpg",
        sources: [{ 
            file: "rtmp://beta.domain.com/live/mp4:streamname"
        },{
            file: "http://beta.domain.com:1935/live/[B]mp4:[/B]streamname/playlist.m3u8"
        }]
    }],
 rtmp: {
        bufferlength: 6
    },
    height: 480,
    primary: "html5",
    width: 640
});
</script>

```

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [November 22, 2012, 1:14pm UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/10 "2012-11-22T13:14:48Z")

</div>

Hi

Did you try this:

> It is essentially the same except you have to point to the a live application and the live stream name
> 
> ```auto
> <head>
> <title>JW Player Fallback</title>
> </head>
> <body>
> <script type='text/javascript' src='jwplayer.js'></script>
> <div id='mediaplayer'></div>
> <script type="text/javascript">
> jwplayer('mediaplayer').setup({
> 'id': 'playerID',
> 'width': '480',
> 'height': '270',
> 'provider': 'rtmp',
> 'streamer': 'rtmp://[wowza-address]:1935/live',
> 'file': 'myStream',
> 'modes': [
> {type: 'flash', src: 'player.swf'},
> {type: 'html5', config:
> {
> 'file': "http://[wowza-address]:1935/live/myStream/playlist.m3u8",
> provider: 'video'
> }
> }
> ]
> });
> </script>
> </body>
> </html>
> 
> ```
> 
> Richard

Can you confirm that replacing the vod file with a live stream as shown above still doesn’t work?

Have you restarted Wowza since adding “cupertinostreamingpacketizer” to the Application.xml?

Jason

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [November 22, 2012, 4:04pm UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/11 "2012-11-22T16:04:21Z")

</div>

Hi

Ok, I think the best course of action is for you to raise a support ticket with Wowza, email support@wowza.com

This will allow you to give them the IP address of the EC2 instance being used which will help them figure out what the problem is.

Make a link to this thread for reference.

Jason

---

<div class="post-metadata">

**Author:** ![Phil\_Smith](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@Phil\_Smith](https://community.wowza.com/u/Phil_Smith)\
**Post date:** [January 17, 2013, 2:11pm UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/12 "2013-01-17T14:11:36Z")

</div>

> Like he said… the embed syntax for JW6 is quite different, follow that example!

I have tried that example. In the desktop i get "Error Setting up the Player Error: #2147 however in ios i can play this just fine. Any ideas?

---

<div class="post-metadata">

**Author:** ![Thomas\_Gires](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@Thomas\_Gires](https://community.wowza.com/u/Thomas_Gires)\
**Post date:** [November 29, 2012, 5:38pm UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/13 "2012-11-29T17:38:05Z")

</div>

> I am using JwPlayer 6 for live streaming and having no issue getting it to go to the ios devices. Looking at the code samples the one diff I see is, when I list mine I prepend the container type ( mp4: ) before the stream name as shown below. I am encoding h.264 with aac audio for the stream. I am also prepending the mp4: before the stream name in my encoder with no file ext passed through the encoder. Hope this helps.
> 
> ```auto
> <div id='myElement'></div>
> <script type="text/javascript">
> jwplayer("myElement").setup({
> playlist: [{
> image: "/assets/myVideo.jpg",
> sources: [{ 
> file: "rtmp://beta.domain.com/live/mp4:streamname"
> },{
> file: "http://beta.domain.com:1935/live/[B]mp4:[/B]streamname/playlist.m3u8"
> }]
> }],
> rtmp: {
> bufferlength: 6
> },
> height: 480,
> primary: "html5",
> width: 640
> });
> </script>
> 
> ```

Like he said… the embed syntax for JW6 is quite different, follow that example!

---

<div class="post-metadata">

**Author:** ![Mohammad\_Mustafa](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@Mohammad\_Mustafa](https://community.wowza.com/u/Mohammad_Mustafa)\
**Post date:** [December 10, 2012, 2:49pm UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/14 "2012-12-10T14:49:25Z")

</div>

> Like he said… the embed syntax for JW6 is quite different, follow that example!

This is working fine for us, make sure you buy the premium version of JW player, the one for $250 if i recall correct, HLS is not supported on the other versions.

---

<div class="post-metadata">

**Author:** ![Ahmed\_Reza](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@Ahmed\_Reza](https://community.wowza.com/u/Ahmed_Reza)\
**Post date:** [November 21, 2012, 6:10pm UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/15 "2012-11-21T18:10:36Z")

</div>

My RTMP Code is bellow which works :

‘file’: ‘mystream.mp4’,

‘streamer’: ‘rtmp://ec2-xxx-xx-xx-xxx.eu-west-1.compute.amazonaws.com/live’

---

<div class="post-metadata">

**Author:** ![Ahmed\_Reza](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@Ahmed\_Reza](https://community.wowza.com/u/Ahmed_Reza)\
**Post date:** [November 21, 2012, 6:37pm UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/16 "2012-11-21T18:37:19Z")

</div>

> Have you tried it like this:
> 
> ```auto
> <head>
> <title>JW Player Fallback</title>
> </head>
> <body>
> <script type='text/javascript' src='jwplayer.js'></script>
> <div id='mediaplayer'></div>
> <script type="text/javascript">
> jwplayer('mediaplayer').setup({
> 'id': 'playerID',
> 'width': '480',
> 'height': '270',
> 'provider': 'rtmp',
> 'streamer': 'rtmp://[wowza-address]:1935/vod',
> 'file': 'sample.mp4',
> 'modes': [
> {type: 'flash', src: 'player.swf'},
> {type: 'html5', config:
> {
> 'file': "http://[wowza-address]:1935/vod/mp4:sample.mp4/playlist.m3u8",
> provider: 'video'
> }
> }
> ]
> });
> </script>
> </body>
> </html>
> 
> ```
> 
> Richard

Thanks for your reply Richard. The above example works with VOD. Not with the live stream. Do you have any example for Live Stream?

---

<div class="post-metadata">

**Author:** ![Ahmed\_Reza](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@Ahmed\_Reza](https://community.wowza.com/u/Ahmed_Reza)\
**Post date:** [November 21, 2012, 11:30pm UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/17 "2012-11-21T23:30:15Z")

</div>

Just got an email from JWPlayer Support. They are saying that the WOWZA server is not delivering the chunks of the stream. Any idea how to resolve this?

_"M3U8 streams load other files in chunks, that is how HLS works._

_Once you load - [http://ec2-xx-xx-xx-xx.eu-west-1.compute.amazonaws.com:1935/live/mystream/playlist.m3u8](http://ec2-xx-xx-xx-xx.eu-west-1.compute.amazonaws.com:1935/live/mystream/playlist.m3u8) , our player tries to load first first chunk from your server, which does not exist - [http://ec2-xx-xx-xx-xxx.eu-west-1.compute.amazonaws.com:1935/live/mystream/chunklist.m3u8?wowzasessionid=1052502670](http://ec2-xx-xx-xx-xxx.eu-west-1.compute.amazonaws.com:1935/live/mystream/chunklist.m3u8?wowzasessionid=1052502670)"_

---

<div class="post-metadata">

**Author:** ![Ahmed\_Reza](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@Ahmed\_Reza](https://community.wowza.com/u/Ahmed_Reza)\
**Post date:** [November 22, 2012, 2:43am UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/18 "2012-11-22T02:43:50Z")

</div>

> Have you added “cupertinostreamingpacketizer” to the Application.xml /LiveStreamPacketizers ?
> 
> [Set up an RTMP encoder for live streaming](https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder)
> 
> Richard

Just checked the Application.xml under conf/Live and the file already has those settings.

---

<div class="post-metadata">

**Author:** ![Ahmed\_Reza](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@Ahmed\_Reza](https://community.wowza.com/u/Ahmed_Reza)\
**Post date:** [November 22, 2012, 2:04pm UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/19 "2012-11-22T14:04:51Z")

</div>

Hi Jason, the application.xml already had the tags with correct values, still I restarted the server. Please have a look at the email from JW support which stated that after downloading the playlist.m3u8, when the player tries to download the first chunk of data over http, 404 error displayed.

---

<div class="post-metadata">

**Author:** ![Andrew\_Ho](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@Andrew\_Ho](https://community.wowza.com/u/Andrew_Ho)\
**Post date:** [November 23, 2012, 9:17am UTC](https://community.wowza.com/t/wowza-http-live-streaming-with-jwplayer6/39330/20 "2012-11-23T09:17:29Z")

</div>

a.reza,

Have you confirmed that you’re using the right version of JW Player that supports live streaming? I believe only the Premium/Ads version supports it (both paid)
