1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-23 00:22:19 +00:00

Ghostream now uses SRT rather than RTMP (even if it is not implemented yet)

This commit is contained in:
Yohann D'ANELLO 2020-09-29 19:12:29 +02:00
parent 5b5bf2b518
commit 0adecb07cd

View File

@ -21,7 +21,7 @@
<ul> <ul>
<li> <li>
<b>Serveur :</b> <b>Serveur :</b>
<code>rtmps://{{.Cfg.Hostname}}:1935/stream</code>, <code>srt://{{.Cfg.Hostname}}:9710</code>,
</li> </li>
<li> <li>
<b>Clé de stream :</b> <b>Clé de stream :</b>
@ -45,9 +45,10 @@
<h3>Avec FFmpeg</h3> <h3>Avec FFmpeg</h3>
<p> <p>
<code> <code>
{{/* FIXME replace with good SRT params */}}
ffmpeg -re -i mavideo.webm -vcodec libx264 -vprofile baseline ffmpeg -re -i mavideo.webm -vcodec libx264 -vprofile baseline
-acodec aac -strict -2 -f flv -acodec aac -strict -2 -f flv
rtmps://{{.Cfg.Hostname}}:1935/stream/IDENTIFIANT?pass=MOT_DE_PASSE srt://{{.Cfg.Hostname}}:9710/IDENTIFIANT?pass=MOT_DE_PASSE
</code> </code>
</p> </p>