Question
Unable to view Live Stream
Hi,
I have installed FMS 2 on Linux & it is running fine. All the ports are default i.e. FMS port is 1935 & Admin port is 1111. I want to view a video stream which is coming from a Webcam on a Windows XP machine which is running the Encoder.
The only confusion I have is that if the URL to be provided to the encoder should look like this,
rtmp://myhost.com:1935/myLiveApp/instance1
OR
rtmp://myhost.com/myLiveApp/instance1
Also, on the client side(i.e. browser) I am using Flex VideoDisplay component to view this video stream, which of
the above URLs should be the source of the video stream. Currently I have set up VideoDisplay as,
<mx:VideoDisplay id="myVid" height="158" width="211" live="true" source="rtmp://myhost.com:1935/myLiveApp/instance1" autoPlay="false"/>
I don't see the Video & the SWF in the browser opens an error saying "Error: 1000: Unable to make connection to server or to find FLV on server.". The additional factors which I suspect have a role are,
- The PC with Encoder is behind a firewall/router
- The PC running the browser(different from the one with Encoder) is also behind a firewall/router
- I am not sure of which ports to be opened on firewall/routers & on the Linux side.
Please help.
Thanks,
Aejaz
I have installed FMS 2 on Linux & it is running fine. All the ports are default i.e. FMS port is 1935 & Admin port is 1111. I want to view a video stream which is coming from a Webcam on a Windows XP machine which is running the Encoder.
The only confusion I have is that if the URL to be provided to the encoder should look like this,
rtmp://myhost.com:1935/myLiveApp/instance1
OR
rtmp://myhost.com/myLiveApp/instance1
Also, on the client side(i.e. browser) I am using Flex VideoDisplay component to view this video stream, which of
the above URLs should be the source of the video stream. Currently I have set up VideoDisplay as,
<mx:VideoDisplay id="myVid" height="158" width="211" live="true" source="rtmp://myhost.com:1935/myLiveApp/instance1" autoPlay="false"/>
I don't see the Video & the SWF in the browser opens an error saying "Error: 1000: Unable to make connection to server or to find FLV on server.". The additional factors which I suspect have a role are,
- The PC with Encoder is behind a firewall/router
- The PC running the browser(different from the one with Encoder) is also behind a firewall/router
- I am not sure of which ports to be opened on firewall/routers & on the Linux side.
Please help.
Thanks,
Aejaz
