4.1.1 • Published 8 years ago

otalk-model-media v4.1.1

Weekly downloads
7
License
MIT
Repository
github
Last release
8 years ago

otalk-model-media

An Ampersand state model representing a video or audio stream.

Installing

$ npm install otalk-model-media

Properties

  • id - {String}
  • stream - {Object}
  • session - {Any}
  • peer - {State}
  • selectedVideoTrackId - {String}
  • isFocused - {Boolean}
  • isEnded - {Boolean}
  • audioMuted - {Boolean}
  • videoMuted - {Boolean}
  • volume - {Number}
  • isSpeaking - {Boolean}
  • isActiveSpeaker - {Boolean}
  • origin - {String}
  • isLocal - {Boolean}
  • isRemote - {Boolean}
  • isAudioOnly - {Boolean}
  • isVideo - {Boolean}
  • isScreen - {Boolean}
  • hasAudio - {Boolean}
  • hasVideo - {Boolean}

Methods

  • muteAudio([remoteSignaled])
  • playAudio([remoteSignaled])
  • muteVideo([remoteSignaled])
  • playVideo([remoteSignaled)
  • startAudioMonitor()
  • stopAudioMonitor()
  • stop()

License

MIT

4.1.1

8 years ago

4.1.0

9 years ago

4.0.6

9 years ago

4.0.5

9 years ago

4.0.4

9 years ago

4.0.3

9 years ago

4.0.2

9 years ago

4.0.1

9 years ago

4.0.0

9 years ago

3.1.0

9 years ago

3.0.0

9 years ago

2.0.6

9 years ago

2.0.5

9 years ago

2.0.4

9 years ago

2.0.3

9 years ago

2.0.2

9 years ago

2.0.1

9 years ago

2.0.0

10 years ago

1.6.1

10 years ago

1.6.0

10 years ago

1.5.0

10 years ago

1.4.2

10 years ago

1.4.1

10 years ago

1.4.0

10 years ago

1.3.2

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.0

10 years ago