How do i get stream by ID

I found the answer my self. Although i thought there might be built in API for this.
I have to Iterate room.remoteStreams and match stream id with each stream. Thanx anyways.–
Sagar


From: Sagar Baraimailto:azadsagar@hotmail.com
Sent: ‎11/‎20/‎2015 4:47 PM
To: lynckia@googlegroups.commailto:lynckia@googlegroups.com
Subject: [lynckia] How do i get stream by ID

Hi,
If i know the stream id published in room how do i get a stream object by its id.
I saw the functions getStream() and getStreamByAttributes. Does getStream() returns array of objects ? Or is there another method to get stream by id ?


Sagar


You received this message because you are subscribed to the Google Groups “lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lynckia+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi,
If i know the stream id published in room how do i get a stream object by its id.
I saw the functions getStream() and getStreamByAttributes. Does getStream() returns array of objects ? Or is there another method to get stream by id ?–
Sagar