1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-07-07 12:33:59 +02:00

Restructure configuration

This commit is contained in:
Alexandre Iooss
2020-09-22 11:42:57 +02:00
parent c799a5b613
commit 5ac336393b
11 changed files with 107 additions and 104 deletions

View File

@ -1,8 +1,8 @@
{{define "index"}}
<div style="max-width:720px;margin:0 auto; padding: 1rem">
<h1>{{.Cfg.Site.Name}}</h1>
<h1>{{.Cfg.Name}}</h1>
<p>
{{.Cfg.Site.Name}} est un service maintenu par le
{{.Cfg.Name}} est un service maintenu par le
<a href="https://crans.org/">Crans</a> permettant de diffuser
un contenu vidéo. Il a pour but d'être utilisé pour diffuser
des séminaires ou évènements.
@ -21,7 +21,7 @@
<ul>
<li>
<b>Serveur :</b>
<code>rtmps://{{.Cfg.Site.Hostname}}:1935/stream</code>,
<code>rtmps://{{.Cfg.Hostname}}:1935/stream</code>,
</li>
<li>
<b>Clé de stream :</b>
@ -41,7 +41,7 @@
<p>
Votre stream sera alors disponible sur
<code>https://{{.Cfg.Site.Hostname}}/IDENTIFIANT</code>.
<code>https://{{.Cfg.Hostname}}/IDENTIFIANT</code>.
</p>
<h3>Avec FFmpeg</h3>
@ -49,7 +49,7 @@
<code>
ffmpeg -re -i mavideo.webm -vcodec libx264 -vprofile baseline
-acodec aac -strict -2 -f flv
rtmps://{{.Cfg.Site.Hostname}}:1935/stream/IDENTIFIANT?pass=MOT_DE_PASSE
rtmps://{{.Cfg.Hostname}}:1935/stream/IDENTIFIANT?pass=MOT_DE_PASSE
</code>
</p>