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

 Share

×
×
  • Create New...