rtsp redirect

well, i think that redirection is the only thing i need to control.

thanks

Hi,

Have had time to make any progress on this?

hi, could you explain a bit more the principles of youur solution?

i’ve searched around and it seems to me that the RTSP REDIRECT instruction is not suitable for load balancing. If i understand correctly, REDIRECT must be issued after the client has received the answer to it’s DESCRIBE instruction, hence, after the stream is set up.

If i’m right, it would be much more interesting to implement OPTIONS 302 (like HTTP 302 redirection) to do RTSP load balancing. Besides, it seems that manuy media player seem to not implement REDIRECT (i’ve read that vlc, WMP ad Quiktime does not understand REDIRECT)

am i wrong?

Hi, I suggest you to use java sockets to get redirect response from streaming server. It worked for me.

Hi Quincy,

You have a WAP page or something that your Android devices are browsing to, right? Couldn’t you just query http://[load-balancer-ip-address]:1935/loadbalancer, then when the client clicks the play button for a particular video, present them with the RTSP IP/URI to the least loaded server?

I was wondering if there was any way to use the load balancer for rtsp? The documentation mentions using http and rtmp, but what do most people do for rtsp load balancing?

Quincy

This is an option but a single link must be presented and I am unsure as to how to make that work. For http a 302 redirect is in place. Could the same be done for rtsp?