forked from dhruv-2015/cdn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jiotv.http.autoq.docker.php
18 lines (16 loc) · 1022 Bytes
/
jiotv.http.autoq.docker.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
include "ip.php";
header("Content-Type: application/vnd.apple.mpegurl");
echo '#EXTM3U'.PHP_EOL;
echo '#EXT-X-VERSION:3'.PHP_EOL;
echo '#EXT-X-STREAM-INF:PROGRAM-ID=1,CLOSED-CAPTIONS=NONE,BANDWIDTH=250000,RESOLUTION=426x240'.PHP_EOL;
echo 'http://'.$ip.'/live.php?c='.$_GET['c'].'&q=250&e=.m3u8'.PHP_EOL;
echo '#EXT-X-STREAM-INF:PROGRAM-ID=1,CLOSED-CAPTIONS=NONE,BANDWIDTH=400000,RESOLUTION=854x480'.PHP_EOL;
echo 'http://'.$ip.'/live.php?c='.$_GET['c'].'&q=400&e=.m3u8'.PHP_EOL;
echo '#EXT-X-STREAM-INF:PROGRAM-ID=1,CLOSED-CAPTIONS=NONE,BANDWIDTH=600000,RESOLUTION=1024x576'.PHP_EOL;
echo 'http://'.$ip.'/live.php?c='.$_GET['c'].'&q=600&e=.m3u8'.PHP_EOL;
echo '#EXT-X-STREAM-INF:PROGRAM-ID=1,CLOSED-CAPTIONS=NONE,BANDWIDTH=800000,RESOLUTION=1280x720'.PHP_EOL;
echo 'http://'.$ip.'/live.php?c='.$_GET['c'].'&q=800&e=.m3u8'.PHP_EOL;
echo '#EXT-X-STREAM-INF:PROGRAM-ID=1,CLOSED-CAPTIONS=NONE,BANDWIDTH=1200000,RESOLUTION=1920x1080'.PHP_EOL;
echo 'http://'.$ip.'/live.php?c='.$_GET['c'].'&q=1200&e=.m3u8'.PHP_EOL;
?>