Pull to refresh

The Flashphoner company has temporarily suspended it’s blog on Habr

Show first
  • New
  • Top

Load test of WebRTC recording on AWS

Flashphoner corporate blog System administration *Working with video *IT Infrastructure *DevOps *

Do you remember how just a few years ago it was a disaster to lose a camera at the end of a vacation? All memorable pictures and videos then disappeared along with the lost device. Probably, this fact prompted the great minds to invent cloud storage, so that the safety of records no longer depends on the presence of the devices on which these records are made.

Read more
Rating 0
Views 770
Comments 0

WebRTC face to face video chat. Load test

Flashphoner corporate blog System administration *Working with video *IT Infrastructure *DevOps *

We continue to review variants of load tests. In this article we will go over the testing methodology and conduct a load test that we will use to try and determine the number of users that could watch and stream at the same time, meaning the users will simultaneously publish and view the streams.

Read more
Rating 0
Views 598
Comments 0

Load testing for WebRTC mixer

Flashphoner corporate blog System administration *Working with video *IT Infrastructure *DevOps *

This article is a continuation of our series of write-ups about load tests for our server. We have already discussed how to compile metrics and how to use them to choose the equipment, and we also provided an overview of various load testing methods. Today we shall look at how the server handles stream mixing.

Read more
Total votes 1: ↑1 and ↓0 +1
Views 308
Comments 0

Using a headless browser for WebRTC load tests

Flashphoner corporate blog System administration *Working with video *IT Infrastructure *DevOps *

In the previous article we went over a load test whose data could be used to choose a load-appropriate server. In the course of the testing, we would publish a stream on one WCS, and we would pick up that stream several times using a second WCS. The acquired results could be used as a basis for decisions on server operability.

Some would (justly) have concerns regarding the possible biases in such a test — after all, one of our servers was used to test another one of our servers. Could it be that we were using a specially optimized code that skewed the results in our favor?

Read more
Total votes 1: ↑1 and ↓0 +1
Views 521
Comments 0

Choosing a server for 1000 WebRTC streams

Flashphoner corporate blog System administration *Working with video *IT Infrastructure *DevOps *

In any project, a great deal of importance is placed on the selection of server hardware and WebRTC streaming is no exception. One of the key principles of such a selection is balance – the hardware should be powerful enough to handle the streams with no drops in quality, but not too powerful so as to waste resources. So, how does one choose the right server?

Read more
Total votes 3: ↑3 and ↓0 +3
Views 556
Comments 0

Practical uses of WebRTC Canvas streaming

Flashphoner corporate blog Website development *Working with video *Programming *Video conferencing

In this article we will once again return to the tired topic of webinars and webinar hosting tools. And no, we're not about to code a whole new system for webinar hosting – there are already plenty of those. Instead, we will talk about connecting drawing software to the webinar, so that you could manually draw and broadcast the process.

Read More
Rating 0
Views 909
Comments 4

REST hooks for WebRTC Click to Call. Implementation experience

Flashphoner corporate blog Website development *JavaScript *Programming *Development of communication systems *

The "Click to Call" button on the website is an "innovation" that has been around for about 10 years. The technologies under the hood have changed, but the principle remains the same: someone clicks on the button on the site page, then JavaScript launches and requests access to the microphone and establishes a connection to the server — WebRTC SIP gateway. Further, the first client-server leg is a browser gateway, the second leg can be arbitrarily long and through the SIP proxy chain can eventually connect to a mobile or landline phone. Thus, the browser turns, in a sense, into a softphone and becomes a full participant in VoIP telephony.

Read more
Rating 0
Views 400
Comments 0

WebRTC screen-sharing with authorization and other benefits

Flashphoner corporate blog Website development *Working with video *Programming *Video conferencing

The popularity of online education is increasing every month. And since there is an increase in popularity, there is an increase in competition and an improvement in quality: many authors of online schools realized that nowadays it's not enough to just make something mediocre using the frontal camera of the iPhone 4. You need to work on the quality of the picture, sound, presentation of material, etc. Not only did the pandemic prove that you can teach salsa and even crochet online, so it also gave an excellent push to improve the materials taught + diversity in the labor market. Moms on maternity leave can rejoice - now you can truly earn a hundred thousand million per second, sitting at home.

Read more
Total votes 2: ↑1 and ↓1 0
Views 708
Comments 1

How to make a multipoint WebRTC conference MCU with recording and screen-sharing in the browser

Flashphoner corporate blog Website development *Working with video *Programming *Video conferencing

During the lockdown, which is now weakening, then becoming more active with a vengeance, a huge number of new professions have appeared. Proficients in creating involving Instagram Stories, course producers, e-learning specialists and other unknown-before-creatures - all of them have mastered a new job that gave them the holy bread in the pandemic. Once you hire a creator of involving Instagram Stories (and let's all hope this person was teached by a professional, not a snake oil salesman), your business grows just with adding some creativity in advertising that will take the heart of even the most fastidious customer. Same works with e-learning specialists: you recruit them and they do all the important tasks from writing articles that will also help in promoting your classes to arranging lessons on your Coursera course. A complete flight of imagination: if it seems to you that some jobs don't exist, then you just don't spend enough time online. In general, online work has become popularized as never and now hardly anyone will say: "He is engaged in some kind of garbage - he makes TikToks but it would be better for him to toil at the factory!". In total, online work has become popularized as never and now hardly anyone will say: "He is engaged in some kind of garbage - he makes TikToks, but it would be better for him to toil at the factory!".

Read more
Rating 0
Views 651
Comments 0

Google Cloud Platform for WebRTC CDN with Balancing and Autoscaling

Flashphoner corporate blog Website development *Working with video *DevOps *Video conferencing

In the previous article we refreshed our memory of WebRTC CDN and the ways this technology helps to minimize latency for WebRTC streams. We also discussed why load balancing and autoscaling wouldn't be amiss in CDNs. Here are the main points from the article:

Read more
Total votes 1: ↑1 and ↓0 +1
Views 428
Comments 0

AWS, ELB, CDN, Autoscaling and other abbreviations and terms related to low-latency WebRTC

Flashphoner corporate blog Website development *Working with video *DevOps *

The modern browsers do not give users a choice between using WebRTC and not using it. And while you can playback streams using HLS or MSE, WebRTC remains the only tool for capturing camera feeds and publishing streams from a browser. The browser developers have accepted this "format" and integrated it into their products – just as they used to support the Flash Player as a plugin. The only difference is that WebRTC comes natively integrated into the browser — as code, not a plugin. If, in a few years, a new and better library for video streaming is introduced they will undoubtedly make a switch. But these days, Chrome maintains its dominance, so no contenders for WebRTC are in sight.

Read more
Total votes 1: ↑1 and ↓0 +1
Views 457
Comments 0

Automatize it, or Docker container delivery for WebRTC

Flashphoner corporate blog Website development *Working with video *DevOps *Video conferencing

The vast majority of IT specialists in various fields strive to perform manually as few actions as possible. I won't be afraid of the loud words: what can be automatized, must be automatized!

Let's imagine a situation: you need to deploy a lot of servers of the same type and do it quickly. Quickly deploy, quickly undeploy. For example, to deploy test rigs for developers. When development is carried out in parallel, you may need to separate the developers, so they don't impede each other and possible errors of one of them don't block the work of the others.

There may be several ways to solve this problem:

Read more
Total votes 1: ↑1 and ↓0 +1
Views 1.6K
Comments 5

Review of WCS 5.2 — WebRTC Server for Webcast and Webcam Developers

Flashphoner corporate blog Website development *Working with video *Programming *Video conferencing


Alice is an experienced full stack developer, who is capable of writing a SAAS project framework on her favorite framework using php in a week. As for frontend, she prefers Vue.js. 


A client contacts you via Telegram, asking you to develop website that will be the meeting place for the employer and the employee to conduct an in-person interview. In-person means face-to-face, a direct video contact in real time with video and voice. «Why not use Skype?» some may ask. It just so happened that serious projects – and each startup undoubtedly considers itself a serious project – are trying to offer an internal communications service for a variety of reasons, including:

Read more →
Total votes 3: ↑2 and ↓1 +1
Views 1.7K
Comments 0

WebRTC streaming in and around virtual reality

Flashphoner corporate blog Website development *Working with video *Programming *Video conferencing


Virtual reality is on the rise these days. The equipment that was previously the exclusive preserve of crazy scientists geeks with big money from the Ministry of Defense back in the The Lawnmower Man days, is currently affordable for ordinary people; those whose pockets are empty, can assemble a VR headset from cardboard and a smartphone according to many recipes.

Read more →
Total votes 5: ↑5 and ↓0 +5
Views 2.3K
Comments 2
1