mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	Use camera name instead of stream_name for jsmpeg players (#12219)
This commit is contained in:
		
							parent
							
								
									f9e1ad253f
								
							
						
					
					
						commit
						f050c7b37d
					
				| @ -171,7 +171,7 @@ export default function LivePlayer({ | ||||
|       player = ( | ||||
|         <JSMpegPlayer | ||||
|           className="flex justify-center overflow-hidden rounded-lg md:rounded-2xl" | ||||
|           camera={cameraConfig.live.stream_name} | ||||
|           camera={cameraConfig.name} | ||||
|           width={cameraConfig.detect.width} | ||||
|           height={cameraConfig.detect.height} | ||||
|           playbackEnabled={cameraActive || !showStillWithoutActivity} | ||||
|  | ||||
| @ -384,6 +384,7 @@ function MSEPlayer({ | ||||
|         onPlaying?.(); | ||||
|       }} | ||||
|       muted={!audioEnabled} | ||||
|       onPause={() => videoRef.current?.play()} | ||||
|       onProgress={() => { | ||||
|         if ((isSafari || isIOS) && !safariPlaying) { | ||||
|           setSafariPlaying(true); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user