Commit d32381fb by Иван Кубота

change app ui

parent 40660135
...@@ -145,7 +145,7 @@ D.div({cls: 'top-bar', renderTo: document.body}, ...@@ -145,7 +145,7 @@ D.div({cls: 'top-bar', renderTo: document.body},
LabeledInput({label: 'Session ID', cls: 'callapp_address input', autocomplete: 'off', value: 'SelfieBarracuda_con'}, 'conference_id'), LabeledInput({label: 'Session ID', cls: 'callapp_address input', autocomplete: 'off', value: 'SelfieBarracuda_con'}, 'conference_id'),
), ),
D.div({cls: ['block', {hidden: Store.NOT(isConnected)}]}, D.div({cls: ['block', {hidden: true}]}, //Store.NOT(isConnected)
D.div({cls: ['header']}, 'Remote video'), D.div({cls: ['header']}, 'Remote video'),
remoteVideoEl = window.remoteVideoEl = D.div({cls: 'remote-video'}) remoteVideoEl = window.remoteVideoEl = D.div({cls: 'remote-video'})
......
...@@ -219,6 +219,10 @@ export class VideoInputApp { ...@@ -219,6 +219,10 @@ export class VideoInputApp {
userId: store.get('userRole'+this.___id), userId: store.get('userRole'+this.___id),
webCam: store.get('webcam'+this.___id) webCam: store.get('webcam'+this.___id)
}), messageArgs.Reliable, messageArgs.ConnectionId); }), messageArgs.Reliable, messageArgs.ConnectionId);
/* this.mCall.SendData(JSON.stringify({
userId: store.get('userRole'+this.___id),
webCam: store.get('webcam'+this.___id)
}), messageArgs.Reliable, messageArgs.ConnectionId);*/
} }
else if (args.Type == awrtc.CallEventType.WaitForIncomingCall) { else if (args.Type == awrtc.CallEventType.WaitForIncomingCall) {
console.log("Waiting for incoming call ..."); console.log("Waiting for incoming call ...");
......
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