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

Introduce document classes #245

Open DigitalTimK opened 5 months ago

DigitalTimK commented 5 months ago

Background

The current way to manage documents is very inconsistent (following the same inconsistent way as on the BBB-Server API side). Sometimes they are called documents and sometimes presentations. For example there is currently a class called "SomeThingDocument" but has a addPresentation-function. In addition the addPresentation-function is unclear regarding their parameter and how they will support the required result. Either by URL or by embedded data stream. So a separation into two cases (=classes) makes senses. On top the addPresentation-function required the user to pass the data-stream directly.

This PR will

This PR will close #244