Title: WP-WebRTC2
Author: adminkov
Published: <strong>2019 年 10 月 24 日</strong>
Last modified: 2025 年 12 月 31 日

---

搜索插件

![](https://ps.w.org/wp-webrtc2/assets/banner-772x250.png?rev=2893242)

![](https://ps.w.org/wp-webrtc2/assets/icon-128x128.png?rev=2994377)

# WP-WebRTC2

 作者：[adminkov](https://profiles.wordpress.org/adminkov/)

[下载](https://downloads.wordpress.org/plugin/wp-webrtc2.1.7.4.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-webrtc2/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-webrtc2/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-webrtc2/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-webrtc2/#developers)

 [支持](https://wordpress.org/support/plugin/wp-webrtc2/)

## 描述

WP-WebRTC2 是一个 WordPress CMS 插件，可在安装插件的站点的注册访问者之间提供视频
聊天。对话者对的数量没有限制。在此视频聊天的框架内，可以：交换文本消息、文件、对话
的视频记录，在通信过程中为对话者提供您计算机屏幕的概览。注册访客可以给当前不在视频
聊天页面上的对话者留言。当对话者出现在视频聊天页面上时，他将阅读所有注册站点访问
者发给他的所有消息。然后这些消息将被自动删除。WP-WebRTC2 插件专注于浏览器的使用：
Google Chrome、Fire Fox、Edge、Opera、Yandex。

Instructions for using the video-chat plugin in: [[CN]](https://adminkov.bcr.by/wp-content/plugins/wp-webrtc2/doc/doc_cn/webrtc2_cn.html),
[[DE]](https://adminkov.bcr.by/wp-content/plugins/wp-webrtc2/doc/doc_de/webrtc2_de.html),
[[EN]](https://adminkov.bcr.by/wp-content/plugins/wp-webrtc2/doc/doc_en/webrtc2_en.html),
[[FR]](https://adminkov.bcr.by/wp-content/plugins/wp-webrtc2/doc/doc_fr/webrtc2_fr.html),
[[IT]](https://adminkov.bcr.by/wp-content/plugins/wp-webrtc2/doc/doc_it/webrtc2_it.html),
[[RU]](https://adminkov.bcr.by/wp-content/plugins/wp-webrtc2/doc/doc_ru/webrtc2_ru.html)

您可以在其[**主页**](https://adminkov.bcr.by/contact/)上测试此插件

You can send a letter to the developer at: klenitskiy.oleg@mail.ru

### Additionally:

Client WP-WebRTC2 (executable jar) application has been developed for a client workstation(
personal computer or laptop) on the Windows platform, which provides video communication
for two registered visitors to the site, on which the WP-WebRTC2 plugin is installed.
After launch, the application is located in the system tray of Windows OS in the
form of an icon waiting for a call to video communication.
 [Client WP-WebRTC2 (executable jar)](https://adminkov.bcr.by/support/)

## 屏幕截图

 * [[
 * General view of the video-chat plugin.
 * [[
 * Call statistics in admin panel.
 * [[
 * Stun servers in admin panel.
 * [[
 * 交互式绘图板。

## 安装

 1. 从 WordPress 存储库下载插件并激活它。
 2. 转到插件设置部分。
 3. 参数**WHO-IS服务：**-设置值：IP-API
 4. 参数 **STUN 服务器：** – 将该字段留空。
 5. 参数 **TURN 服务器：** – 从提供商 TURN 服务器获取数据。
 6. 单击按钮保存。
 7. 等待 5 分钟。直到插件填充服务器表的空白字段。
 8. 在任何页面插入一个短代码 – **[webrtc2]** 以显示视频聊天。

**注意：**如果以前安装过此插件，建议停用并删除以前安装的插件，然后下载并激活新安装
的插件。

## 常见问题

### Do I need to install additional software for this plugin to provide video chat?

The WP-WebRTC2 plugin does not require additional software. Signaling server functions
are provided by the plugin itself. PHP signal ing modules are located in the subfolder
of the plugin: wp-webrtc2/includes/ The signaling exchange data is stored in the:

get_option( ‘webrtc2_users_online’ ); get_option( ‘webrtc2_users_guests’ ); get_option(‘
webrtc2_ice_candidates’ ); get_option( ‘webrtc2_sdp_offer’ ); get_option( ‘webrtc2_sdp_answer’);
get_option( ‘webrtc2_autoresponder’ );

### 插件设置中 Stun 服务器的选择是否会影响建立视频聊天的速度？

站点管理员可以在插件设置中输入一个 Stun 服务器值。推荐列表位于设置页面上并且是可
选的。如果此字段留空，插件将自动为视频聊天用户选择最佳的 Stun 服务器。选择标准是：
Stun服务器和视频用户共同的时区，Stun服务器的最小延时。

### 如果其他注册用户打来陌生且不受欢迎的电话，注册用户应该怎么办？

为避免与其他注册用户进行不必要的对话 – 单击您的用户名 – 您将被带到您的个人资料。
然后，在最底部，创建您的注册用户联系人列表。单击 – 更新配置文件按钮。您只会接听来自
已创建的注册用户列表的电话。

### 值为 failed 的行会定期出现在 Stun 服务器表中。如何处理这些线？

 1. 您可以用复选标记标记这些行并运行“批量操作 -> 更新”命令。“响应”字段将被标记为“手
    动”。
 2. 您可以保留所有内容。插件本身会根据自己的时间表（可以在“图表”弹出窗口中看到）检查
    Stun 服务器的健康状况，并将“自动”标记放在“响应”字段中。
 3. 如果长时间（1-2 周）某个 Stun 服务器确实出现故障，您可以使用“批量操作 -> 删除”命令
    将其从 Stun 服务器表中删除。

### How to replace an existing video chat poster with a different image?

Select a suitable image for the theme of your site and put it in the directory: …\
wp-content\plugins\wp-webrtc2\images with the name poster (png/gif)

## 评价

此插件暂无评价。

## 贡献者及开发者

「WP-WebRTC2」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ adminkov ](https://profiles.wordpress.org/adminkov/)
 *   [ Inna Voronich ](https://profiles.wordpress.org/innavoronich/)

「WP-WebRTC2」插件已被翻译至 2 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/wp-webrtc2/contributors)
为本插件所做的贡献。

[帮助将「WP-WebRTC2」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-webrtc2)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-webrtc2/)，查看[SVN仓库](https://plugins.svn.wordpress.org/wp-webrtc2/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/wp-webrtc2/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-webrtc2/)。

## 更新日志

#### 1.0.0

 * First publication of the plugin.

#### 1.0.1

 * Tested up to: WordPress 5.3.

#### 1.0.2

 * Tested up to: WordPress 5.4.

#### 1.1.0

 * An experimental signaling algorithm has been developed that increases the likelihood
   of peer-to-peer connections in congested networks or not sufficient RAM on users’
   computers. Further development of this version (1.1 …) will go in this direction.

#### 1.2.0

 * Improved video recording. The screens of two communication participants and text
   messaging are recorded in one .webm file.

#### 1.2.1

 * Refactoring code. Removed code fragment (ice restart).

#### 1.3.0

 * Added: webrtc2-processor.js (because ScriptProcessorNode is deprecated).
 * Added: webrtc2-rest-api.php (for future development).

#### 1.4.0

 * The end user can create his own list of contacts in the Profile.
 * Support for video communication from Android mobile devices.
 * Remove support webrtc2-rest-api.php

#### 1.5.0

 * Using a midi-keyboard (virtual) and synthesizer.

#### 1.6.0

 * Remove support midi-keyboard (virtual) and synthesizer.
 * Creating a table of user call statistics in the admin panel.

#### 1.7.0

 * Automatic health check of stun servers.

#### 1.7.1

 * Responsive design.

#### 1.7.2

 * Added interactive drawing board. Drawing geometric shapes and formulas.

#### 1.7.3

 * Correct graphic charts.

#### 1.7.4

 * Using email in a video chat user profile.

## 额外信息

 *  版本 **1.7.4**
 *  最后更新：**5 月前**
 *  活跃安装数量 **30+**
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [Chinese (China)](https://cn.wordpress.org/plugins/wp-webrtc2/) 、 [English (US)](https://wordpress.org/plugins/wp-webrtc2/)
   和 [Russian](https://ru.wordpress.org/plugins/wp-webrtc2/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/wp-webrtc2)
 * 标签
 * [chat](https://cn.wordpress.org/plugins/tags/chat/)[videochat](https://cn.wordpress.org/plugins/tags/videochat/)
   [webrtc](https://cn.wordpress.org/plugins/tags/webrtc/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-webrtc2/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/wp-webrtc2/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-webrtc2/reviews/)

## 贡献者

 *   [ adminkov ](https://profiles.wordpress.org/adminkov/)
 *   [ Inna Voronich ](https://profiles.wordpress.org/innavoronich/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-webrtc2/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://adminkov.bcr.by/)