mirror of
				https://gitlab.crans.org/nounous/ghostream.git
				synced 2025-11-04 15:42:26 +01:00 
			
		
		
		
	A static file is not a template
This commit is contained in:
		@@ -41,13 +41,13 @@ export function initViewerPage(stream, viewersCounterRefreshPeriod, posterUrl) {
 | 
				
			|||||||
        expandFullScreenUI: true,
 | 
					        expandFullScreenUI: true,
 | 
				
			||||||
        sources: [
 | 
					        sources: [
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                "file": "wss://" + window.location.host + "/app/{{.Path}}",
 | 
					                "file": "wss://" + window.location.host + "/app/" + stream,
 | 
				
			||||||
                "type": "webrtc",
 | 
					                "type": "webrtc",
 | 
				
			||||||
                "label": " WebRTC - Source"
 | 
					                "label": " WebRTC - Source"
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                "type": "hls",
 | 
					                "type": "hls",
 | 
				
			||||||
                "file": "https://" + window.location.host + "/app/{{.Path}}_bypass/playlist.m3u8",
 | 
					                "file": "https://" + window.location.host + "/app/" + stream + "_bypass/playlist.m3u8",
 | 
				
			||||||
                "label": " HLS"
 | 
					                "label": " HLS"
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user