|
@@ -219,11 +219,12 @@ export class StreamService {
|
|
|
let isPush: boolean;
|
|
|
// this.logger.log('statusPack', statusPack);
|
|
|
if (this.channel && this.channel.isOpen()) {
|
|
|
+ await this.sleep(0.5);
|
|
|
isPush = this.channel.sendMessageBinary(
|
|
|
Buffer.from(framePack.buffer),
|
|
|
);
|
|
|
if (!isPush) {
|
|
|
- await this.sleep(5);
|
|
|
+ // await this.sleep(5);
|
|
|
console.error('流测试推不成功-1试', isPush);
|
|
|
isPush = this.channel.sendMessageBinary(
|
|
|
Buffer.from(framePack.buffer),
|