MediaStream.hasAudio

Returns whether the stream has audio.

class MediaStream
bool
hasAudio
()

Return Value

Type: bool

true if the stream has audio