Limit number of viewers of a stream to 1 #1189
Replies: 3 comments
-
Hello If your viewers are accessing your streams with HLS, it can be quite difficult to know/limit the number of viewers, because HLS is an unconnected protocol based on HTTP (as opposed to RTMP which is connection-based). Regarding OME itself, you can find the REST API there: https://airensoft.gitbook.io/ovenmediaengine/rest-api Regards |
Beta Was this translation helpful? Give feedback.
-
I would implement this in your application so you can control the logic yourself, perhaps leveraging AdmissionWebhooks to validate the individual playback requests against a one time “burn and turn” public key… |
Beta Was this translation helpful? Give feedback.
-
As @bchah mentioned you can do what you want with AdmissionWebhooks. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
Is there anything that can be set in the Server.xml file so that a stream can only be viewed by 1 viewer? If a second viewer get the URL of the stream will not run.
Also, is there an API to get the number of viewers watching a stream? Thanks
Beta Was this translation helpful? Give feedback.
All reactions