Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

RTMP Streaming


Okay so I can't figure this out for the life of me, anytime I use the following code. It just gives me Error Loading Stream, Manafest not found or invalid. What am I doing wrong? Why is this so difficult!

<head>
<script src="http://jwpsrv.com/library/b6JzKFLaEeKIvCIACp8kUw.js"></script>
</head>
<body>
<div id="playerPLbPmpmrbpdU"></div>
<script type="text/javascript">
jwplayer('playerPLbPmpmrbpdU').setup({
'autostart': true,
sources: [
{ 'file': "http://199.204.44.249/~yakimafo/yfc-mega-live.smil"},
{ 'file': "http://hls.live.metacdn.com/hls-live/2050C7/bdpqspmta/yfc-mega-live_/yfc-mega-live_,1628,728,478,.m3u8"}
],
rtmp: {
'bufferlength': 5,
'subscribe': true
},
'width': "100%",
'image': "https://static1.squarespace.com/static/54e76b72e4b0328389a36939/t/5577eb97e4b03b8454ba1455/1433922461250/?format=2500w&storage=local",
'aspectratio': "16:9",
'primary': "flash",
'skin': "five",
'stretching': 'exactfit'
});
</script>
</body>

The .smil file is,
<code>
<smil>
<head>
<meta base="rtmp://live.metacdn.com/2050C7/bdpqspmta"/>
</head>
<body>
<switch>
<video src="yfc-mega-live_478" height="270" system-bitrate="489472" type="video/x-flv" width="480"/>
<video src="yfc-mega-live_728" height="480" system-bitrate="745472" type="video/x-flv" width="854"/>
<video src="yfc-mega-live_1628" height="720" system-bitrate="1667072" type="video/x-flv" width="1280"/>
</switch>
</body>
</smil>
</code>

4 Community Answers

jherrieven

User  
0 rated :

Try removing the <code></code> tags.

James

matt

User  
0 rated :

Did that, still nothing. Same error.

This is what I have at the moment,

<smil>
<head>
<meta base="rtmp://live.metacdn.com/2050C7/bdpqspmta"/>
</head>
<body>
<switch>
<video src="yfc-mega-live_478" height="270" system-bitrate="489472" type="video/x-flv" width="480"/>
<video src="yfc-mega-live_728" height="480" system-bitrate="745472" type="video/x-flv" width="854"/>
<video src="yfc-mega-live_1628" height="720" system-bitrate="1667072" type="video/x-flv" width="1280"/>
</switch>
</body>
</smil>

<div id="playerPLbPmpmrbpdU"></div>
<script type="text/javascript">
jwplayer('playerPLbPmpmrbpdU').setup({
'autostart': true,
sources: [
{ 'file': "http://199.204.44.249/~yakimafo/yfc-mega-live.smil"},
{ 'file': "http://hls.live.metacdn.com/hls-live/2050C7/bdpqspmta/yfc-mega-live_/yfc-mega-live_,1628,728,478,.m3u8"}
],
rtmp: {
'bufferlength': 5,
'subscribe': true
},
'width': "100%",
'image': "https://static1.squarespace.com/static/54e76b72e4b0328389a36939/t/5577eb97e4b03b8454ba1455/1433922461250/?format=2500w&storage=local",
'aspectratio': "16:9",
'primary': "flash",
'skin': "five",
'stretching': 'exactfit'
});
</script>

jherrieven

User  
0 rated :

You need "crossdomain.xml" files available at the following points in order to allow the cloud JW Player access to the media resources:

http://199.204.44.249/crossdomain.xml
https://static1.squarespace.com/crossdomain.xml

Further info can be found here:

http://support.jwplayer.com/customer/portal/articles/1403679-crossdomain-file-loading

James

matt

User  
0 rated :

That was it! Thanks

This question has received the maximum number of answers.