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

modify videoUploader/VideoEncodingStatusChecker #55

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

FPG-Alan
Copy link

Method api.call return a Promise in videoUploader/getStatus, so I add a await before the call to getStatus .

Beside, also add return in ad_video/VideoEncodingStatusChecker so that external call can make a chain operation:

advideo.waitUntilEncodingReady(1000, 10000).then(status => {
    console.log(status)
    ...
})

@michaelwclark
Copy link
Contributor

Both of these changes should be considered for the next release. One is a bug fix, another is an important feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants