Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Add option to mirror local video feed#1539

Merged
dbkr merged 3 commits into
developfrom
luke/feature-optionally-mirror-local-video
Oct 26, 2017
Merged

Add option to mirror local video feed#1539
dbkr merged 3 commits into
developfrom
luke/feature-optionally-mirror-local-video

Conversation

@lukebarnard1
Copy link
Copy Markdown
Contributor

@lukebarnard1 lukebarnard1 commented Oct 25, 2017

Option that enables element-hq/element-web#5437

Comment thread src/components/views/voip/VideoView.js Outdated
const maxVideoHeight = fullscreenElement ? null : this.props.maxHeight;

const localVideoFeedClasses = classNames("mx_VideoView_localVideoFeed",
{"mx_VideoView_localVideoFeed_flipped": UserSettingsStore.getSyncedSetting}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you want to actually call this function?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes...

Comment thread src/components/views/voip/VideoView.js Outdated
const localVideoFeedClasses = classNames("mx_VideoView_localVideoFeed",
{"mx_VideoView_localVideoFeed_flipped": UserSettingsStore.getSyncedSetting}
{ "mx_VideoView_localVideoFeed_flipped":
UserSettingsStore.getSyncedSetting('VideoView.flipVideoHorizontally'),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick, but would be good to specify default false as the default default is null

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair!

@dbkr dbkr merged commit bf42896 into develop Oct 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants