MediaStream.hasAudio

bool hasAudio()

Returns whether the stream has audio.

Returns

true if the stream has audio