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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

AR Foundation sample in Private mode with peer-to-peer connection ID

Discussion in 'Unity Render Streaming' started by segersnathan, Apr 7, 2023.

  1. segersnathan

    segersnathan

    Joined:
    Dec 22, 2021
    Posts:
    3
    Hello all,

    I would like to combine the Bidirectional sample with the AR Foundation (Receiver) sample.
    In Unity, I combined all the components and they work individually.

    However, I wish to combine the AR Foundation Receiver sample in the Private mode that the Bidirectional sample uses. Therefore, I assume I need to give a ConnectionID to get the P2P connection up and running.

    Is this the right way to do it? Anyone has some expertise on this?
    I would love to discuss it further with someone who has some more experience regarding WebRTC and these ConnectionID's.

    With kind regards,
    Nathan Segers
     
  2. segersnathan

    segersnathan

    Joined:
    Dec 22, 2021
    Posts:
    3
    I managed to add the Screen Video Render Streamer as a seperate Track.

    Is there a way to give a name to the tracks in the SimpleConnection?
    It would be cool to identify the tracks on the receiving end of the system.
     
  3. kannan-xiao4

    kannan-xiao4

    Unity Technologies

    Joined:
    Nov 5, 2020
    Posts:
    76
    We currently do not provide a way to identify tracks. You have to use the connection id.