Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Is there some kind of messaging or response when transcoding is done?

5 replies [Last post]
Reply

Hi There,

Once a file is uploaded to the BOTR server via the API, I assume it enters a queue for processing. When the processing is complete, is there any type of message or response we can get from your server that can notifies the application code? Is it necessary to actively poll the status of the BOTR servers in an application in order to know the status of the files progression? Does it, for example, send an email out?

For my needs, it would be useful to upload the file, and along with the file send a url to a script that gets called when the file is complete. Is that possible with the API?

Thanks for your time and help!

Reply

The is no outgoing messaging when a video completes, you would need to poll with e.g. a /videos/show call. Please choose a responsible interval when doing this in order to avoid hammering our API (like once per minute).

Reply

What if there we 50 videos that were uploaded programmatically. It just doesn't make sense to poll for the status of those videos every minute. Hopefully you'll implement a callback solution soon.

Thanks!

Reply

The /videos/list call will return states of videos too and it is even possible to filter this call by state.

There are no short term plans for implementing callbacks.

Reply

So setting up that code within a cron job that takes place every minute is okay with BOTR?

Reply

Yeah, that should be fine.

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options