
RTSP with SDP
I'm able to get the stream to work in the VCL player, however based on everything I have read JW Player 7 should be able to handle this also.
Below is the code I have tried and both load the player but then both say Error Loading stream: Could not connect to server.
Now the streamer is part of a Crestron system, like I said the VCL player has zero issues.
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
<script type="text/javascript" src="javascript/jwplayer/jwplayer.js"></script>
<script type="text/javascript">jwplayer.key = "<my Key>"</script>
</head>
<body>
<div style="border: 2px black solid" id="thePlayer">Loading the player ...</div>
<script type="text/javascript">
jwplayer("thePlayer").setup({
flashplayer: "javascript/jwplayer/jwplayer.flash.swf",
file: "rtsp://10.251.60.2/live.sdp"
});
</script>
<br />
<br />
<div style="border: 2px black solid" id="container">Loading the player ...</div>
<script type='text/javascript'>
jwplayer('container').setup({
file: 'rtmp://10.251.60.2/live.sdp',
image: 'Logo URL',
width: '640',
height: '360',
autostart: 'true'
});
</script>
</body>
</html>