code: private void notifyRecordingStop() {
          IStreamAwareScopeHandler handler = getStreamAwareHandler();
          if (handler != null) {
              try {
                  handler.streamRecordStop(this);
              } catch (Throwable t) {
                  log.error("Error in notifyRecordingStop", t);
              }
          }
      }
docs: Notifies handler on stream recording stop