[Live-devel] Sever dies when using NAT

Hyperbit hyperbit at gmail.com
Mon Nov 28 09:32:38 PST 2005


Ross,

Im back to testing this using your code only.

It seems that when I try and view the stream from outside the
firewall, it uses TCP as the streaming protocol, and inside the
firewall it uses UDP.

Does this help?

John

On 11/27/05, Hyperbit <hyperbit at gmail.com> wrote:
> Ok tried this with the "core code", and it still fails in the same
> place. What I noticed is
>
> 1) On the internal LAN, all UDP ports are freely available
> 2) On the external side of the firewall TCP port 8554 and UDP ports
> 3700-4700 are open
>
> Im thinking there may be a problem with the UDP ports on the firewall?
>
>
> On 11/27/05, Ross Finlayson <finlayson at live555.com> wrote:
> >
> > >When I look at the server, it has exited (via exit(0) )
> > >
> > >void BasicTaskScheduler::SingleStep() {
> > >.
> > >.
> > >.
> > >// Unexpected error - treat this as fatal:
> > >     perror("BasicTaskScheduler::SingleStep(): select() fails");
> > >     exit(0);
> > >.
> > >.
> > >.
> > >}
> > >
> > >Now that I have no hair left to tear out, any idea what I am doing wrong?
> >
> > I don't know, because I didn't write your code :-)  However, when
> > "select()" fails, it is often because it is being called with a file
> > descriptor that no longer exists (because it has been closed).  (You
> > can perhaps confirm this by looking at "errno".)  So, I suggest
> > looking for ways in which one of your sockets might get closed unexpectedly.
> >
> >
> >         Ross Finlayson
> >         Live Networks, Inc. (LIVE555.COM)
> >         <http://www.live555.com/>
> >
> > _______________________________________________
> > live-devel mailing list
> > live-devel at lists.live555.com
> > http://lists.live555.com/mailman/listinfo/live-devel
> >
>



More information about the live-devel mailing list