Skip to content

Conversation

@anna1901
Copy link
Contributor

@anna1901 anna1901 commented Nov 27, 2025

Description

Add screen sharing for live streaming.

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)

Copilot AI review requested due to automatic review settings November 27, 2025 15:21
@linear
Copy link

linear bot commented Nov 27, 2025

Copy link

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

This PR implements screen sharing functionality for live streams by adding a new hook useLivestreamScreenSharingStreamer and integrating it into the application navigation. The implementation follows the existing pattern established for camera-based streaming.

Key changes:

  • Added useLivestreamScreenSharingStreamer hook for screen sharing streams
  • Updated useLivestreamStreamer to pass camera ID as a separate parameter
  • Added navigation screen and UI for screen sharing functionality

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/react-native-client/src/livestream/index.ts Exports the new screen sharing hook
packages/react-native-client/src/livestream/hooks/useLivestreamStreamer.ts Refactors camera initialization to pass camera ID as separate parameter
packages/react-native-client/src/livestream/hooks/useLivestreamScreenSharingStreamer.ts Implements the screen sharing hook with configuration options
internal/fishjam-chat/screens/LivestreamScreen/LivestreamScreenSharingScreen.tsx Adds UI screen for screen sharing functionality
internal/fishjam-chat/screens/ConnectToLivestreamScreen.tsx Adds button to navigate to screen sharing screen
internal/fishjam-chat/navigators/AppNavigator.tsx Registers the new screen sharing screen in navigation

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

@anna1901 anna1901 requested a review from Copilot December 4, 2025 12:59
Copy link

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

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


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

@anna1901 anna1901 changed the title DRAFT | FCE-2395: Implement screen sharing for live streams FCE-2395: Implement screen sharing for live streams Dec 4, 2025
Copy link

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

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


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

package.json Outdated
]
},
"resolutions": {
"@expo/metro-config": "~0.20.18"
Copy link
Collaborator

Choose a reason for hiding this comment

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

question: Why is this needed? This might create issues for the users of our package.

Copy link
Contributor Author

@anna1901 anna1901 Dec 17, 2025

Choose a reason for hiding this comment

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

This package.json is set to be private, so I think that it's not used by the users of our package.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Anyway this is not a right place for it, since it's the main package.json. Please move it to the example.

};
}

config = withWhipWhep(config, options.livestream);
Copy link
Collaborator

Choose a reason for hiding this comment

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

issue (blocking): I believe no changes to the plugin are needed.

@anna1901 anna1901 merged commit 47936f2 into main Dec 17, 2025
5 of 6 checks passed
@anna1901 anna1901 deleted the FCE-2395/add-screensharing-to-livestreams branch December 17, 2025 15:14
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