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. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Samples not working? Example provided, bidirectional

Discussion in 'Unity Render Streaming' started by dan_soqqle, Jul 31, 2022.

  1. dan_soqqle

    dan_soqqle

    Joined:
    Feb 2, 2022
    Posts:
    69
    Hi it seems like quite a straight forward scenario but i can't get it to work. I'm using the bidirectional sample. The one on unity is using 1 of my physical camera, while the browser is using the one on my macbook.

    you can see the console as well as my server.
    I kind of am also unsure what to expect in terms of logging.

    Wondering if there might be any tips? You can see that the signaling url is correct

    View attachment upload_2022-7-31_15-24-28.png
     
    Last edited: Jul 31, 2022
  2. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    543
    Is this issue occurd every time?
    How about WebSocket?
     
  3. dan_soqqle

    dan_soqqle

    Joined:
    Feb 2, 2022
    Posts:
    69
    Hi Kazuki thanks for your reply. I did try both websocket and http.
    Although i did not manage to get it to work on a public wifi this morning... i just tried again at my home and it seems to work. I will monitor more. I have created my own stun / turn so maybe i will try to put that in. Although am a bit unfamiliar with how to put the URLs in.

    Also do you mind if i ask, what if i have more then 1 client who wants to connect?

    My use case is actually having multiple unity clients connecting for audio chat (maybe 4-5?). And i can't seem to find a good sample or tutorial on how i can do it. So i am hoping to deep dive into the bidirectional code.. Or maybe broadcast with the audiosender is sufficient?
     
  4. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    543
    "Multiplay" sample would be a good sample for you.