Domain Lock¶
Protection against inserting your video on other sites works only with clients that use Referer HTTP header or another field that identifies the address of the web page from which the video playback was requested. Mainly, it works with the Flash Player. For example, iOS devices do not send Referer.
You can enable this protection in the configuration file. For this purpose add the domains
parameter to specify the domains where the video can be played:
stream example {
input fake://fake;
domains myhost.com .myhost.com;
}
live user15 {
domains myhost.com *.myhost.com;
}
It's important to note that it's a fairly simple protection, it will work only with simple embedding schemes. You may use CORS for player protection instead if your case is more complicated.