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
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    114
    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:
    803
    Is this issue occurd every time?
    How about WebSocket?
     
  3. dan_soqqle

    dan_soqqle

    Joined:
    Feb 2, 2022
    Posts:
    114
    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:
    803
    "Multiplay" sample would be a good sample for you.