At present, most one-to-one interactions in the market are based on WebRTC. The disadvantages are as follows:
- Server deployment is very complex, which is not conducive to private deployment. It cannot be used in some high privacy scenarios, such as public security and municipal systems.
- Based on UDP, it is difficult to ensure the transmission quality. UDP is an unreliable transmission protocol. In a complex public network environment, various burst traffic, occasional transmission errors, network jitter, and timeout will cause packet loss exceptions, which will affect the quality of audio and video communication to a certain extent.
- It is difficult to deal with complex Internet environment, such as cross-region and cross-carrier scenarios, low bandwidth and high packet loss scenarios.
- The whole framework system is not flexible enough, the code complexity is high, the jargon is good: from demo to practical, there are still 10,000 WebRTC.
The RTMP/RTSP one-to-one interaction SDK released by Danniu Live SDK has the following advantages:
- Based on the official existing RTMP, RTSP push, or built-in RTSP service, RTMP/RTSP live broadcast SDK, the product has high stability and ultra-low latency features second to none in the industry;
- Add noise suppression, echo cancellation, automatic gain control and other features to ensure the call effect;
- A common RTMP and RTSP Server such as Nginx, SRS, or Darwin Stream Server (native version) is preferred for private deployment;
- Extended SEI message sending mechanism supporting H.264;
- Support H.265 coding (Windows 64-bit library, Android/iOS hard coding) and H.264 variable bit rate setting, in other words, the previous danniu live SDK push supported functions, can be synchronized support;
- Support H.265 decoding, live player support functions, one-to-one interaction modules can be selected support;
- Windows platform support dual stream synthesis large and small screen recording;
- Windows supports camera, screen composition, watermark and other combination modes, high scalability;
- Applicable to emergency command, education and training fields;
- True cross-platform, support Windows, Android, iOS one-to-one interaction.
Corresponding to the Demo:
- Windows C++ project: integration can refer to win-player sdk-cpp -Demo and win-player sdk-cpp -Demo, or corresponding C# Demo;
- Android project: SmartEchoCancellationV2;
- IOS Engineering: SmartiOSEchoCancellation.