Forum Discussion

Torres_181519's avatar
Torres_181519
Icon for Nimbostratus rankNimbostratus
Jan 03, 2018

RTSP uri

Hi everyone:

 

I have a question,My multiple streaming media server uses Microsoft's MMS protocol. I want to make a redirect to the real streaming server when a lot of clients access VS.How to achieve this demand?My LTM software version is 11.6.1。I consider using RTSP Profile or iRules,But I am not sure whether it can be achieved。my friend told me the iRules can be achieved,see below:

 

regexp "rtsp://./(.)$" [RTSP::uri] url file

 

set newuri "mms://x.x.x.x/$file"

 

RTSP::respond 302 MOVED_TEMPORARILY "Server: F5-redirector\r\nLocation: $newuri\r\nConnection: close\r\n\r\n"

 

Is anyone help me answer it? or give me a complete iRules. Thank you very much!

 

No RepliesBe the first to reply