mirror of
				https://gitlab.crans.org/nounous/ghostream.git
				synced 2025-11-04 04:12:10 +01:00 
			
		
		
		
	Export config
This commit is contained in:
		@@ -22,8 +22,10 @@ var (
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// Serve handles incoming packets from SRT and forward them to OME
 | 
			
		||||
func Serve(streams *messaging.Streams, cfg *Options) {
 | 
			
		||||
	if !cfg.Enabled {
 | 
			
		||||
func Serve(streams *messaging.Streams, c *Options) {
 | 
			
		||||
	cfg = c
 | 
			
		||||
 | 
			
		||||
	if !c.Enabled {
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user