Skip to content

get_join_url will not work in a cluster setup #54

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

Closed
schrd opened this issue Nov 29, 2023 · 6 comments
Closed

get_join_url will not work in a cluster setup #54

schrd opened this issue Nov 29, 2023 · 6 comments
Assignees

Comments

@schrd
Copy link

schrd commented Nov 29, 2023

In a cluster setup the API endpoints host is different from the browser location. So here we have a problem:
https://github.com/bigbluebutton/bigbluebutton-html-plugin-sdk/blob/main/src/core/auxiliar/join-url/getter.ts#L12

In meteor, the API endpoint is configured in public.app.bbbWebBase. Maybe this can be used for the plugins too?

@TiagoJacobs
Copy link
Member

Good point Daniel.

We can definitelly use the URL of the BigBlueButton server instead of the browser URL.

However, as we're have a work in progress to migrate the Meteor.settings to graphql, it's better that we do it after it's completed.

Thanks again for reporting it!

@Ithanil
Copy link

Ithanil commented Sep 16, 2024

bump

is there a workaround yet?

@gustavotrott
Copy link
Collaborator

There is an idea to expose the function getBaseUrl (bigbluebutton/bigbluebutton#20664) to plugins!

As a workaround if the plugins had access to the client_settings it would be possible to fetch bbbWebBase.
I'm not sure if it is possible, do you know @GuiLeme ?

@GuiLeme
Copy link
Collaborator

GuiLeme commented Sep 16, 2024

Hey, guys. Currently, it's not possible to get the client_settings as Gustavo mentioned. But this issue is on the roadmap to be done, and soon enough we'll have a proper getBaseUrl, as requested.

@GuiLeme
Copy link
Collaborator

GuiLeme commented Mar 14, 2025

It seems this issue is resolved with: #156 and will be out in the next release of SDK (Soon enough). If there are any other bugs or suggestions, we could re-open this issue or create another for discussion. Thank you, guys.

@GuiLeme GuiLeme closed this as completed Mar 14, 2025
@GuiLeme
Copy link
Collaborator

GuiLeme commented Apr 22, 2025

Hello guys! Good news! There is a new plugin-sdk version with the fix #156 in. See latest 0.0.74 in npmjs

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

5 participants