rtmpSendConnect() { let opt = { cmd: 'connect', transId: RTMP_TRANSACTION_CONNECT, cmdObj: { app: this.info.app, flashVer: FLASHVER, tcUrl: this.info.tcurl, fpad: 0, capabilities: 15, audioCodecs: 3191, videoCodecs: 252, videoFunction: 1, encoding: 0 } } this.sendInvokeMessage(0, opt); }