Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Matchmaking using WebRTC (AWS Linux Server)??

Discussion in 'Unity Render Streaming' started by CloudyVR, Jun 11, 2022.

  1. CloudyVR

    CloudyVR

    Joined:
    Mar 26, 2017
    Posts:
    715
    Hi,

    I was wondering how it would be possible to setup a AWS amazon web server to allow two remote PCs to play a multiplayer using WebRTC?

    Is it possible to use WebRTC on the internet?

    I found the Unity multiplayer examples do work on my local PC, but I need to be able to use multiplayer over the internet.

    I can't understand how to make outside connection? Do I add Webserver.exe to AWS server? Or do I have to write my own webserver to handle connecting clients? If I have to write my own then how? What is the protocol or how do I know how to respond to establish the connection? There is no documentation for this that I can find.

    Do i try to copy from the Webserver.exe source code and make my own webserver?

    Is there a webserver that already exists for Linux?

    Thnanks
     
    Last edited: Jun 12, 2022
  2. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    803