How to get framerate and resolution in an admission webhook? #1597
Replies: 3 comments 3 replies
-
I see where you are hitting a wall there. How about... can you get the resolution/framerate in advance and submit that to YouTube, using the Conditional Encoder options to correct the res/fps if required? |
Beta Was this translation helpful? Give feedback.
-
What I did was a bit more complex. When I receive the admission webhook, I start polling the stream every 2 seconds, until it has the info I need (resolution and frame rate), then I create the post on youtube with |
Beta Was this translation helpful? Give feedback.
-
TranscodeWebhook probably works for you https://airensoft.gitbook.io/ovenmediaengine/transcoding/transcodewebhook |
Beta Was this translation helpful? Give feedback.
-
Howdy, I'm trying to create a YouTube broadcast and a push as soon as the admission webhook is called, but the YouTube broadcast requires the resolution and framerate. How can I get this info? I tried a
GET /v1/vhosts/{vhost}/apps/{app}/streams/{stream}
but it returns a 404, probably because the stream hasn't been created yet, before the admission webhook has returned a response. How soon can I get the resolution/frame rate relative to the admission webhook? Thanks.Beta Was this translation helpful? Give feedback.
All reactions