bigbluebutton / bigbluebutton-html-plugin-sdk

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

feature: getJoinUrl #52

Closed GuiLeme closed 9 months ago

GuiLeme commented 9 months ago

What does this PR do?

added a function to the PluginApi.

Closes

Closes #50

More

This PR needs to be merge after the merge of #51. How to use it:

pluginApi?.getJoinUrl(new Map(Object.entries({
    "enforceLayout": "camerasOnly",
    "userdata-bbb_display_notifications": "false",
    "userdata-bbb_auto_share_webcam": "true",
    "userdata-bbb_listen_only_mode": "false",
    "userdata-bbb_skip_check_audio": "true",
    "userdata-bbb_skip_video_preview": "true",
    "userdata-bbb_preferred_camera_profile": "high",
    "userdata-bbb_hide_nav_bar": "true",
    "userdata-bbb_hide_actions_bar": "true",
    "userdata-bbb_self_view_disable": "true"
  }))).then(url => console.log('Receiving the url here: ', url));