
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>