Compare commits
	
		
			6 Commits
		
	
	
		
			522a254bb5
			...
			dcff1851dc
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| dcff1851dc | |||
| 94bbed6df2 | |||
| 5828528e83 | |||
| b8a6c33318 | |||
| 80bd6524a2 | |||
| db8ad02031 | 
							
								
								
									
										32
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										32
									
								
								README.md
									
									
									
									
									
								
							@@ -84,6 +84,8 @@ Für die bereitstellung des Video-Live-Streams über das Internet verwenden wir
 | 
			
		||||
 | 
			
		||||
### OBS-Studio
 | 
			
		||||
 | 
			
		||||
*[^ zum Anfang](#ausstattung)*
 | 
			
		||||
 | 
			
		||||
### MistServer
 | 
			
		||||
 | 
			
		||||
Der [MistServer](https://mistserver.org/) ist eine OpenSource Software, mit deren Hilfe man sehr einfach und komfortabel einen Video-Stream im Internet zur Verfügung stellen kann. Die Installation der OpenSource-Version ist unter [https://mistserver.org/download](https://mistserver.org/download) beschrieben und mit einer Zeile auf der Linux-Konsole erledigt:
 | 
			
		||||
@@ -125,31 +127,31 @@ Wir nutzen den Apache-Webserver mit folgenden Einstellungen (Servernamen als Bei
 | 
			
		||||
	
 | 
			
		||||
    ServerName video.domain.tld
 | 
			
		||||
    
 | 
			
		||||
	SSLEngine on
 | 
			
		||||
    DocumentRoot /var/www/html/
 | 
			
		||||
 | 
			
		||||
    SSLEngine on
 | 
			
		||||
    SSLCertificateFile /etc/letsencrypt/live/domain.tld/fullchain.pem
 | 
			
		||||
    SSLCertificateKeyFile /etc/letsencrypt/live/domain.tld/privkey.pem
 | 
			
		||||
    
 | 
			
		||||
	DocumentRoot /var/www/html/
 | 
			
		||||
    
 | 
			
		||||
    ProxyRequests off
 | 
			
		||||
 | 
			
		||||
    ProxyPreserveHost On
 | 
			
		||||
    SetOutputFilter proxy-html
 | 
			
		||||
	ProxyHTMLURLMap http://localhost:8080 /
 | 
			
		||||
 | 
			
		||||
    <Location "/">
 | 
			
		||||
    
 | 
			
		||||
        RewriteEngine on
 | 
			
		||||
        RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
 | 
			
		||||
        RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC]
 | 
			
		||||
        RewriteRule .* ws://localhost:8080%{REQUEST_URI} [P]
 | 
			
		||||
 | 
			
		||||
	    ProxyPreserveHost On
 | 
			
		||||
        ProxyPass http://localhost:8080/
 | 
			
		||||
        ProxyPassReverse http://localhost:8080/
 | 
			
		||||
	    ProxyHTMLURLMap /
 | 
			
		||||
        ProxyHTMLURLMap http://localhost:8080 /
 | 
			
		||||
        
 | 
			
		||||
    </Location>
 | 
			
		||||
    
 | 
			
		||||
    <Location "/admin">
 | 
			
		||||
    
 | 
			
		||||
        AuthType Basic
 | 
			
		||||
        AuthName "Restricted Content"
 | 
			
		||||
        AuthUserFile /etc/apache2/.video-admin
 | 
			
		||||
@@ -161,10 +163,9 @@ Wir nutzen den Apache-Webserver mit folgenden Einstellungen (Servernamen als Bei
 | 
			
		||||
        RewriteRule .* ws://localhost:4242%{REQUEST_URI} [P]
 | 
			
		||||
 | 
			
		||||
        ProxyPass http://localhost:4242/
 | 
			
		||||
        ProxyPassReverse http://localhost:4242/
 | 
			
		||||
        ProxyHTMLURLMap http://localhost:4242/
 | 
			
		||||
	    ProxyHTMLEnable On
 | 
			
		||||
	    ProxyHTMLURLMap  /      /
 | 
			
		||||
	    RequestHeader    unset  Accept-Encoding
 | 
			
		||||
        
 | 
			
		||||
    </Location>
 | 
			
		||||
 | 
			
		||||
    CustomLog /var/log/apache2/video.domain.tld.log combined
 | 
			
		||||
@@ -173,4 +174,15 @@ Wir nutzen den Apache-Webserver mit folgenden Einstellungen (Servernamen als Bei
 | 
			
		||||
</VirtualHost>
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Die Datei `/etc/apache2/.video-admin` kann wie folgt erstellt werden:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
apt install apache2-utils
 | 
			
		||||
htpasswd -c /etc/apache2/.video-admin <admin-benutzername>
 | 
			
		||||
New password: <admin-passwort>
 | 
			
		||||
Re-type new password: <admin-passwort>
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Mit diesen Einstellungen ist das Management-Interface vom MistServer nur noch über `https://video.domain.tld/admin` erreichbar und die Video-Streams unter `http://video.domain.tld/<Streamnummer>.html`. RTMP läuft weiterhin über Port 1935 und mit einem entsprechenden Programm (wie z.B. VLC-Player) können die Streams auch unter `rtmp://video.domain.tld:1935/play/<Streamnummer>` angesehen werden.
 | 
			
		||||
 | 
			
		||||
*[^ zum Anfang](#ausstattung)*
 | 
			
		||||
		Reference in New Issue
	
	Block a user