stream_auth/README

36 lines
1.1 KiB
Plaintext
Executable File

DOCUMENTAÇÃO STREAM ALICE:
PACOTES ENVOLVIDOS:
NGINX
APACHE
NGINX:
Compilado e instalado manualmente em /usr/local/nginx
Binário: /usr/local/nginx/sbin/nginx
Conf: /usr/local/nginx/conf/nginx.conf
Serviço: TODO
Exemplo/Tutorial usado: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-video-streaming-server-using-nginx-rtmp-on-ubuntu-20-04
Server RTMP
Porta: 33000
DASH (arquivo de vídeo): /var/www/html/stream
Revese proxy apache (substitua VIDEO pela chave usada no OBS): https://alice.dcomp.ufsj.edu.br/cast/dash/VIDEO.mpd
Player HTML:
Porta: 44000
Root: /var/www/html/stream/dash_player
Revese proxy apache: https://alice.dcomp.ufsj.edu.br/cast/player
TODO: /VIDEO apos player para pegar a CHAVE
APACHE:
Reverse proxy:
Config em: /etc/apache2/sites-enabled/alice.dcomp.ufsj.edu.br.conf
ProxyPass: /cast http://localhost:44000
OBS:
Configurações>Transmissão>
Serviço: Personalizado
Servidor: rtmp://alice.dcomp.ufsj.edu.br:33000/live
Chave (por enquanto apenas a chave 'test'): A chave será o arquivo gerado na pasta /var/www/html/stream/CHAVE.mpd