forked from avipatilpro/JioTV
-
Notifications
You must be signed in to change notification settings - Fork 4
/
autoq.php
19 lines (17 loc) · 1.03 KB
/
autoq.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
// DO NO EDIT ANYTHING TO WORK PORPELY
// © @AvishkarPatil | https://github.com/avipatilpro
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;
printf("live.php?c=%s&q=250&e=.m3u8".PHP_EOL, $_GET['c']);
echo '#EXT-X-STREAM-INF:PROGRAM-ID=1,CLOSED-CAPTIONS=NONE,BANDWIDTH=400000,RESOLUTION=640x360'.PHP_EOL;
printf("live.php?c=%s&q=400&e=.m3u8".PHP_EOL, $_GET['c']);
echo '#EXT-X-STREAM-INF:PROGRAM-ID=1,CLOSED-CAPTIONS=NONE,BANDWIDTH=600000,RESOLUTION=842x480'.PHP_EOL;
printf("live.php?c=%s&q=600&e=.m3u8".PHP_EOL, $_GET['c']);
echo '#EXT-X-STREAM-INF:PROGRAM-ID=1,CLOSED-CAPTIONS=NONE,BANDWIDTH=800000,RESOLUTION=1280x720'.PHP_EOL;
printf("live.php?c=%s&q=800&e=.m3u8".PHP_EOL, $_GET['c']);
echo '#EXT-X-STREAM-INF:PROGRAM-ID=1,CLOSED-CAPTIONS=NONE,BANDWIDTH=1200000,RESOLUTION=1920x1080'.PHP_EOL;
printf("live.php?c=%s&q=1200&e=.m3u8".PHP_EOL, $_GET['c']);
?>