code: public void seek(int position) {
          log.trace("seek - position:{}", position);
          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 instanceof ISubscriberStream) {
                  ISubscriberStream subscriberStream = (ISubscriberStream) stream;
                  try {
                      subscriberStream.seek(position);
                  } catch (OperationNotSupportedException err) {
                      sendNSFailed(streamConn, StatusCodes.NS_SEEK_FAILED, "The stream doesn't support seeking.", stream.getName(), streamId);
                  }
              }
          }
      }
docs: {@inheritDoc}