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

请问网页demo的服务端程序有代码可以参考吗,谢谢 #6

Open
loveCatCoder opened this issue Dec 18, 2020 · 1 comment

Comments

@loveCatCoder
Copy link

我想使用libice编写c++程序和浏览器建立webrtc连接,可以指教一下吗。

@str2num
Copy link
Owner

str2num commented Feb 23, 2021

简单的开发,有几个重点环节需要重点关注下:

  1. 需要搭建1个信令服务用于交换SDP,方式很多,可以用http的方式,也可以用长连接的方式,比如websocket。
  2. 基于libice开发一个音视频流分发服务 (SFU模式),peerconnection的建立、音视频的分发和处理可以参考webrtc的源码

如果开发大型的商用服务,还需要考虑智能调度系统,就近的边缘分发、中继分发等等,这个就相对比较复杂了。

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