Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question WebGL Sockets – what now?

Discussion in 'Web' started by mognog5, Sep 4, 2020.

  1. mognog5

    mognog5

    Joined:
    Jun 8, 2020
    Posts:
    6
    It’s the 4th September 2020 and I’m using Unity 2020.1.4f1

    I have a WebGL application that does basic chat messages to a WebRTC server (https://janus.conf.meetecho.com/ ) that works great when running in a Unity Windows build. In a Unity WebGL build the Rest calls work fine but WebSockets do not. No error either.

    All the Unity documentation says everything is deprecated and being replaced by a new system.

    https://docs.unity3d.com/Manual/webgl-networking.html

    My question is what should I now be using as an alternative to sockets? What should I be researching?

    Any pointers in the right direction are most appreciated.