-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/mp4 muxing example #4
Conversation
…hpDocs for improved autoCompletion
… able to identify each config
…fic configuration
private static function createFMP4Muxing(Encoding $encoding, Stream $stream, $output, $outputPath, ApiClient $apiClient) | ||
{ | ||
$encodingOutput = null; | ||
if ($output != null && $outputPath != null) | ||
$encodingOutput = NULL; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As it basically a constant, I tend to write null, true, false in uppercase. However, reverted it
@@ -129,28 +211,33 @@ public static function createMuxingForEncoding(JobContainer $jobContainer, Encod | |||
{ | |||
$smoothStreamingOutputFormat = $format; | |||
} | |||
if ($format instanceof ProgressiveMp4OutputFormat) | |||
{ | |||
$progressiveMp4OutputFormats[] = $format; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of introducing a new variable here, you could do this check in static::createMP4MuxingsForEncoding
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved all the related code into createMP4MuxingsForEncoding()
…sive muxing related into createMP4MuxingsForEncoding()
No description provided.