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

How to pass in events: true #4

Open
masudhossain opened this issue May 20, 2020 · 1 comment
Open

How to pass in events: true #4

masudhossain opened this issue May 20, 2020 · 1 comment

Comments

@masudhossain
Copy link

I want to pass in events true to get the progress of the transcoding, but don't see any documentation on it for the rails gem.

@weavermedia
Copy link

If it works the same as the metadata boolean you set it in the webhook parameter of Coconut::Job.create like this:

job = Coconut::Job.create(
  api_key: my_api_key,
  source: my_source_url,
  webhook: "#{my_webhook_url}?videoId=#{video.id}, events=true",
  outputs: my_outputs,
)

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

No branches or pull requests

2 participants