Skip to content
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

4K standardization #139

Merged
merged 5 commits into from
Jun 10, 2024
Merged

4K standardization #139

merged 5 commits into from
Jun 10, 2024

Conversation

tomkordic
Copy link
Contributor

@tomkordic tomkordic self-assigned this Jun 7, 2024
@tomkordic tomkordic requested a review from a team as a code owner June 7, 2024 15:00
Copy link
Collaborator

@daytime-em daytime-em left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, just had one request!

@@ -0,0 +1,5 @@
package com.mux.video.upload.internal.options

class DirectUploadOptions {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this isn't used, can we delete it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, yes, this is sufficient

@daytime-em daytime-em changed the base branch from main to releases/v1.0.0 June 7, 2024 17:00
* for use with Mux Video
*/
@Suppress("unused")
fun standardizationRequested(enabled: Boolean, maxResolution: MaximumResolution): Builder {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the parameter name be updated to requested here?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will add in a separate PR, so we can get this merged.

/**
* If requested, the Upload SDK will try to standardize the input file in order to optimize it
* for use with Mux Video
*/
@Suppress("unused")
fun standardizationRequested(enabled: Boolean): Builder {
uploadInfo.update(standardizationRequested = enabled)
uploadInfo.update(InputStandardization(enabled))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And here as well, should this be updated to requested?

@daytime-em
Copy link
Collaborator

Thanks for the changes, tom!!

@daytime-em daytime-em merged commit 93a9b39 into releases/v1.0.0 Jun 10, 2024
2 checks passed
@daytime-em daytime-em deleted the 4k_standardization branch June 10, 2024 16:52
@daytime-em daytime-em mentioned this pull request Jun 13, 2024
daytime-em added a commit that referenced this pull request Jun 13, 2024
## New
* 4k and 720p input standardization (#139)
* Background-Uploading example in sample app (#140)

## Fixes
* fix: currentStatus always reports READY (#135)
* fix: upload success reported as failure in some cases (#134)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants