@@ -14,9 +14,9 @@ |
||
14 | 14 | $properties['createdAt'], |
15 | 15 | $properties['hasAudio'], |
16 | 16 | $properties['hasVideo'], |
17 | - $properties['audioActive'] , |
|
17 | + $properties['audioActive'], |
|
18 | 18 | $properties['videoActive'], |
19 | - $properties['frameRate'] , |
|
19 | + $properties['frameRate'], |
|
20 | 20 | $properties['typeOfVideo'], |
21 | 21 | $properties['videoDimensions'] |
22 | 22 | ); |
@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | */ |
188 | 188 | public function unpublish(string $streamId) |
189 | 189 | { |
190 | - $this->publishers = array_filter($this->publishers, function (Publisher $publisher) use ($streamId) { |
|
190 | + $this->publishers = array_filter($this->publishers, function(Publisher $publisher) use ($streamId) { |
|
191 | 191 | return $streamId !== $publisher->getStreamId(); |
192 | 192 | }); |
193 | 193 | } |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | public function unsubscribe(string $streamId) |
200 | 200 | { |
201 | 201 | if ($this->subscribers && count($this->subscribers) > 0) { |
202 | - $this->subscribers = array_filter($this->subscribers, function ($subscriber) use ($streamId) { |
|
202 | + $this->subscribers = array_filter($this->subscribers, function($subscriber) use ($streamId) { |
|
203 | 203 | if (is_string($subscriber)) { |
204 | 204 | return $subscriber !== $streamId; |
205 | 205 | } |