code: public void play(Boolean dontStop) {
          log.debug("Play without stop: {}", dontStop);
          if (!dontStop) {
              IConnection conn = Red5.getConnectionLocal();
              if (conn instanceof IStreamCapableConnection) {
                  IStreamCapableConnection streamConn = (IStreamCapableConnection) conn;
                  Number streamId = conn.getStreamId();
                  IClientStream stream = streamConn.getStreamById(streamId);
                  if (stream != null) {
                      stream.stop();
                  }
              }
          }
      }
docs: {@inheritDoc}