Hey Chris,

Yep, Make a lot of sense.to me now.

Was just thinking a few minutes ago.

Now that I have RTMP and RTMPT both rerouted to port 80
via Apache, Tomcat and mod_jk, seems like to avoid the overhead
of RTMPT,  I could just continue to use RTMP and exercise a little
more control over the app.

One thing I would like to know is and I will trying to test that today,
since I now have port 8080 (which Tomcat is running internally) hidden from
the outside world and rerouted to port 80 via port 8009 if those users with
5080, 8080 blocked can now access RED5 without any problems.

Basically, at the moment I have both RTMP and RTMPT routed to port 80
for web display.

Hey Chris, Thanks for your feedback.

Regards,

Lenny


On 6/26/07, Chris Allen <[EMAIL PROTECTED]> wrote:

Lenny,

You can think of RTMPT as polling using HTTP. So it's like Flash
asking the server over and over, "do you have something for me",  "do
you have something for me",  "do you have something for me",  "do you
have something for me",  etc...

That's obviously a lot of overhead if you don't need it.

Make sense?

-Chris

On 6/25/07, Lenny Sorey <[EMAIL PROTECTED]> wrote:
> Hey Chris,
>
> Thanks so much for your layman explanation.
>
> This I understand.
>
> In a sense, I have been doing this partially via Shared Objects
> which I like very much.
>
> I have heard AMF Gateway mentioned so much that I thought I would
> step up to the plate, play dumb and ask the question.
>
> RTMP is basically a SOAP approach, which is good. Sometime persistent
> is a good thing.
>
> And the HTTP response is pretty Much a Post and Request item.
>
> This leads me to another question or should I say a request of both
camps
> that support either AMF via RMPT or AMF via HTTP.
>
> What are the strengths and weaknesses of both?
>
> I will have to admit, I really thought AMF Gateway talking was talking
about
> connecting
> one RED5 server to another RED5 Server and passing items back and forth
to
> each other
> which with either solution I guess is possible.
>
> But again, thanks for your insight and comments.
>
> And I also agree with Jeremy Lu. This is one of the best explanations I
have
> heard.
>
> Regards,
>
> Lenny
>
>
>
> On 6/25/07, Chris Allen <[EMAIL PROTECTED]> wrote:
> > Lenny,
> >
> > Think of AMF like this. It's a binary data format for passing objects
> > to and from the Flash player.
> >
> > You can send these objects over RTMP, which means it's a persistent
> > connection over TCP. Things can flow back and forth over this
> > connection like a pipe that allows stuff to flow in both directions.
> > Things in this case are AMF objects. Most of the examples shipped with
> > Red5 are using this method.
> >
> > You can also pass AMF objects over HTTP, meaning a call and response
> > protocol. So it goes something like this Flash connects to the server
> > and Flash says: "server give me this object", the server responds,
> > "here it is", and it hands the AMF object to Flash and closes the
> > connection.
> >
> > With HTTP there's no way for Flash to be passed something by the
> > server without it making a connection again and requesting it. The
> > down side of RTMP is that the connection is always there taking up
> > resources.
> >
> > Passing AMF objects like this over HTTP is called "Flash remoting".
> >
> > I hope my explanation combined with the links that Thijs sent you is
> helping.
> >
> > -Chris
> >
> >
> >
> > On 6/25/07, Lenny Sorey <[EMAIL PROTECTED]> wrote:
> > > At the risk of looking ignorant, which by the way I will admit I am,
I
> > > realize that I don't know anything
> > > about AMF Remote Objects.
> > >
> > > Please bear with me on this one.
> > >
> > > Exactly what is AMF?
> > > Are there any examples besides the one on Echo Test?
> > > Where can I get some info to read up on this so that I can start to
> > > understand this
> > > and I can at least ask an intelligent question about AMF?
> > >
> > > I have worked with using remote objects successfully with the Video
> > > Conference app I have
> > > but have no idea how this would work with AMF.
> > >
> > > Sorry if question seems a bit stupid, but as Forrest Grump says
> > > "Stupid is as Stupid does".
> > >
> > > Right now, Stupid is asking a question about AMF. : )
> > >
> > > Thanks,
> > >
> > > Lenny
> > > _______________________________________________
> > > Red5 mailing list
> > > [email protected]
> > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > >
> > >
> >
> > _______________________________________________
> > Red5 mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
>
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to