invokeHandler() {
    let offset = this.parserPacket.header.type === RTMP_TYPE_FLEX_MESSAGE ? 1 : 0;
    let payload = this.parserPacket.payload.subarray(offset, this.parserPacket.header.length);

    let invokeMessage = AMF.decodeAmf0Cmd(payload);
    switch (invokeMessage.cmd) {
    case "connect":
      this.onConnect(invokeMessage);
      break;
    case "createStream":
      this.onCreateStream(invokeMessage);
      break;
    case "publish":
      this.onPublish(invokeMessage);
      break;
    case "play":
      this.onPlay(invokeMessage);
      break;
    case "deleteStream":
      this.onDeleteStream(invokeMessage);
      break;
    default:
      logger.trace(`unhandle invoke message ${invokeMessage.cmd}`);
      break;
    }
  }
@param {Buffer} data 
@param {number} p 
@param {number} bytes 
@returns {string | null}