Rails5:WebRTC视频会议

Rails 5: WebRTC video conferencing

看过DHH's Rails 5 chat app demo之后我有以下问题:

我还需要 add/implement 哪些元素才能使用 Rails 5 的 WebRTC 功能来设置视频会议应用程序? (例如,Rails 5 是否已包含所需的信令服务器、STUN 服务器和 TURN 服务器?还需要哪些额外的库?)

What elements would I need to add/implement additionally to use Rails 5's WebRTC functionality in order to set up a video conferencing app?

Rails 5 没有内置任何 WebRTC 功能。

For instance, is it correct that Rails 5 already contains the required Signaling server, the STUN server and the TURN server?

没有。 Rails 5 在 Rails 个应用程序中带有一个名为 ActionCable. ActionCable was created to integrate WebSockets 的新库,仅此而已。

您可能会感到困惑,因为 WebSockets 通常用作 WebRTC 应用程序中的信号传输。

What additional libraries are required?

我建议阅读 this article,其中概述了所需的架构。