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

About iOS Screen Share didn't work. #395

Open
107360111 opened this issue Jun 3, 2024 · 1 comment
Open

About iOS Screen Share didn't work. #395

107360111 opened this issue Jun 3, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@107360111
Copy link

Hello everyone, here is a question about broadcast.

According to the description of iOS Screen Sharing on Wiki, I have followed the instructions to set up the broadcast. Here are the App Groups and SampleHandler after setup:

App Groups:

Sample Handler:

Additionally, I have enabled the broadcast permission in the Room settings. I am using the following code to receive the localParticipant and remoteParticipant:

Room Initialization:

Control Screen Share Function:

Get Local Participant: [room(_ room: Room, participant: LocalParticipant, didPublishTrack publication: LocalTrackPublication)]

Get Remote Participant: [room(_ room: Room, participant: RemoteParticipant, didSubscribeTrack publication: RemoteTrackPublication)]

When I first press the screen sharing button, a prompt window like the one in the picture appears. After I press "Start Recording", the screen recording starts. However, in the function room(_ room: Room, participant: LocalParticipant, didPublishTrack publication: LocalTrackPublication), I did not receive the video track that I sent out. Also, in the function room(_ room: Room, participant: RemoteParticipant, didSubscribeTrack publication: RemoteTrackPublication), I did not receive the event of subscribing to my own video track.

Local Participant Start Recording:

Remote Participant Didn't Get Local Participant's screen share video track:

Local Participant Stop Recording:

Please help me to solve this question, thank you very much.

@107360111 107360111 added the bug Something isn't working label Jun 3, 2024
@mokuzuu
Copy link

mokuzuu commented Jul 23, 2024

I needed to add RTCAppGroupIdentifier to both app and broadcast extension info.plist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants