How to enable/disable HTTP handoff to Flash proxy via policy

book

Article ID: 168257

calendar_today

Updated On:

Products

Asset Management Solution ProxySG Software - SGOS

Issue/Introduction

New CPL format gestures have been added to ProxySG as of SGOS 6.5.5.2 for enabling/disabling HTTP handoff to Flash (RTMP) proxy.

Here is CPL action usage:
streaming.rtmp.http_handoff(auto|yes|no)

Auto: Implies that when this action is triggered, the request will use whatever is set globally for HTTP handoff in Flash proxy.
Yes: Enables HTTP handoff when the action is triggered.
No: Disables HTTP handoff when the action is triggered.
 

Resolution

You can write policy to set a rule that matches a condition (i.e. specific websites) that triggers the action.

For example, if you have HTTP handoff ENABLED (which is default) and you want to disable it for example.com and company.com, you could use the CPL in the following manner:

<proxy>
category=no_handoff_sites streaming.rtmp.http_handoff(no)

define category no_handoff_sites
example.com
company.com
end 

*Note: As of the date of this article, this policy gesture is not yet available for use in the VPM.