S sandeep New Member Aug 16, 2022 #1 Hi, Participant local video should be show on mirror effect is there any option from flashphoner side to active mirror effect?
Hi, Participant local video should be show on mirror effect is there any option from flashphoner side to active mirror effect?
Max Administrator Staff member Aug 16, 2022 #2 Hello, For video element, mirroring can be done with CSS: Code: localVideo.style.transform = 'scaleX(-1)'; For streaming mirrored video, Canvas can be used, with scaling applied to its context: Code: var canvasContext = canvas.getContext("2d"); canvasContext.translate(canvas.width, 0); canvasContext.scale(-1, 1);
Hello, For video element, mirroring can be done with CSS: Code: localVideo.style.transform = 'scaleX(-1)'; For streaming mirrored video, Canvas can be used, with scaling applied to its context: Code: var canvasContext = canvas.getContext("2d"); canvasContext.translate(canvas.width, 0); canvasContext.scale(-1, 1);