Commit 06aba845 by Иван Кубота

message duplicate

parent 07e425ed
...@@ -238,11 +238,12 @@ export class VideoInputApp { ...@@ -238,11 +238,12 @@ export class VideoInputApp {
window['logging'](`income call id: ${messageArgs.ConnectionId.id}`); window['logging'](`income call id: ${messageArgs.ConnectionId.id}`);
setTimeout(()=>{ for(var i = 0; i < 8; i++) {
setTimeout(() => {
window['logging'](`send my user data to ${messageArgs.ConnectionId.id} (${JSON.stringify(sendingObj)})`); window['logging'](`send my user data to ${messageArgs.ConnectionId.id} (${JSON.stringify(sendingObj)})`);
this.mCall.Send(JSON.stringify(sendingObj), messageArgs.Reliable, messageArgs.ConnectionId); this.mCall.Send(JSON.stringify(sendingObj), messageArgs.Reliable, messageArgs.ConnectionId);
}, (50+220*Math.random())|0) }, (1000*i+ 50 + 220 * Math.random()) | 0)
}
/* this.mCall.SendData(JSON.stringify({ /* this.mCall.SendData(JSON.stringify({
userId: store.get('userRole'+this.___id), userId: store.get('userRole'+this.___id),
webCam: store.get('webcam'+this.___id) webCam: store.get('webcam'+this.___id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment