I'm trying to develop a prototype of a PPV plateform using Ant media Enterprise and Webrtc.
Let's say we have a stream active with few viewers, how I can temporarily serverside prevent some users from accessing it (prevent playing even if connection is already established) and allow some (those who pay) ?
I have explored the different possibilities offered by Ant media to secure a stream (one time token, jwt etc), but nothing seems to offer this possibility.
Of course i know i can prevent users Client side, but I'd like to use a server-side solution to prevent smarter users from reading a stream they shouldn't have access to.
Question
johnx3
Hello,
I'm trying to develop a prototype of a PPV plateform using Ant media Enterprise and Webrtc.
Let's say we have a stream active with few viewers, how I can temporarily serverside prevent some users from accessing it (prevent playing even if connection is already established) and allow some (those who pay) ?
I have explored the different possibilities offered by Ant media to secure a stream (one time token, jwt etc), but nothing seems to offer this possibility.
Of course i know i can prevent users Client side, but I'd like to use a server-side solution to prevent smarter users from reading a stream they shouldn't have access to.
If you have any idea let me know.
Edited by johnx3Link to comment
Share on other sites
Top Posters For This Question
5
2
1
Popular Days
Nov 29
2
Nov 25
2
Nov 26
2
Nov 27
1
Top Posters For This Question
johnx3 5 posts
Connessione 2 posts
usama 1 post
Popular Days
Nov 29 2022
2 posts
Nov 25 2022
2 posts
Nov 26 2022
2 posts
Nov 27 2022
1 post
Popular Posts
Connessione
The ideal way to build PPV systems is to use a timer embedded in the server side code to locally track usage time ad then sync it to/from application server when client disconnects/connects. From
Connessione
1. Having an account is not important. That is authentication. What you need is just authorisation. 2. use jwt token system to implement authorisation. Use api to eject a subscriber from stream
7 answers to this question
Recommended Posts