Skip to content

Commit

Permalink
Change parameters for stream transition according to google/apiclient…
Browse files Browse the repository at this point in the history
…-services
  • Loading branch information
Martin de Keijzer committed Jan 26, 2021
1 parent ce6be1e commit 1ced158
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Service/ChannelApi/Client/YouTubeClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function addThumbnailToBroadcast(\Google_Service_YouTube_LiveBroadcast $y
public function endLiveStream($externalId): void
{
try {
$this->youTubeClient->liveBroadcasts->transition($externalId, 'complete', 'status');
$this->youTubeClient->liveBroadcasts->transition('complete', $externalId, 'status');
} catch (\Google_Service_Exception $exception) {
throw new LiveBroadcastOutputException($exception->getMessage());
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"doctrine/doctrine-bundle": "^2.0",
"doctrine/orm": "^2.7",
"facebook/graph-sdk": "^5.7",
"google/apiclient-services": "~0.140",
"google/apiclient-services": "~0.157",
"google/apiclient": "^2.7",
"psr/log": "^1.1",
"react/event-loop": "^1.1",
Expand Down

0 comments on commit 1ced158

Please sign in to comment.