We are trying to implement a Live Streaming feature on our platform. We're a small startup so we would like to prototype something fast and see how it goes, we decided to support this through the Youtube API, a publisher will create a live stream in youtube and then the subscribers of this user on our platform will be directed to a page where they can see the stream (it's unlisted so it won't show unless you have the link).
The thing is that the YT API will response with the url of the broadcast used to stream the content, we plan to embed that url into an iframe and display it to our users. What we want is to control access and hide the source (for obvious reasons, if not, a user can share that url to more users and gain access to the video). I know this has been discussed sometimes here but no solutions were provided although some of the participants suggested is possible with a reverse proxy.
How can I hide the iframe source using a reverse proxy?Thanks in advance.