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

Always set TargetFormat value in TrackTransformationInfo object #262

Merged

Conversation

vamshi-dhulipala
Copy link
Contributor

Currently the value of TargetFormat field in the TrackTransformationInfo object is only set in the release method of the TransformationJob class. Also, the value is only set if a corresponding TrackTranscoder object is created successfully.

Updated logic to always set the value of TargetFormat field in the TrackTransformationInfo object when initiating stats. If the format is not set here initially, then in some scenarios where we fail to create a corresponding TrackTranscoder, the target format value will be reported back as null as part of the MediaTransformationListener callbacks.

…ts. If the format is not set here initially then it is never available in cases where we fail to create a corresponding TrackTranscoder.
@vamshi-dhulipala vamshi-dhulipala changed the title Always set TargetFormat value to TrackTransformationInfo object Always set TargetFormat value in TrackTransformationInfo object Jul 25, 2023
@izzytwosheds izzytwosheds merged commit f894a68 into linkedin:main Aug 16, 2023
2 checks passed
@vamshi-dhulipala vamshi-dhulipala deleted the SET_TARGET_FORMAT_DURING_INIT branch January 16, 2024 19:13
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.

2 participants