Answer the question
In order to leave comments, you need to log in
Online broadcast of the video stream only from the site, how?
There is a site, there is a separate server that gives a video stream (nginx-rtmp-module).
The site has a built-in html5 player that loads videos from this separate server.
Task: You need to allow video viewing, only directly from the site!
So that if you copy the link to the stream, it could not be played in the player or on another site!
Answer the question
In order to leave comments, you need to log in
There are two separate requirements, fulfilled in different ways.
1. Do not let you play on another site. This is achieved through a technique called hotlink protection, protection against direct insertion of links. The goal is to "tag" the link, to make it playable only on a certain IP address. As a rule, this is done by adding parameters to the URL. Look, such a feature should be in the module. If you can't, see how we did it .
2. Play only on the site, do not let you play in an arbitrary player. This item can be done only with the help of DRM - this is a very expensive pleasure. Without it, you can take the link and safely play on any player that has a valid link (see the previous paragraph). There is a variant of link obfuscation, in which it is difficult to "evaporate" from the page code. Wehere is described a similar technique, maybe it will come in handy.
See for yourself what you need.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question