Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

对比WebRTC有什么优势? #6

Closed
mallxiaodoudou opened this issue Jul 20, 2023 · 4 comments
Closed

对比WebRTC有什么优势? #6

mallxiaodoudou opened this issue Jul 20, 2023 · 4 comments

Comments

@mallxiaodoudou
Copy link

实时音视频通信已经有比较成熟与完善的解决方案WebRTC。并且支持跨端通信,我想问一下自己这么实现的话对比WebRTC有什么优缺点吗?

@cyz7758520
Copy link
Owner

资源占用比webrtc小,可以方便集成到自己的app,不用webrtc那么复杂的部署,装上app就能用,支持录音录像,回音消除应该比webrtc处理好一些,等等。

@cyz7758520
Copy link
Owner

WebRtc相对来说功能强大很多,但使用也很麻烦。

@mallxiaodoudou
Copy link
Author

感谢回复,您这种方案好像只能用于本地局域网吧,如果是互联网对线的话能实现吗?能不能像WebRTC那样搭建虚拟局域网让两端实时音视频?

@cyz7758520
Copy link
Owner

互联网也可以使用,不过需要公网IP,如果两边都是局域网的话,需要做内网穿透就能实现互联网对讲了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants