danielneis/moodle-mod_webrtcexperiments

This is a Moodle plugin for users interact with audio and video using WebRTC

Installs: 43

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 3

Forks: 10

Open Issues: 5

Language:JavaScript

Type:moodle-mod

9 2017-01-04 19:57 UTC

This package is not auto-updated.

Last update: 2024-05-14 01:59:50 UTC


README

Welcome to WebRTC Moodle Plugin!

This project uses the code from

https://webrtc-experiment.com/

to implement an activity module for Moodle to allow people to interact more freely.

Everything you need to start communicating using your webcam and microphone is an updated browser like Firefox or Chrome. There is no need to install any third-party plugins on your browser. There is no flash here.

Also, this plugin transfer data (audio and video) in a P2P (peer-to-peer) fashion. This way, data is sent directly from one user computer to another. There is no dependency on a "central server" or a "streaming server".

The only dependency on a server is for "signaling events" like room creations, and users joining and leaving. See more about it on the "Signaling server" section of this document.

Features

  • Video and audio chat
  • Text chat
  • File sharing (it is P2P file sharing, not integrated with Moodle Files API)

It is basically a copy of the Audio+Video+TextChat+FileSharing using RTCMultiConnection demo:

https://rtcmulticonnection.herokuapp.com/demos/Audio+Video+TextChat+FileSharing.html

Future features

  • Screensharing
  • Record video and audio from any peer (or local stream) and save to your computer
  • Colaborative canvas

Install

  • Put this code under "youmoodlerootdir/mod/webrtcexperiments" (you may "git clone" or "composer require")
  • Visit your Moodle site as administrator to install plugin via web interface

Usage

To use the module, the first user must use the "Open Room" button. The browser should then ask you to share mic and cam.

Then it should give the id of the room to the other users.

The other users should use the code given by the first user, fill the form with it, and use the "Join room" button. The browser should then ask you to share mic and cam.

When the second user enters the room, the chat and share files will be enabled.

Signaling Server

This module needs a signaling server. To learn more about Signaling, please visit:

https://github.com/muaz-khan/WebRTC-Experiment/blob/master/Signaling.md

If you don't want (or don't feel the need to, or cannot, for any reason) to run your own server, don't worry, this module will use the server below by default (under TLS)

https://novoaeon.com.br:1234

Note that there is no warranty for this server to be up and running. This server runs a websocket server over node.js that can be found at

https://github.com/muaz-khan/WebRTC-Experiment/tree/master/websocket-over-nodejs

Contact

Feel free to contact me at danielneis@gmail.com .

If you have problems using the plugin the plugin or would like to see a new feature implemented, please visit

https://github.com/danielneis/moodle-mod_webrtcexperiments/issues

If you like the plugin and want to say hi publicly instead of sending an email, leave a comment at

https://moodle.org/plugins/view/mod_webrtcexperiments

Icon

The icon was downloaded from pixabay and is licensed under CC0 Public Domain

http://pixabay.com/en/connection-network-router-cable-27386/

Donations

This development is a not for profit work. If you like you can help keep it going by donating via paypal =)