This example is part of this article.
This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features:
- Domain filtering
- Referrer filtering
- Embed buster
by me, guys u can test have some difference. :D | |
a <-------------> e | |
a: need low cpu | |
e: need high cpu | |
a | |
8x8dct=1 aq-mode=2 bframes=1 chroma-qp-offset=1 colormatrix=smpte170m deblock=0:0 direct=auto ipratio=1.41 keyint=240 level=3.1 me=hex merange=16 min-keyint=auto mixed-refs=1 no-mbtree=0 partitions=i4x4,p8x8,b8x8 profile=main psy-rd=0.5:0.0 qcomp=0.6 qpmax=51 qpmin=10 qpstep=4 ratetol=10 rc-lookahead=30 ref=1 scenecut=40 subme=5 threads=0 trellis=2 weightb=1 weightp=2 |
var startAllFeeds = "false"; | |
var feedAccts = [6388794,16559084,16559088,16559095,16559099]; | |
var feedEvents = [4789152,4789131,4789946,4798444,4798455]; | |
var baseUrl = "https://new.livestream.com/accounts/"; | |
var endOfUrl = "/player?pre_event_poster=http://i.imgur.com/mfmMPYJ.jpg&post_event_poster=http://i.imgur.com/mfmMPYJ.jpg&width=1280&height=720&autoPlay=true&mute=false"; | |
var camBarString = "<p><center><div style=\"margin:0 auto;\"> <a href='javascript:switchToQuad()'>Quad</a> | <a href='javascript:switchCam(" + feedAccts[0] + "," + feedEvents[0] + ")'>Cam 1</a> | <a href='javascript:switchCam(" + feedAccts[1] + "," + feedEvents[1] + ")'>Cam 2</a> | <a href='javascript:switchCam(" + feedAccts[2] + "," + feedEvents[2] + ")'>Cam 3</a> | <a href='javascript:switchCam(" + feedAccts[3] + "," + feedEvents[3] + ")'>Cam 4</a></div></center></p>"; | |
var hdCamString = function (feedAcct, feedEvent) { return "<center><iframe id='live-feeds-iframe |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule ^index\.php$ - [L] | |
RewriteRule (.*) ./index.php?id=$1 [L] | |
</IfModule> |
<?php //(c) Kevin Glazenburg 4/6/2012 | |
// This code assumes you have a url like | |
// http://www.example.com/gender.php?getImage=%nick%&prefix=%prefix% in your userListCustomIcons parameter. | |
// And that this file has been uploaded to that place. | |
// And that you have a function called getGender() in your php that returns a 1 when the nicks gender is male | |
// And 2 when the nicks gender is female. You need to make this function in php yourself. | |
// But you can find an example here: https://gist.github.com/4412613 | |
if ($_GET['getImage']) { | |
$nick = strtolower($_GET['getImage']); |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>lightIRC Config Generator - By MaleXachi</title> | |
<meta charset='utf-8'> | |
<?php | |
header("Expires: Mon, 26 Jul 1990 05:00:00 GMT"); | |
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); | |
header("Cache-Control: no-store, no-cache, must-revalidate"); | |
header("Cache-Control: post-check=0, pre-check=0", false); |
Easy shortcutz | |
Check versions aptget | |
cutz Mumura install macchanger dzinstall fuckerz Test Proxies APTTTTT aptlocks MySQL SSL Certz Cloudflare API yo | |
goodbax goodtrance yopara aria2conf ytzgood dzcron apttt sshconf sudoersconf newencode Desktopz kdeplasma goodssl dapathztrimmed NEW 7z shit mysqlcreateuser | |
7z-loop-extract esdwim Vimeo Dual M3U8 Make Shortcut SiteKeys UPLOAD MEGA 7z shit robocopycommands Scannerz | |
Apt.20.04 Install Powershell Bax Winblows Create Users Install Zimbra Ubuntu Upgrade New SSL Certz rpm2deb Release apt lock Check MX Domain Lists Clean files from text vmware folders | |
megatools megatoolz Sort Dedupe PMTA Install Proxy Scan! # Proxy Checker | |
# Nginx psvue config | |
# Build nginx | |
DZ pathzx |
VERSION 2 | |
;Before u do anything type !movieclear on irc or /movieclear if ur on the bot | |
;Commands | |
;!movielist - Lists movies (local /movielist) | |
;!movieadd - adds movies only working for the nick devillish2 (local /movieadd) | |
;!movienext - changes to the next movie only working for mods (local /movienext) | |
;!movieclear - clears movielist only working for the nick devillish (local /movieclear) | |
;!nowplaying - current movie (local /nowplaying) | |
;!nextplaying - next movie (local /nextplaying) | |
on *:TEXT:*!movielist*:#BigBrother: { |
<head> | |
<meta name="robots" content="noindex, nofollow"> | |
<meta name="revisit-after" content="3 days"> | |
<meta http-equiv="cache-control" content="max-age=0" /> | |
<meta http-equiv="cache-control" content="no-cache" /> | |
<meta http-equiv="expires" content="Tue, 01 Jan 2020 1:00:00 GMT" /> | |
<meta http-equiv="pragma" content="no-cache" /> | |
</head> | |
<?php |
Server Setup (dz) | |
FFMPEG + RCLONE + YOUTUBE-DL + LIVESTREAMER | |
passwd | |
nano /root/.ssh/authorized_keys | |
nano /etc/ssh/sshd_config | |
################export MAKEFLAGS="-j4" |
This example is part of this article.
This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features: