WP-WebRTC2

Description

WP-WebRTC2 is a WordPress CMS plugin that provides video-chat between two registered visitors to the site on which the plugin is installed. The number of pairs-interlocutor is unlimited. Within of this video-chat, the following are possible: exchange of text messages, files, video recording of a conversation, providing the interlocutor with a view of you computer screen during communication. You can also leave a message to the invited interlocutor, but who is currently not on the video-chat page. When this person appears on the video-chat page, he will read all the messages addressed to him from various registered participants. Then, these messages will be automatically deleted. Thus, if your interlocutor is not yet on the video-chat page, the autoresponder will automatically save your messages to the interlocutor until it appears on the video-chat page. The WP-WebRTC2 plugin is aimed at using browsers: Google Chrome, Fire Fox, Edge, Opera, Yandex.
Recommendation: to improve the quality of the interface, install the plugin WatchMan-Site7

Plugin home page

Documentation [en]

Documentation [ru]

Translations:

  • English [en_EN]
  • Russian [ru_RU]

Additionally:

WebRTC2_desktop 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. When a call comes in, the user can double-click the left mouse button on the icon and see the name of the caller. Right-clicking the user brings up the application menu:
– Setting – settings that the user makes after installing the application.
– Make a call – call the video communication window.
– Cancel call – сanceling an incoming call window.
– Exit – exit the application.
Download installation package WebRTC2_desktop.zip
Instructions for using the WebRTC2_desktop in languages: [Ru], [En]

Screenshots

  • The general view of the video-chat plugin.
  • Configure of the video-chat plugin.

Installation

Duration of the video-chat: The site administrator determines the duration of the video-chat in the range of 1 – 24 hours. If you set 0 hours, video-chat will be unavailable. The current value of the video-chat time will be displayed in the graphical interface of the plugin as a countdown timer.

Disable video-chat for: the site administrator lists the IP addresses of registered site visitors for whom video-chat is prohibited.

Video-chat: The site administrator selects the category of registered visitors for whom video-chat is available.

STUN servers: the site administrator enters a list of stun servers without separating characters, in a column. The recommended list is located below on the settings page and is optional.

TURN server: the site administrator fills in the fields for the turn-server recommended on the plug-in settings page, or any other if he was lucky to find a free turn-server on the Internet 🙂 .

[webrtc2] the site administrator inserts this shortcode on the page of his site, where he wants to have a video-chat for his registered visitors to the site.

FAQ

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’ );

What is the composition and structure of the plugin?

Anatomy of the plugin is described in the article [ru]: Anatomy of the WP-WebRTC2 Plugin

How to improve peer-to-peer connections in low-performance networks?

Version 1.1.0 of this plugin uses an experimental WebRTC signaling algorithm in a low-performance network environment. It should be noted that some browsers in this situation form the wrong SDP (Offer, Answer). In addition, a high bitrate in a slow network leads to a distorted video stream. A new (experimental) algorithm is aimed at solving these problems, which will be periodically improved. In this situation, this plugin version 1.1.0 establishes a connection within 1-2 minutes.

Repeated attempts to establish a connection produce different messages in the protocol of dump window, but there is no connection?

Change the stun server in the plugin settings to some other, more stable one. If you do not use the turn server, then remove it from the plugin settings.

What is the reason for the code refactoring and the release of version 1.2.1 of this plugin?

Throughout 2020, the developer of this plug-in notes the stable operation of browsers (Chrome, Opera, Edge, Yandex) in WebRTC mode on computers (laptops) running Windows. In this regard, part of the algorithm (offerOptions.iceRestart = true) has been removed from the plugin. However, FireFox may work unstable with this plugin in answer mode (WebRTC) due to: stun server timeout. In initiator mode (WebRTC) FireFox works fine. In the opinion of the developer of this plugin, the FireFox developers should pay attention to the excessive memory requirements (more than 4GB of RAM – in fact) of the user’s computer.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“WP-WebRTC2” is open source software. The following people have contributed to this plugin.

Contributors

Translate “WP-WebRTC2” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • The 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