Skip to content

Fix mirror in room and livestream#487

Merged
Magmusacy merged 2 commits intomainfrom
FCE-2878
Mar 5, 2026
Merged

Fix mirror in room and livestream#487
Magmusacy merged 2 commits intomainfrom
FCE-2878

Conversation

@Magmusacy
Copy link
Collaborator

Description

Changed mirroring effect on livestream to always be false and in rooms to be dynamic depending on whether we do screenshare or share our camera view

Motivation and Context

It was weird looking lol

Documentation impact

  • Documentation update required
  • Documentation updated in another PR
  • No documentation update required

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to
    not work as expected)

@linear
Copy link

linear bot commented Mar 4, 2026

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adjusts RTCView mirroring behavior in the mobile example to avoid flipped video in livestream viewing and to make room tiles mirror behavior depend on the type of track being displayed.

Changes:

  • Set livestream viewer RTCView mirroring to always be disabled.
  • Update room grid RTCView mirroring to depend on whether the track is a camera track vs screen share.
  • Minor formatting/import ordering and trailing comma adjustments.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
examples/mobile-client/fishjam-chat/components/VideosGrid.tsx Changes RTCView mirroring logic for grid tiles based on track type.
examples/mobile-client/fishjam-chat/app/livestream/viewer.tsx Disables mirroring for viewer RTCView; includes an added debug log.
examples/mobile-client/fishjam-chat/app/livestream/screen-sharing.tsx Import reordering + minor formatting (trailing comma).
examples/mobile-client/fishjam-chat/app/(tabs)/livestream.tsx Import reordering only.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Magmusacy Magmusacy marked this pull request as ready for review March 4, 2026 14:47
Copy link
Collaborator

@MiloszFilimowski MiloszFilimowski left a comment

Choose a reason for hiding this comment

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

Good job 👍

@Magmusacy Magmusacy merged commit 62bf723 into main Mar 5, 2026
2 checks passed
@Magmusacy Magmusacy deleted the FCE-2878 branch March 5, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants