@@ 97-112 (lines=16) @@ | ||
94 | * |
|
95 | * @return bool |
|
96 | */ |
|
97 | public function isMeetingRunning($meeting) |
|
98 | { |
|
99 | if (!$meeting instanceof IsMeetingRunningParameters) { |
|
100 | $meeting = $this->initIsMeetingRunning($meeting); |
|
101 | } |
|
102 | ||
103 | $this->response = $this->bbb->isMeetingRunning($meeting); |
|
104 | if ($this->response->success()) { |
|
105 | $response = XmlToArray($this->response->getRawXml()); |
|
106 | if (isset($response['running']) && $response['running'] == "true") { |
|
107 | return true; |
|
108 | } |
|
109 | } |
|
110 | ||
111 | return false; |
|
112 | } |
|
113 | ||
114 | /** |
|
115 | * Join meeting |
|
@@ 237-252 (lines=16) @@ | ||
234 | * |
|
235 | * @return bool |
|
236 | */ |
|
237 | public function publishRecordings($recording) |
|
238 | { |
|
239 | if (!$recording instanceof PublishRecordingsParameters) { |
|
240 | $recording = $this->initPublishRecordings($recording); |
|
241 | } |
|
242 | ||
243 | $this->response = $this->bbb->publishRecordings($recording); |
|
244 | if ($this->response->success()) { |
|
245 | $response = XmlToArray($this->response->getRawXml()); |
|
246 | if (isset($response['published']) && $response['published'] == "true") { |
|
247 | return true; |
|
248 | } |
|
249 | } |
|
250 | ||
251 | return false; |
|
252 | } |
|
253 | ||
254 | /* |
|
255 | * required fields |