Hello again
Actually I need this only on WAN...this is going to be a live streaming of a TV channel...so I need it to be playing on one html page on a 24/7 basis. The problem is, it doesn't work for me on WAN. it works on LAN though...
This is what I did:
1- I decided to stream a file at first rather than a captured video from my video card to avoid confusions at the first steps...
2- I opened VLC and Media --> Streaming --> File --> and I selected my video file, say mmp.wmv, which is about 250 megabytes.. and then I clicked on Stream button...
3- on the next window I checked HTTP, left the address blank, and chose port 8080
4- I chose windows (wmv/asf) for encapsulation and encoding, TTL 1...and then clicked on Stream
5- I created two .asx files, one for LAN and one for WAN ...this is the code in the asx files:
Code: Select all
<ASX version ="3.0">
<TITLE>Stream1234</TITLE>
<ENTRY>
<REF HREF="HTTP://my WAN IP:8080" />
</ENTRY>
</ASX>
as I mentioned, I made a second asx file for my LAN IP as well..
6- I created a simple webpage with the asx files embedded, saved it as index.htm... the code for this file is:
Code: Select all
<head>
<title>Page title</title>
</head>
<body>
<embed src="extstream1234.asx" >
<embed src="localstream1234.asx" >
</body>
</html>
where "localstream1234.asx" contains the LAN IP and "extstream1234.asx" contains my WAN IP, which I got from whatismyip.com
7- I uploaded all three files (two asx and one html) to my ftp server, and then tried opening it with IE, Firefox and Chrome...
8- two players appear in the webpage. All three browsers show the LAN streaming, but nothing for the WAN streaming...
9- I even tried checking MMSH with port 8080 and blank address, but it doesn't help.
10- I even opened a port (8001) for both TCP and UDP in my firewall for both Inbound and Outbound, didn't work either when I used that port (i am using windows 7 ultimate 64 bit)
11- I even tried to shut down the whole Firewall on my system, didn't help either...
12- I even tried to write mms instead of http in step 5, didn't help...
WAN says no, no and no to me all the time...what am I doing wrong?
completed confused...
any help is much appreciated
regards
Edwin