2014-11-06 86 views
1

我正在尝试创建一个虚拟教室。由于我不熟悉网络会议(或会议)术语,因此我不确定是否应该理解WebRTC的功能。WebRTC可以帮助我创建虚拟教室吗?

我查看了WebRTC的示例,我发现的所有东西似乎都是点对点连接。据我了解,点对点连接在两个实体之间。然而,就我所知,虚拟教室是不同的;他们要求所有参与者彼此连接,以便当一个用户说话/类型时,所有用户都能听到她。

WebRTC有这种可能吗?如果是这样,那么它是什么,我怎么读更多关于它?

+0

是的,但我会使用一个集中的MCU为您的所有连接。 [Janus-Gateway](https://github.com/meetecho/janus-gateway)就是一个很好的例子。 – 2014-11-06 13:56:45

+0

这将是一项艰巨的任务。你看过开源Big Blue Button项目吗?他们目前是基于Flash的,但正在积极走向webRTC。 – 2014-11-06 18:32:06

+0

@mtbikemike不,我没有。你的建议虽然很棒,现在我不必处理写你自己的代码。但是,现有的答案涵盖了我原来的问题。所以我坚持要接受哪个答案;你的回答让我意识到我走错了路,而目前(唯一)的答案给了我一个我的问题的答案。 :) – 2014-11-07 08:18:39

回答

2

退房开源大蓝色按钮项目( http://bigbluebutton.org/)。他们目前是基于Flash的,但正在积极走向webRTC。有传言说他们将使用Kurento作为他们的MCU。他们也有开源移动(Android/iOS)应用程序代码。

2

根据http://www.html5rocks.com/en/tutorials/webrtc/infrastructure/,这样的事情是可能的:

Beyond one-to-one: multi-party WebRTC 

You may also want to take a look at Justin Uberti's proposed IETF standard for 
a REST API for access to TURN Services. 

It's easy to imagine use cases for media streaming that go beyond a simple 
one-to-one call: for example, video conferencing between a group of colleagues, 
or a public event with one speaker and hundreds (or millions) of viewers. 

A WebRTC app can use multiple RTCPeerConnections so to that every endpoint 
connects to every other endpoint in a mesh configuration. This is the approach 
taken by apps such as talky.io, and works remarkably well for a small handful 
of peers. Beyond that, processing and bandwidth consumption becomes excessive, 
especially for mobile clients. 

也许你可以尝试搜索在webrtc google group

希望这有助于

相关问题