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

Screen sharing errors out when running an iOS app on Mac Silicon #279

Open
reda-drchrono opened this issue Nov 7, 2024 · 0 comments
Open

Comments

@reda-drchrono
Copy link

reda-drchrono commented Nov 7, 2024

Description

We have an iPad app running on Mac silicon and everything runs smoothly on Mac with the exception of the screen sharing feature. We are using the following code to screen share per the documentation:

if let source = AppScreenSource(), let track = LocalVideoTrack(source: source) {
    room.localParticipant?.publishVideoTrack(track)
    source.startCapture()
}

On Mac, this is the error we are seeing:

ERROR:Twilio:[Platform](0x16f44f000): ReplayKit sample has unsupported pixel format.

Steps to Reproduce

  1. Run iOS app on Mac silicon
  2. Start screensharing

Code

if let source = AppScreenSource(), let track = LocalVideoTrack(source: source) {
    room.localParticipant?.publishVideoTrack(track)
    source.startCapture()
}

Expected Behavior

Screen sharing should work.

Actual Behavior

Screen sharing errors out

Reproduces How Often

100

Video iOS SDK

TwilioVideo (5.5.0) via Cocoapods

Xcode

16

iOS Version

N/A (Mac)

iOS Device

N/A (Mac)

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

No branches or pull requests

1 participant