Skip to content

lucasmmg1/WebRTC_PoC_v1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proof of Concept: Multiplayer with WebRTC for Unity

This is a proof of concept made for testing WebRTC multiplayer within Unity!

Goals

This POC had two main goals:
1: To create a window that constantly uploads a file to a webserver.
2: To have a multiplayer lobby where multiple clients are able to connect and see objects the same file contained within the webserver.

Problems

Problem 1: The uploading window

The idea here is to create a simple GUI that has a file selector, an upload button and a terminal to check for errors. With that, you will be able to upload the file to a webserver with a predefined IP address.

Problem 2: The lobby

For this, we wanted to be able to connect on lobby that will retrieve to file contained on the webserver based on its IP and on the file name. Then, show this file on the scene (assuming that this file is either an image or a video; something that can be converted into a texture), and everyone connected to the lobby will be able to see this file at the same time.

Achieved

Until now, only the uploading window was created. It uploads the file to a webserver that has the predefined IP written on the code and allows file uploading.