Skip to content

mgm-interns/mgmportal

Repository files navigation

logo

README

Description

The mgm Portal is an office-to-office video gate that connectes two browser peers using webrtc technology.

portal

Motivation

Even though we now have two offices in Da Nang, we would still like to be able to have an informal communication channel between both locations. Basically we were inspired by the office-to-office portal of Atlassian.

User Interaction

The user can press the enter button to mute/unmute the portal on both sides. If one side is muted/unmuted, the other side will also mute/unmute. In the future the enter button should be substituted by a single big button.

Structure

structure

Software used

  • HTML, CSS and JS for frontend
  • Python and JS for scripts and simple servers
  • SimpleWebrtc | more info
  • Signalmaster signaling server | more info

Hardware used

  • 2x Intel Nuc
  • 2x Logitech webcam
  • 2x 50" TV
  • 2x Rode Videomicro microphone

How do I get set up?

Requirements: NodeJS, Python

1 - Download files and place them in C:/startup/

2 - Install chromedriver v.2.31 | link Observation: newer versions of Chrome will not work without changes because SSL encryption requirements are stricter.

3 - Install python and NodeJS dependencies

4 - Setup startup scripts to run on startup of the machine On Windows: press "windows key + r" and enter "shell:startup". Place the respective startup scripts in that folder:

After everything is setup the portal should be working automatically after the startup of the machiness.

Configuration

It might be needed to configure:

  • microphone check the windows settings to get the best volume and check if the pc is using the right microphone and not the webcam mic
  • webcam can be adjusted by bending the metal support on the frame

How to customise the look?

mgm Portal is a browser app and can be customised modifying the CSS, JS and HTML files.

Static IP Addresses

Each portal has a static IP Address assigned to it

  • Office Pasteur: 172.31.249.19
  • Office mgm2: 172.31.249.18

The Frame

Frame 1

These where the dimensions used to obtain the first frame Frame dimensions

These are the recommendations for the second frame (based on previous experience). Camera and microphone should be hidden inside the frame. Frame dimensions 2

Practical things we have learnt

  • The portal should be located such that nobody is continuously being watched
  • People do not automatically stay in the right position, so it's a good idea to mark where one should stand.
  • The environment tends to be very noisy so we decided to use a directional microphone to eliminate some sound coming from the surroundings.

What could be done to improve the system?

The portal is still not a real "plug and play" and needs some configuration. Some things that could improve the portal:

  • Put the servers into a docker container
  • Resolve all issues regarding the SSL encryption. (Maybe get a trusted/not self-signed certificate?)
  • Experiment with different hardware (e.g. higher resolution webcams)
  • Be creative and experiment with new features (e.g. face recognition)

Links to learn more about WebRTC

Who do I talk to?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published