Jump to content
  • 0

Antmedia WebRTC for CDN


ruell magpayo
 Share

Question

We are deciding whether to get the Pro version or not so we are evaluating various product and Antmedia is the top choice and official RnD has started for this.

 

I am doing research now on the possiblity of using a CDN for Antmedia server, so far what I can see is articles and document that says it can be done but Antmedia broadcast to a CDN server using HLS.

I am confuse (though I am also a newbie), is it not possible to use CDN using WebRTC, why is this?

 

Thanks

 

Link to comment
Share on other sites

  • Answers 6
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

6 answers to this question

Recommended Posts

  • 0
I just want to confirm,
So I assume running in cluster mode is the way to scale Antmedia without using CDN correct?
Also, using cluster mode, we can use Antmedia for bidirectionaly using WebRTC?

to install multiple copies of antmedia and run them in cluster mode, WebRTC can be used in streaming bidirectionally?

Link to comment
Share on other sites

  • 0

The way we did it was we installed multiple copies of antmedia onto servers all over the world, and then use cloudns.net to make geoip-dns to point the same subdomain at all the various servers. We then turned on antmedia in cluster mode and the streams get shared between them. We could broadcast to any server and receive the stream at any server.

Link to comment
Share on other sites

  • 0

They have some doc on github about clustering but not about what we did as far as I know. 

What we did was we first put up an httpd and pointed domain at it to verify SSL certificate. Then we removed the httpd, installed antmedia + the ssl certificate for the single domain (blahcdn.com let's call it) on all of the servers. Then I reg'd an account at cloudns.net, and setup DNS entries so EU went to server X, US West went to server Y etc.
It worked - I don't know how far it would scale - our application was around 35-40 streamers and 200-300 viewers. You might need to do a load balancer at each location if there's alot of traffic but in general - it worked. By streaming to blahcdn.com, I was able to stream to my closest server and everyone could watch it from their closest server and vice versa.

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