Hello again,
Thanks for the answer but I am afraid there is another problem.
This is my code, perhaps somebody can see an error. As mentioned before. The
connection to my Server works if I am using the same machine, but when I try to
connect from an other PC to my red5 Server (windows or fedora) I do not get a
connection via my LAN.
Because ofthis i do not think there is a problem in my code. Nobody had a
similar problem?
Thanks.
radioon
---------
on (press){
var nc:NetConnection = new NetConnection();
var connected:Boolean = nc.connect(_root.host);
log("Verb. hergestellt (" + _root.host + "): " + connected.toString());
_root.ns = new NetStream(nc);
_root.ns.onStatus = function(info) {
trace("LOG"+info.code);
if (info.code == "NetStream.Buffer.Empty") {
log("Buffer leer");
}
if (info.code == "NetStream.Buffer.Full") {
log("Buffer befüllt.");
}
};
_root.videop.attachVideo(_root.ns);
_root.ns.setBufferTime(3);
}
----------
-------- Original-Nachricht --------
Datum: Sat, 6 Jan 2007 16:02:32 -0800 (PST)
Von: oke _ <[EMAIL PROTECTED]>
An: [email protected]
Betreff: Re: [Red5] no connection to Server via LAN
> You may want to check that in your .as code that all your URLs are the
> same as the URL of your server (as seen from your client across the network).
> For example, if your server is at 192.168.1.200, then all your rtmp URLs
> in your .as files should be bound to that same IP address - and *not*
> 'localhost'
>
> Gellert Kovacs <[EMAIL PROTECTED]> wrote: Hello guys,
>
> I've written a player which connects to my red5 server [running on windows
> and olso tried on fedora] using the common net connection Object from
> flash.
>
> When running the file [the whole palyer] local everything is fine. But
> when I try to connect to the Server within the LAN (no wirefall at all) I do
> not get a connection. At that time firefox displays "connecting to
> 192.168.1...." in the status-bar.
>
> Short: working localy, but not via LAN!
>
> Do you have an idea?
> Thanks a lot.
> radioon
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org