Stream Class Properties
getId()
type:
String
getId()
will return id for that stream .
getKind()
type:
String
getKind()
will returnkind
, which represents the type of stream which could beaudio
|video
orshare
.
getTrack()
type:
MediaStreamTrack
getTrack()
will return a MediaStreamTrack object stored in the MediaStream object.
getProducer()
type:
Producer
getProducer()
will return a producer of that stream.
getConsumer()
type:
Consumer
getConsumer()
will return a consumer of that stream.