Jump to content
  • 0

Antmedia Scaling questions


James Bond
 Share

Question

I am trying to read and study how to Scale Antmedia server,

Our requirement is bidrectional video stream with maximum capacity of 8-9 per room but the server should support multiple rooms.

I found the articles that describes this but, in most of those article it mentions WebRTC streams converts to HLS during broadcast such as this article:


Questions:

 1. When using the origin-edge-client design (like in the article), Can this support bidirectional stream/conversation, like the client who receives the stream from edge server, can also send his stream to other users?

 2. I also found this article about antmedia scaling using Amazon Cloudfront: https://antmedia.io/ant-media-server-
cloudformation-installation/

 Does using clusters in cloudfront supports bidirectional streaming as well?

If both answer is No, then how can I scale an Antmedia server that supports bidrectional stream?

Link to comment
Share on other sites

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0
Hi,

Thank you for great the questions!
1. When using the origin-edge-client design (like in the article), Can this support bidirectional stream/conversation, like the client who receives the stream from edge server, can also send his stream to other users?
Please correct me if I got it wrong. You want to use a system like torrent structure. Player also sending the received stream to another player. Am I right? We are supporting SFU topology. 

Please check this article also: https://antmedia.io/webrtc-servers/

2. Does using clusters in cloudformation supports bidirectional streaming as well?
When we support it, cloudformation can also support as well.

After I understand the request correctly, I can add a feature request for you.

Looking forward to hearing from you soon.

Best Regards,
Selim
Link to comment
Share on other sites

  • 0
Hi Selim, 
Thank you for answering, see my answers bellow,

1. When using the origin-edge-client design (like in the article), Can this support bidirectional stream/conversation, like the client who receives the stream from edge server, can also send his stream to other users?
Please correct me if I got it wrong. You want to use a system like torrent structure. Player also sending the received stream to another player. Am I right? We are supporting SFU topology. 
Please check this article also: https://antmedia.io/webrtc-servers/

No not necessary like torrent like structure, perhaps what I want to know and understand is Antmedia scalability, 
How do we scale AntMedia so that we can still use it like we are just accessing it like a single server, like 
broadcasting/publishing using WebRTC or RTMP and viewed in WebRTC and/or RTMP as well, and ofcourse can support bidirectional as we are planning to make a conference type application (integrated to a game).
I read from another guy's question about doing an Antmedia clusters, but the Q&A stops and did not continued.
I found the articles on my original email thus triggered this chain, I am wondering if the articles above that uses a CDN like approach (origin-edge-client) can support bidirectional stream for us to build our Conference type application wherein palyer can broadcast streams and can also see other people like how zoom works.

2. Does using clusters in cloudformation supports bidirectional streaming as well?
When we support it, cloudformation can also support as well.
After I understand the request correctly, I can add a feature request for you.

I just asked this question because when i search for any topic with regards to Antmedia Scaling, Amazon's Cloudformation product always comes up, but all those articles and tutorials are all using HLS instead of WebRTC and is not clear whether it can support birectional stream like I described on our requirement above.

Hope everything is clear, ask me more questions if it is not :)

Thank you in advance
Link to comment
Share on other sites

  • 0

Hi,

 Have a good day.

We have a Cluster mechanism for scalability. We have no limitation for scaling. Did you check our Cluster docs? Please check below guides: 

CDN is necessary for our structure. We have sample pages for Conferencing. Did you check it? 
https://github.com/ant-media/Ant-Media-Server/wiki/WebRTC-Conference-Call

 

Amazon's Cloudformation product always comes up, but all those articles and tutorials are all using HLS instead of WebRTC

I think there is a misunderstanding of concepts. We are supporting both of them.

AWS Cloudformation: AWS CloudFormation gives you an easy way to model a collection of related AWS and third-party resources, provision them quickly and consistently, and manage them throughout their lifecycles, by treating infrastructure as code.
AWS Cloudfront: Amazon CloudFront is a fast content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency, high transfer speeds, all within a developer-friendly environment

I hope, I could help you.

 

Best Regards,
Selim
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...