Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: flip mode can be unsynced between tileview and large video (#15141)

Avram Tudoracc46c0c5f92
diff --git a/react/features/filmstrip/components/web/Thumbnail.tsx b/react/features/filmstrip/components/web/Thumbnail.tsx
index a9ca988daa..26492d15d6 100644
--- a/react/features/filmstrip/components/web/Thumbnail.tsx
+++ b/react/features/filmstrip/components/web/Thumbnail.tsx
@@ -100,11 +100,6 @@ export interface IProps extends WithTranslation {
*/
_audioTrack?: ITrack;
- /**
- * Indicates whether the local video flip feature is disabled or not.
- */
- _disableLocalVideoFlip: boolean;
-
/**
* Indicates whether enlargement of tiles to fill the available space is disabled.
*/
@@ -1024,7 +1019,6 @@ class Thumbnail extends Component<IProps, IState> {
_renderParticipant(local = false) {
const {
_audioTrack,
- _disableLocalVideoFlip,
_gifSrc,
_isMobile,
_isMobilePortrait,
@@ -1043,7 +1037,7 @@ class Thumbnail extends Component<IProps, IState> {
const styles = this._getStyles();
let containerClassName = this._getContainerClassName();
const videoTrackClassName
- = !_disableLocalVideoFlip && _videoTrack && !_isScreenSharing && _localFlipX ? 'flipVideoX' : '';
+ = _videoTrack && !_isScreenSharing && _localFlipX ? 'flipVideoX' : '';
const jitsiVideoTrack = _videoTrack?.jitsiTrack;
const videoTrackId = jitsiVideoTrack?.getId();
const videoEventListeners: any = {};
@@ -1252,7 +1246,6 @@ function _mapStateToProps(state: IReduxState, ownProps: any): Object {
let _isMobilePortrait = false;
const {
defaultLocalDisplayName,
- disableLocalVideoFlip,
disableTileEnlargement,
iAmRecorder,
iAmSipGateway
@@ -1375,7 +1368,6 @@ function _mapStateToProps(state: IReduxState, ownProps: any): Object {
_audioTrack,
_currentLayout,
_defaultLocalDisplayName: defaultLocalDisplayName,
- _disableLocalVideoFlip: Boolean(disableLocalVideoFlip),
_disableTileEnlargement: Boolean(disableTileEnlargement),
_isActiveParticipant: isActiveParticipant,
_isHidden: isLocal && iAmRecorder && !iAmSipGateway,