Quellcode durchsuchen

feat:添加键盘弹起消息

leo vor 1 Jahr
Ursprung
Commit
5e90b57071
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      static/webRtcYJ/WXdraw.js

+ 2 - 0
static/webRtcYJ/WXdraw.js

@@ -67,6 +67,8 @@ function doConnectDirectives() {
       type: 'bitRate',
     };
     wsss.send(JSON.stringify(bitRate));
+    // 支持键盘透传
+    wsss.send(JSON.stringify({ data: { type: 2 }, type: 'InputMethod' }));
     // // 进入发起询问
     // var pings2 = {
     //   type: 'forwardMsg',