Ich habe die Wowza Streaming Engine auf dem AWS mit dem Anwendungsnamen "live" eingerichtet. Ich habe alle notwendigen Ports für die Wowza auf dem AWS geöffnet, um den Videostream zu empfangen und erneut zu übertragen.Der Stream auf der Wowza Streaming Engine kann nicht veröffentlicht werden. Server erstellt und sofort zerstöre Strom
Ich nehme Stream von NVR im LAN und Veröffentlichung der Video-Stream von Ubuntu-Maschine mit FFMPEG mit unten Befehl auf Wowza Server.
Es gibt mir folgenden Fehler nach etwa 60 Sekunden auf dem Terminal.
Also, ich habe das Wowza-Server-Protokoll für jeden Hinweis überprüft und ich fand dies.
2016-09-27 08:22:31 UTC comment server INFO 200 - MediaCasterStreamValidator.init[live/_definst_]: Started
2016-09-27 08:22:31 UTC comment server INFO 200 - ModuleCoreSecurity.onAppStart[live/_definst_]: Publish: AllowedEncoders: securityPublishValidEncoders:Wirecast/|FME/|FMLE/|Wowza GoCoder*|Lavf/|UA Teradek/|KulaByte/|VidBlaster/|XSplit/|PESA
2016-09-27 08:22:31 UTC comment server INFO 200 - ModuleCoreSecurity.onAppStart[live/_definst_]: Publish: block duplicate stream names : false
2016-09-27 08:22:31 UTC comment server INFO 200 - ModuleCoreSecurity.onAppStart[live/_definst_]: Publish: RTMP Authorization: password file:/usr/local/WowzaStreamingEngine/conf/publish.password
2016-09-27 08:22:31 UTC comment server INFO 200 - ModuleCoreSecurity.onAppStart[live/_definst_]: Play: SecureConnection: securityPlayRequireSecureConnection:false
2016-09-27 08:22:31 UTC comment server INFO 200 - ModuleCoreSecurity.onAppStart[live/_definst_]: Play: securitySecureTokenVersion property is missing, using SecureToken Version 1, play security enabled for RTMP only
2016-09-27 08:22:31 UTC app-start application INFO 200 _definst_ live/_definst_
2016-09-27 08:22:31 UTC connect-pending session INFO 100 <incomming IP> - _defaultVHost_ live _definst_ 2.975 [any] 1935 rtmp://xx.xx.xx.xx:1935/live <incomming IP>` rtmp - unknown 1873157588 3178 3073 - - - - - - - - - - - - - rtmp://xx.xx.xx.xx:1935/live -
2016-09-27 08:22:31 UTC connect session INFO 200 <incomming IP> - _defaultVHost_ live _definst_ 2.975 [any] 1935 rtmp://xx.xx.xx.xx:1935/live <incomming IP> rtmp - unknown 1873157588 3178 3073 - - - - - - - - - - - - - rtmp://xx.xx.xx.xx:1935/live -
2016-09-27 08:22:32 UTC create stream INFO 200 - - _defaultVHost_ live _definst_ 0.0 [any] 1935 rtmp://xx.xx.xx.xx:1935/live <incomming IP> rtmp - unknown 1873157588 3297 3565 1 0 0 0 - - - - - - rtmp://xx.xx.xx.xx:1935/live rtmp://xx.xx.xx.xx:1935/live - rtmp://xx.xx.xx.xx:1935/live -
2016-09-27 08:22:33 UTC destroy stream INFO 200 - - _defaultVHost_ live _definst_ 1.644 [any] 1935 rtmp://xx.xx.xx.xx:1935/live <incomming IP> rtmp - unknown 1873157588 3347 3796 1 0 0 0 - - - - - - rtmp://xx.xx.xx.xx:1935/live rtmp://xx.xx.xx.xx:1935/live - rtmp://xx.xx.xx.xx:1935/live -
2016-09-27 08:22:33 UTC disconnect session INFO 200 1873157588 - _defaultVHost_ live _definst_ 5.198 [any] 1935 rtmp://xx.xx.xx.xx:1935/live <incomming IP> rtmp - unknown 1873157588 3347 3796 - - - - - - - - - - - - - rtmp://xx.xx.xx.xx:1935/live -
2016-09-27 08:23:34 UTC app-stop application INFO 200 _definst_ live/_definst_
Also im Grunde ist die Server-Authentifizierung korrekt, aber Server startet den Stream und stoppt sofort.
Kann mir bitte jemand einen Zeiger geben, um nach diesem Fehler zu suchen?
Ich weiß nicht mehr, ob das mit Wowza funktioniert, aber versuche es mit '-f flv rtmp: // [Benutzername: Passwort @] Server [: Port] [/ App] [/ Instanz] [/ Spielpfad]'. – aergistal
@aergistal, ich habe diese Methode bereits ausprobiert, aber das zurückgegeben mir RTMP_0 Paket fehlt Fehler. Also änderte ich den Befehl und versah sie mit 'pubUser = un pubPasswd = pw'. –