Skip to content

Commit

Permalink
Fix an issue with a deprecated YouTube API call
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin de Keijzer committed Oct 13, 2020
1 parent c54bd9f commit 3654335
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Service/ChannelApi/Client/YouTubeClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ public function createStream(string $title): \Google_Service_YouTube_LiveStream
$streamSnippet->setTitle($title);

$cdn = new \Google_Service_YouTube_CdnSettings();
$cdn->setFormat('720p');
$cdn->setResolution('variable');
$cdn->setFrameRate('variable');
$cdn->setIngestionType('rtmp');

$streamInsert = new \Google_Service_YouTube_LiveStream();
Expand Down

0 comments on commit 3654335

Please sign in to comment.