slowdmelendez360
slowdmelendez360

Reputation: 83

Hide m3u8 file with php or html

I have a .m3u8 file from an external server.

Example: (https://rt-usa.secure.footprint.net/1105.m3u8?streamType=live) The free-to-air tv signal from RT.

Is it possible to "hide" the m3u8 route using a domain?

Example: www.mysite.com/stream/rt.php

And that when it is played in VLC or a similar one, it reproduces the content by reading the source url directly.

Upvotes: 0

Views: 3007

Answers (1)

Bruno Leyne
Bruno Leyne

Reputation: 369

The possible ways to to this:

  1. Insert a redirect header using php file

<?php header('Location: rt-usa.secure.footprint.net/1105.m3u8?streamType=live');

  1. In .htaccess (Apache) or NGinx.

Upvotes: 1

Related Questions