Lucas Valentim1648581688 Posted June 25, 2020 Share Posted June 25, 2020 How I set limit of viewers (webrtc) in each publish point? Link to comment Share on other sites More sharing options...
0 Ant Media Posted June 26, 2020 Share Posted June 26, 2020 Hi Lucas Valentim,currently you cannot directly set limits to the number of viewers in Ant Media Server but you can achieve this undirectly using one time tokens and REST API: https://antmedia.io/rest/ https://github.com/ant-media/Ant-Media-Server/wiki/Stream-Security-Documentation You can enable one time tokens and generate them for players in your web site using REST API. Then before each play request you can check the number of viewers for that stream using REST API and generate one time token for the player only if number if viewers are less than certain limit. Best Regards, Can PS: Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/ On Thu, 25 Jun at 8:21 PM , Lucas Valentim <engelhosting@gmail.com> wrote: How I set limit of viewers (webrtc) in each publish point? -- You received this message because you are subscribed to the Google Groups "Ant Media Server" group.To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-server+unsubscribe@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/5ff70999-a11a-4057-8888-dda18534719ao%40googlegroups.com. 11034:1264838 Link to comment Share on other sites More sharing options...
0 Lucas Valentim1648581688 Posted June 26, 2020 Author Share Posted June 26, 2020 I see. Do you know any panel for ant media server?Em sexta-feira, 26 de junho de 2020 03:30:48 UTC-3, Ant Media escreveu: Hi Lucas Valentim,currently you cannot directly set limits to the number of viewers in Ant Media Server but you can achieve this undirectly using one time tokens and REST API: https://antmedia.io/rest/ https://github.com/ant-media/Ant-Media-Server/wiki/Stream-Security-Documentation You can enable one time tokens and generate them for players in your web site using REST API. Then before each play request you can check the number of viewers for that stream using REST API and generate one time token for the player only if number if viewers are less than certain limit. Best Regards, Can PS: Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/ On Thu, 25 Jun at 8:21 PM , Lucas Valentim < engelh...@gmail.com> wrote: How I set limit of viewers (webrtc) in each publish point? -- You received this message because you are subscribed to the Google Groups "Ant Media Server" group. To unsubscribe from this group and stop receiving emails from it, send an email to ant-medi...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/5ff70999-a11a-4057-8888-dda18534719ao%40googlegroups.com. 11034:1264838 Link to comment Share on other sites More sharing options...
0 Ant Media Posted June 29, 2020 Share Posted June 29, 2020 Hi Lucas Valentim,you can only dp this using REST API, doing it from web panel is currently not possible. Best Regards, Can PS 1: 2000th instance celebration campaign is ongoing. You still have a chance to join at https://antmedia.io/?add-to-cart=1576&coupon=CELEBRATE-2000-DISCOUNT PS 2: Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/ On Fri, 26 Jun at 5:34 PM , Lucas Valentim <engelhosting@gmail.com> wrote: I see. Do you know any panel for ant media server?Em sexta-feira, 26 de junho de 2020 03:30:48 UTC-3, Ant Media escreveu: Hi Lucas Valentim,currently you cannot directly set limits to the number of viewers in Ant Media Server but you can achieve this undirectly using one time tokens and REST API: https://antmedia.io/rest/ https://github.com/ant-media/Ant-Media-Server/wiki/Stream-Security-Documentation You can enable one time tokens and generate them for players in your web site using REST API. Then before each play request you can check the number of viewers for that stream using REST API and generate one time token for the player only if number if viewers are less than certain limit. Best Regards, Can PS: Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/ On Thu, 25 Jun at 8:21 PM , Lucas Valentim < engelh...@gmail.com> wrote: How I set limit of viewers (webrtc) in each publish point? -- You received this message because you are subscribed to the Google Groups "Ant Media Server" group. To unsubscribe from this group and stop receiving emails from it, send an email to ant-medi...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/5ff70999-a11a-4057-8888-dda18534719ao%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "Ant Media Server" group.To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-server+unsubscribe@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/2a79074a-573c-4993-b150-b702eb33e82do%40googlegroups.com. 11034:1264838 Link to comment Share on other sites More sharing options...
Question
Lucas Valentim1648581688
Link to comment
Share on other sites
Top Posters For This Question
2
2
Popular Days
Jun 26
2
Jun 25
1
Jun 29
1
Top Posters For This Question
Lucas Valentim1648581688 2 posts
Ant Media 2 posts
Popular Days
Jun 26 2020
2 posts
Jun 25 2020
1 post
Jun 29 2020
1 post
3 answers to this question
Recommended Posts