bigbluebutton / bigbluebutton-api-php

Offical @BigBlueButton PHP API
https://github.com/bigbluebutton/bigbluebutton/
GNU Lesser General Public License v3.0
179 stars 198 forks source link

GetApiVersion Always return 2.2 version #230

Closed RikiTikiTawi116 closed 5 months ago

RikiTikiTawi116 commented 5 months ago

BIGBLUEBUTTON_RELEASE=3.0.0-alpha.5 bigbluebutton/bigbluebutton-api-php: 2.2.0 Drupal 10.2.5

$bbb = new BigBlueButton($base_bbb_url, $secret); $bbb->getApiVersion(); Always return 2.0 version SimpleXMLElement {#7486 ▼ +"returncode": "SUCCESS" +"version": "2.0" +"apiVersion": "2.0" +"bbbVersion": SimpleXMLElement {#7499} +"graphqlWebsocketUrl": "wss://.../v1/graphql" }

GhaziTriki commented 5 months ago

Hello @RikiTikiTawi116 this returned by BigBlueButton server. The PHP library is not involved.

I would recommend discussing this choice in the community forums : https://groups.google.com/g/bigbluebutton-dev

RikiTikiTawi116 commented 5 months ago

@GhaziTriki But in api library any sign for version. How bigbluebutton can know version of my api library?

GhaziTriki commented 5 months ago

BigBlueButton API and the library versions are decoupled. The library is compatible with new and old versions of BigBlueButton.

The library versioning is managed differently than BigBlueButton API version. Here some reading https://phptherightway.com/#composer_and_packagist