Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of screen broadcasting. #126

Open
Fanpei920 opened this issue Nov 9, 2020 · 5 comments
Open

Implementation of screen broadcasting. #126

Fanpei920 opened this issue Nov 9, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@Fanpei920
Copy link

The Problem

Could you implement screen broadcasting in the app with replayKit? (In-app broadcasting and Out-app broadcasting)

@Fanpei920 Fanpei920 added the enhancement New feature or request label Nov 9, 2020
@timrozum
Copy link
Contributor

timrozum commented Nov 9, 2020

Hi @Fanpei920,

We are actively working to add in-app and system screen capture features to our video SDK. As part of that effort we will integrate system screen capture into the video app in this repo.

Meanwhile you may see this quickstart for in-app and system screen capture examples built on top of the current video SDK.

@timrozum timrozum self-assigned this Nov 9, 2020
@timrozum
Copy link
Contributor

@Fanpei920 we have released the in-app screen capture feature in a public beta: https://github.com/twilio/twilio-video-ios/releases/tag/4.0.0-beta3

We are working on system screen capture.

@timrozum
Copy link
Contributor

timrozum commented Dec 17, 2020

@Fanpei920 in-app screen capture is now out of beta and available in the 4.0.0 release.

@manishmg
Copy link

manishmg commented Sep 8, 2022

@timrozum is there any broadcast functionality in this project. I check the quick strater project but when I am try that broadcast functionality in the main app I am getting issues. When twillio register from broadcast the main app video removes automatically. Is there any sample to implement this?

@timrozum
Copy link
Contributor

timrozum commented Sep 8, 2022

@manishmg you should be able to use this quickstart to create the broadcast: https://github.com/twilio/video-quickstart-ios/tree/master/ReplayKitExample

And this quickstart to view the broadcast: https://github.com/twilio/video-quickstart-ios/tree/master/VideoQuickStart

Make sure to use this room name when joining the room to view the broadcast:
https://github.com/twilio/video-quickstart-ios/blob/c1544311ca82ba6af0e145d2f7fc11898696559d/ReplayKitExample/BroadcastExtension/SampleHandler.swift#L80

If Apple adds iOS support to ScreenCaptureKit in the future, at that time we would probably add features to the SDK for system screen capture and integrate it into the video app in this repo. Unfortunately the new Apple API is only available for macOS.

The broadcast API from Apple is not really optimized for video call screen sharing and so it can be difficult to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants