code: public boolean videoIsMuted() {
          boolean isMuted = true;
  
          if (!audioOnly && (null != localStream)) {
              for (MediaStreamTrack eachTrack : localStream.videoTracks) {
                  if (eachTrack.enabled()) {
                      isMuted = false;
                  }
              }
          }
  
          return isMuted;
      }
docs: Indicates if the local video stream is muted
  
  @return returns true if the local video stream is currently muted