AxisCommunications / locomote-video-player

Media Player in Adobe Flash with RTSP support. (THIS PROJECT IS NO LONGER MAINTAINED)
BSD 3-Clause "New" or "Revised" License
133 stars 79 forks source link

Add possibility to load a custom policy file #149

Closed gaetancollaud closed 9 years ago

gaetancollaud commented 9 years ago

Since Locomote use Socket, Flash try to get the the policy file from the host on port 843.

This change add the possibility to load a custom policy file. It could be very helpful if you want to load the cross-domain policy file on a different port. If you work in business environment with all ports locked (except the standard ones) this could help you use locomote anyway.

In our company we use HaProxy and it very easy to handle the cross-domain request from flash on port 80 for example. I can post a configuration file if someone is interested.