mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Fix issue on audio calls
This commit is contained in:
		@@ -254,11 +254,12 @@ class CallWindow extends CustomEvents {
 | 
			
		||||
				)
 | 
			
		||||
 | 
			
		||||
				// Video button
 | 
			
		||||
				setButtonSelected(
 | 
			
		||||
					bottomArea.querySelector("[data-label=\"camera\"]"),
 | 
			
		||||
					this.mainStream && this.mainStream.getVideoTracks().length > 0 && 
 | 
			
		||||
						this.mainStream.getVideoTracks()[0].enabled
 | 
			
		||||
				)
 | 
			
		||||
				if(this.allowVideo)
 | 
			
		||||
					setButtonSelected(
 | 
			
		||||
						bottomArea.querySelector("[data-label=\"camera\"]"),
 | 
			
		||||
						this.mainStream && this.mainStream.getVideoTracks().length > 0 && 
 | 
			
		||||
							this.mainStream.getVideoTracks()[0].enabled
 | 
			
		||||
					)
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			this.on("localVideo", () => {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user