lawh.blogg.se

Ultra viewers
Ultra viewers










Kafka collects the information from each server and sends them to the monitoring server. Test tool usage bash run.sh -m player -n 1 -i stream1 -s nginx_load_balancer_ip -u false -k kafka_server_ip:9092 Kafka Configuration wget apt update apt install unzip openjdk-8-jre unzip webrtctest-release.zip cd webrtctest-release You can use the link below to download and install the test tool. We send the broadcast via FFmpeg tool, usage is as follows: ffmpeg -re -i test.flv -codec copy -f flv rtmp://Ant_Media_Origin_IP/WebRTCAppEE/stream1 Check this post for a detailed guide about setting up scalable Ultra-Low latency streaming cluster on AWS. In addition, we preferred to use C5.2xlarge instances.

ultra viewers

Ant Media Server Cluster on AWSĪfter finishing the installation on AWS for a single instance, we took the image of that instance and using same image, we have set up other instances all at once. Based on our design, load servers are configured to get the stream from Edge Servers with a bit rate of 600 KBps and 480p where the adaptive bit rate by default is off and eventually, each load server is going to act as 1000 viewers to get 1000 streams. All the load will be created by using these instances and we will distribute the load to edge servers using a load balancer. Load servers are configured to act as the viewers eventually the load itself. You can access the setup guide from this link. In order to make Ant Media Server work as in cluster mode, we need to install MongoDB and apply necessary configuration. user nginx worker_processes auto pid /var/run/nginx.pid worker_rlimit_nofile 1048576 events Database Server We are going to utilize Nginx for load balancing and use its round-robin mechanism to distribute the load to Ant Media Edge servers. Since Nginx doesn’t require much from the system resources so we have used a server with 4 Cores. By performing these steps you can also perform the test by yourself. We are going to explain how to use those tools step by step. In order to monitor the test, you need to have some tools as a prerequisite. In the future, we are going to publish new blogs about our load tests supporting an increased number of viewers that will go up to 100K. Today I’m going to show you how easy to perform a load test with 10K viewers which is just the beginning of our new blog series. Let’s start with 10K as first step 🙂 In some use cases such as trivia quiz apps, webinars, conference room applications you may need Ultra-Low latency using WebRTC with a large number of viewers and publishers and therefore you may need to scale up your solution to support 10K viewers which could be achieved with Ant Media Server scaling solution.

ultra viewers

We are starting a series of blog posts where we will share how Ant Media Server is scaled up to 100K viewers step by step.

ultra viewers

Scale up to 10K Ultra-Low Latency Viewers Quickly and Easily with Ant Media Server












Ultra viewers