code: private void sendRecordStopNotify() {
          Status stopStatus = new Status(StatusCodes.NS_RECORD_STOP);
          stopStatus.setClientid(getStreamId());
          stopStatus.setDetails(getPublishedName());
  
          StatusMessage stopMsg = new StatusMessage();
          stopMsg.setBody(stopStatus);
          pushMessage(stopMsg);
      }
docs: Sends record stop notifications