public boolean audioIsMuted ( ) { boolean isMuted = true ; if ( null != localStream ) { for ( MediaStreamTrack eachTrack : localStream . audioTracks ) { if ( eachTrack . enabled ( ) ) { isMuted = false ; } } } return isMuted ; }
Indicates if the local audio stream is muted