RTMP 302 redirect?

627 views
Skip to first unread message

Daniel Frith

unread,
Apr 10, 2010, 2:06:26 PM4/10/10
to c-rtmp-server
Does RTMP (and thus also your server) support redirecting?

i.e. to another IP, for some kind of load balancing.

I guess if not I could hack it by sending a message (containing a
different IP) to the flash app after initial connection. But that
would require custom code in the flash app to handle this event and
then attempt connection to the different IP which is not so tidy.

P.S. Any ETA on making it easy to send "custom messages on arbitrary
streams" (see my last post here)? :)

C++ RTMP Server

unread,
Apr 10, 2010, 3:55:51 PM4/10/10
to c-rtmp...@googlegroups.com

On Apr 10, 2010, at 9:06 PM, Daniel Frith wrote:

> Does RTMP (and thus also your server) support redirecting?

Honestly, I don't know. It can be done via response code though... For example, the flash player sends the connect invoke and the server would respond with NetConnection.Connect.Rejected and an error code. Looking at that, the flash player would also get a new location to connect to.

>
> i.e. to another IP, for some kind of load balancing.
>
> I guess if not I could hack it by sending a message (containing a
> different IP) to the flash app after initial connection. But that
> would require custom code in the flash app to handle this event and
> then attempt connection to the different IP which is not so tidy.
>
> P.S. Any ETA on making it easy to send "custom messages on arbitrary
> streams" (see my last post here)? :)

That I completely forgot. But, as I suggested many times, please open tickets on rtmpd.com. This way I can see them there and handle them.

Cheers,
Andrei


>
> You received this message because you are subscribed to "C++ RTMP Server" mailing list.
> To post to this group, send email to c-rtmp...@googlegroups.com
> To unsubscribe from this group, send email to
> c-rtmp-serve...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/c-rtmp-server?hl=en
>
> To unsubscribe, reply using "remove me" as the subject.

Daniel Frith

unread,
Apr 11, 2010, 1:01:49 PM4/11/10
to c-rtmp...@googlegroups.com
Ok. I will open a ticket. Thanks :)

C++ RTMP Server

unread,
Apr 12, 2010, 5:53:50 AM4/12/10
to c-rtmp...@googlegroups.com
Ticket solved

http://rtmpd.com/ticket/54

Cheers,
Andrei

Daniel Frith

unread,
Apr 12, 2010, 4:36:37 PM4/12/10
to c-rtmp...@googlegroups.com
That's awesome :)

I look forward to trying it out.

Jaroslaw Kowalski

unread,
Apr 13, 2010, 8:07:41 AM4/13/10
to c-rtmp...@googlegroups.com
does any1 try to start this on crtmpserver?

regards

szogunek

Reply all
Reply to author
Forward
0 new messages