Replies: 13 comments
-
I had an idea to use push to start a second stream and be able to manage its state using api, but I can't use push to the same server |
Beta Was this translation helpful? Give feedback.
-
OME does not provide the ability to disconnect a session that is playing a stream. However, you can control the playback time with SignedPolicy's stream_expire or AdmissionWebhooks' lifetime . |
Beta Was this translation helpful? Give feedback.
-
I found such an opportunity, but how can I implement the functionality of shutting down a stream on an event from another server. Maybe use push or something else? Is it possible to implement this somehow? Thinking of using a virtual host for each stream and deleting it when needed using the API? Can any of this work? |
Beta Was this translation helpful? Give feedback.
-
I think we need to distinguish between an ingest session (stream input) and a playback session (stream output). Now I'm confused because the terms are mixed up. Do you want to terminate the RTMP/WebRTC/RTSP/SRT input (delete the input stream) or do you want to kick one of the viewers that is playing? A stream deletion feature will be developed within this year. There are no plans to develop the ability to kick one of the viewers who is playing. |
Beta Was this translation helpful? Give feedback.
-
I need to kick all viewers, or interrupt the stream in order to then let in only allowed ones using webhocks. |
Beta Was this translation helpful? Give feedback.
-
It should be pretty straightforward to signal your front end to unload the content for viewers you want to kick |
Beta Was this translation helpful? Give feedback.
-
And if the user uses another player (ovenmediaplayer in another sites), will he remain in the broadcast? |
Beta Was this translation helpful? Give feedback.
-
No, that’s a job for your web developers. You should use ome’s access control features to prevent playback except via your frontend player |
Beta Was this translation helpful? Give feedback.
-
Sounds like exactly what I need. But how to prevent playback by other players? |
Beta Was this translation helpful? Give feedback.
-
https://airensoft.gitbook.io/ovenmediaengine/access-control/admission-webhooks
https://airensoft.gitbook.io/ovenmediaengine/access-control/signedpolicy
Read the documentation
…On Mon, Jan 30, 2023 at 08:42 Maksim Garkunov ***@***.***> wrote:
You should use ome’s access control features to prevent playback except
via your frontend player
Sounds like exactly what I need. But how to prevent playback by other
players?
—
Reply to this email directly, view it on GitHub
<#1001 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABV4BWMPVYLQEDSREASRF5LWU7ALDANCNFSM6AAAAAAT7TSZUE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I don’t quite understand how I can understand from this data that the player is on my site? |
Beta Was this translation helpful? Give feedback.
-
You can have your frontend pass whatever authentication you do to generate a playback request on the backend, which is verified by ome |
Beta Was this translation helpful? Give feedback.
-
Tell me more please, did I understand correctly that push is needed to relay the stream? Can I relay from one oven server to another? |
Beta Was this translation helpful? Give feedback.
-
Is it possible to somehow cut off the connection / connections for those who are watching the stream?
Beta Was this translation helpful? Give feedback.
All reactions