This article original from Http://blog.csdn.net/voipmaker reprint annotated source.
The WEBRTC standard customizes how real-time media is transmitted to and from the web, but there is no specification for multiplayer video and is also a challenge for WEBRTC in enterprise solutions, WEBRTC technical Video
The conference programme can be summed up in several
1. Mesh Solution
This is the simplest scenario, the principle is that the client creates multiple One-one connections, relay media to each other, this scheme server does not need to be changed, simple, but the client consumes more resources.
2. Mixer Solution
This scheme is a traditional video conferencing solution, the core of which is the Central Control unit MCU responsible for the media codec, MCU to multi-channel audio and video reception, decoding, mixed after encoding, to a way to forward to multiple clients, the advantage is that the client does not need to do any video related changes with many people, The client and the server only keep the media, but this scheme increases the complexity of the MCU, usually using hardware to do video codec.
3. Router Solution
This approach is the latest in recent years, but also H264 Svc codec introduced, the principle is that the server is only responsible for transcoding media, and does not need to mixer solution inside the transcoding process, which greatly improved the server concurrency.
Scenario Comparison:
The advantages and disadvantages of each of the above-mentioned schemes need to be chosen according to the actual use situation.
If you only need audio conferencing, and you need to communicate with legacy devices, Scenario 2 is a good choice, if your client has good performance, bandwidth environment is very high, and the number of concurrent meetings is limited, then scenario 1 can be considered, for example, four video conferencing, the lowest cost of server-side.
Scenario 3 is a good choice if you are building a large-scale service that does not require interoperability with Legcay devices.
Discussion of video conference scheme based on WEBRTC technology