bigbluebutton / bigbluebutton-html-plugin-sdk

BigBlueButton Plugin SDK
GNU Lesser General Public License v3.0
7 stars 5 forks source link

get_join_url will not work in a cluster setup #54

Open schrd opened 9 months ago

schrd commented 9 months ago

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 commented 9 months ago

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!