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

Allow metadata to be passed in webhooks event other than MeetingCreatedEvtMsg #9

Open
adinapoli opened this issue Oct 15, 2020 · 0 comments

Comments

@adinapoli
Copy link

Is your feature request related to a problem? Please describe.

Hello folks. First of all, thank you for this product and all your hard work. Lately I have been using the bbb-webhooks for a client, and it has been working great but there is one problem I am trying to circumvent and I'd like to ask you if this is currently not a supported feature or if I am simply missing something obvious.

The lifecycle of my app crucially relies on one field of the metadata (generated client side when a meeting is created), and I need this field when the RecordingStatusChangedEvtMsg event is triggered. Unfortunately, also judging from the source code, the MeetingCreatedEvtMsg is the only event that adds the metadata to the JSON, whereas things like RecordingStatusChangedEvtMsg only gets the internal-meeting-id and external-meeting-id, which are not enough for my use case.

Describe the solution you'd like

Judging from the javascript, it seems like there is no good reason that prevents the metadata to be attached virtually to all events. I think they are useful regarless, as these will contain custom user-data, which might be useful in multiple requests.

Describe alternatives you've considered

I have considered querying the BBB API directly during the RecordingStatusChangedEvtMsg to fetch this info, but that feels like overkill, as it would require another costly HTTP request, and I think it can be avoided. I am not aware of any other way to fetch the metadata if not by querying the BBB API. My server is running on the same machine the BBB server is, so maybe there exist some CLI tool I can use that I am not aware of?

Additional context

No relevant context to add.

@pedrobmarin pedrobmarin transferred this issue from bigbluebutton/bigbluebutton Mar 27, 2022
Arthurk12 pushed a commit to Arthurk12/bbb-webhooks that referenced this issue May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants