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

feat(plugin): add self-view disable as a ui-command #139

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

GuiLeme
Copy link
Collaborator

@GuiLeme GuiLeme commented Dec 13, 2024

What does this PR do?

  • Adds self-view disabled for all devices of the user;
  • Adds self-view disabled for specific streamId that the user opened;
  • Adds streamId and externalId to hook useCurrentUser;

How to test

Suit yourself to test it in whatever plugin you'd like, but, I recommend the sampleActionsButtonDropdown once it already has this feature.

More

Closely related to bigbluebutton/bigbluebutton#21896

See demo below:

disableSelfViewDemo.mp4

… to disable self view to all devices that a user has
Copy link

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

@GuiLeme GuiLeme changed the title Self view disabled feat(plugin): add self-view disable as a ui-command Dec 13, 2024
]);
}
}, [currentPresentation, currentUser, showingGenericContentInPresentationArea, isCamerasOnly]);
}, [currentPresentation, currentUser, showingGenericContentInPresentationArea]);

Choose a reason for hiding this comment

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

Is it not necessary to add isSelfViewDisabled as a dependency in this useEffect?

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.

2 participants