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
| import discord | |
| from discord.ext import commands | |
| import datetime | |
| from urllib import parse, request | |
| import re | |
| bot = commands.Bot(command_prefix='>', description="This is a Helper Bot") | |
| @bot.command() |
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:
This is unofficial documentation for Picarto.tv's service APIs. I'm not responsible for anything you do with this information; it is provided as is with no guarantees.
It looks like there is an official well-documented api now: https://docs.picarto.tv/api/ Please use that instead!
| import BaseHTTPServer | |
| import SimpleHTTPServer | |
| import socket | |
| class HTTPServer6(BaseHTTPServer.HTTPServer): | |
| address_family = socket.AF_INET6 | |
| if __name__ == '__main__': |
| login url | |
| <?php echo Mage::getUrl('customer/account/login'); ?> | |
| logout url | |
| <?php echo Mage::getUrl('customer/account/logout'); ?> | |
| My Account url | |
| <?php echo Mage::getUrl('customer/account'); ?> | |
| Register url |
| #! /bin/bash | |
| # | |
| # Diffusion youtube avec ffmpeg | |
| # Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée. | |
| VBR="2500k" # Bitrate de la vidéo en sortie | |
| FPS="30" # FPS de la vidéo en sortie | |
| QUAL="medium" # Preset de qualité FFMPEG | |
| YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube |