feat: added more fields to useMeeting hook and created a projection feature #246
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR introduces a new data projection and consumption factory pattern for the BigBlueButton HTML Plugin SDK. The main changes include (for now, only used with useMeeting, but we can easily apply the same to other hooks):
useMeetinghook in favour ofuseMeetingDatahook;Motivation
The current approach has 2 main problems:
More
Closely related to PR bigbluebutton/bigbluebutton#24351
Testing Recommendations:
For testing, I'd recommend create 2 instances of the same hook in a plugin with different data, for example:
In the console, if you share an external video, that should only trigger "Log for the first selection --->"