Jump to content
  • 0

How I set limit of viewers?


Lucas Valentim1648581688
 Share

Question

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0
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:
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

  • 0
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:
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 <
> 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
.

To view this discussion on the web visit
.

11034:1264838
Link to comment
Share on other sites

  • 0
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:
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 <
> 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
.

To view this discussion on the web visit
.

--
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...