add record message
This commit is contained in:
parent
32254a9293
commit
f36c521b71
|
@ -2,7 +2,7 @@
|
|||
"embeds": [
|
||||
{
|
||||
"title": "RTMP Stream Offline!",
|
||||
"description": "Der Stream ist jetzt vorbei!",
|
||||
"description": "Der Stream ist jetzt vorbei!\n\nDu kannst dir eine Aufzeichnung anschauen. Öffne dazu den VLC Media Player, klicke oben links auf Medien und wähle Netzwerkstream. Dort trägst du dann folgene Adresse ein:\n\n%%record%%",
|
||||
"color": 10952768
|
||||
}
|
||||
],
|
||||
|
|
|
@ -31,6 +31,9 @@ while(TRUE)
|
|||
|
||||
$jsonStartMessage = str_replace("%%adresse%%", $StreamURL, $jsonStartMessage);
|
||||
$jsonStartMessage = str_replace("%%vorschau%%", "https://files.clatza.dev/tmp/rtmp/".$fileName, $jsonStartMessage);
|
||||
$jsonStartMessage = str_replace("%%record%%", "https://files.clatza.dev/tmp/rtmp/".$videoFileName, $jsonStartMessage);
|
||||
|
||||
$jsonEndMessage = str_replace("%%record%%", "https://files.clatza.dev/tmp/rtmp/".$videoFileName, $jsonEndMessage);
|
||||
|
||||
$startOptions = [
|
||||
'http' => [
|
||||
|
|
Loading…
Reference in New Issue