Jump to content
  • 0

Unity SDK - Receiving multiple streams


Pedro Loureno
 Share

Question

Hi,

Changing the sample type on the SoraSample component to MultiRecvonly should allow me to receive multiple streams on a Unity scene but that doesn't seem to be the case since I can only receive one. This makes sense because I only provide one channelId but does someone know how I could accomplish what I'm looking for?

Regards,
Pedro
Link to comment
Share on other sites

  • Answers 6
  • Created
  • Last Reply

Top Posters For This Question

6 answers to this question

Recommended Posts

  • 0

Hi Pedro,

I think in our sample there are three methods https://antmedia.io/webrtc-streaming-in-unity/
Sendonly- which is publish only.
Recvonly - which is to play streams.
Multi_sendrecv - which is for conferences.
But as far as I understand you are trying to play multiple streams through Unity. Let me check back on this with the Unity developer and I shall right back to you ASAP.

--
Best Regards,
Mohit Dubey

Link to comment
Share on other sites

  • 0

Hi Pedro,

You can use Multi_sendrecv example in the sample if it suits your requirement. You can launch Unity for different streamId, if that's feasible, apart from them unfortunately I couldn't find any specific workaround for your use case.
Maybe some of our community members with expertise in this can suggest a way.

--
Best Regards,
Mohit Dubey

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...