-
I have a group call backend that can support signalling RTMP streams to be added to the room. But to do so I need to encode data like title and roomname as the stream name. This makes it hard for policy token generation having to us an encoded stream name. If there is a way to obtain params added to the rtmp urls it might help. I have to check active streams with /v1/vhosts/default/apps/app/streams But this doesn't give me detail about an rtmp stream hence having to encode in the name, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
You could try using AdmissionWebhooks which provides the full incoming URL to your own server: https://airensoft.gitbook.io/ovenmediaengine/access-control/admission-webhooks |
Beta Was this translation helpful? Give feedback.
-
webhooks to the same service as the websocket server may work to notify publish has begun. Or is there another webhook for notifying publishing has begun ? So there is no way to get rtmp params using the rest api of the available streams ? |
Beta Was this translation helpful? Give feedback.
The webhook can be sent anywhere you choose. You're correct that the API does not store the URL parameters, just the names of the active streams themselves. However you could use the webhook to store the parameters in your own DB or memory when the stream starts and reference that value later.