Question
Problem with Live Video Streaming
Hi, everybody,
I have a problem with live video streaming (accessing live stream from LAN or WAN) and I have the following configuration:
Computer (some older Gericom laptop):
Intel Celeron 1.7 GHz
RAM: 768 MB
Software:
- Windows XP SP2
- Adobe Flash Media Streaming Development Server 3.5
- Adobe Live Media Encoder 3.0
Camera: Sony Handy Cam DCR-HC35, connected through Firewire port
Encoder has these options set:
- Stream to Flash Media Server: checked
- FMS URL: rtmp://localhost/live
- Stream: livestream
- Save to File: unchecked
Inside server's webroot I have a page live.html and I'm using a sample flash video player supplied with the product (webroot/swfs/videoPlayer.swf).
HTML source of the page live.html is as follows:
<html>
<body>
<object width='640' height='377' id='videoPlayer' name='videoPlayer' type='application/x-shockwave-flash' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' >
<param name='movie' value='swfs/videoPlayer.swf' />
<param name='quality' value='high' />
<param name='bgcolor' value='#000000' />
<param name='allowfullscreen' value='true' />
<param name='flashvars' value= '&videoWidth=0&videoHeight=0
&dsControl=manual&dsSensitivity=100
&serverURL=rtmp://localhost/live/livestream
&DS_Status=true&streamType=live&autoStart=true'/>
<embed src='swfs/videoPlayer.swf' width='640' height='377' id='videoPlayer' quality='high' bgcolor='#000000' name='videoPlayer' allowfullscreen='true'
pluginspage=' http://www.adobe.com/go/getflashplayer' flashvars='&videoWidth=0&videoHeight=0
&dsControl=manual&dsSensitivity=100
&serverURL=rtmp://localhost/live/livestream
&DS_Status=true&streamType=live&autoStart=true' type='application/x-shockwave-flash'>
</embed>
</object>
</body>
</html>
I have also copied all files from samples/applications/live (allowedHTMLdomains.txt, allowedSWFdomains.txt, Application.xml, main.asc, main.far) to applications/live as instructed in applications/live/readme.txt.
I can access http://localhost/live html and I can see the page ( http://localhost/live.html) with the embeded swf player and live stream playing.
But when I try to access this page from a computer within LAN or from WAN, all I can see is player, but no video stream is played (after attempting some time to play the stream, the player fails with a message that there was a connection error).
What surprises me most is that a stream from a file (e.g. vod/sample2_1000kbps.f4v) plays on any computer inside of LAN or even from the outside network, while a live stream cannot be accessed.
Am I missing something obvious here?
I'm sorry if that problem was already solved and I'm repeating some old already answered questions, but I really couldn't find any similar problem on the net.
Any help would be greatly appreciated, because this problem is torturing me for a quite few days now. :)
Best regards,
elektroljub
I have a problem with live video streaming (accessing live stream from LAN or WAN) and I have the following configuration:
Computer (some older Gericom laptop):
Intel Celeron 1.7 GHz
RAM: 768 MB
Software:
- Windows XP SP2
- Adobe Flash Media Streaming Development Server 3.5
- Adobe Live Media Encoder 3.0
Camera: Sony Handy Cam DCR-HC35, connected through Firewire port
Encoder has these options set:
- Stream to Flash Media Server: checked
- FMS URL: rtmp://localhost/live
- Stream: livestream
- Save to File: unchecked
Inside server's webroot I have a page live.html and I'm using a sample flash video player supplied with the product (webroot/swfs/videoPlayer.swf).
HTML source of the page live.html is as follows:
<html>
<body>
<object width='640' height='377' id='videoPlayer' name='videoPlayer' type='application/x-shockwave-flash' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' >
<param name='movie' value='swfs/videoPlayer.swf' />
<param name='quality' value='high' />
<param name='bgcolor' value='#000000' />
<param name='allowfullscreen' value='true' />
<param name='flashvars' value= '&videoWidth=0&videoHeight=0
&dsControl=manual&dsSensitivity=100
&serverURL=rtmp://localhost/live/livestream
&DS_Status=true&streamType=live&autoStart=true'/>
<embed src='swfs/videoPlayer.swf' width='640' height='377' id='videoPlayer' quality='high' bgcolor='#000000' name='videoPlayer' allowfullscreen='true'
pluginspage=' http://www.adobe.com/go/getflashplayer' flashvars='&videoWidth=0&videoHeight=0
&dsControl=manual&dsSensitivity=100
&serverURL=rtmp://localhost/live/livestream
&DS_Status=true&streamType=live&autoStart=true' type='application/x-shockwave-flash'>
</embed>
</object>
</body>
</html>
I have also copied all files from samples/applications/live (allowedHTMLdomains.txt, allowedSWFdomains.txt, Application.xml, main.asc, main.far) to applications/live as instructed in applications/live/readme.txt.
I can access http://localhost/live html and I can see the page ( http://localhost/live.html) with the embeded swf player and live stream playing.
But when I try to access this page from a computer within LAN or from WAN, all I can see is player, but no video stream is played (after attempting some time to play the stream, the player fails with a message that there was a connection error).
What surprises me most is that a stream from a file (e.g. vod/sample2_1000kbps.f4v) plays on any computer inside of LAN or even from the outside network, while a live stream cannot be accessed.
Am I missing something obvious here?
I'm sorry if that problem was already solved and I'm repeating some old already answered questions, but I really couldn't find any similar problem on the net.
Any help would be greatly appreciated, because this problem is torturing me for a quite few days now. :)
Best regards,
elektroljub
