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

Whether you have permission to provide video, audio, and shared screens individually, rather than as a whole #623

Open
bruceFighting opened this issue Mar 11, 2025 · 1 comment

Comments

@bruceFighting
Copy link

I want to know when the server has disabled the audio, video, and sharing screen permissions, how do I know when I enter the server?

LiveKitSDK: 2.1.0
Swift 6.0
Xcode: 16.2
iPhone14 Pro Max
iOS: 17.7

I found in
room(_ room: Room, participant: Participant, didUpdatePermissions permissions: ParticipantPermissions)

There is a method to provide overall permissions, but canPublish only knows the overall publish stream permissions, and does not know whether the server has disabled any of the video, audio, and shared screen permissions.

In addition, I found that canPublishSources array is provided in Livekit_ParticipantPermission, which provides separate audio and video rights, but it is not released. Is there any other solution?

@bruceFighting
Copy link
Author

I see your version 2.3.0 has been updated

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