Skip to main content
Version: 0.1.x

Stream Class Properties

getId()

  • type: String

  • getId() will return id for that stream .


getKind()

  • type: String

  • getKind() will return kind, which represents the type of stream which could be audio | video or share .


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.