Skip to content

Commit 160c56c

Browse files
committed
- QBWEBSDK-205
- don't show name of user on accept (mac)
1 parent 8df6d6f commit 160c56c

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

samples/webrtc/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@
330330
});
331331

332332
ui.$callees.append(videoElems);
333+
ui.setPositionFooter();
333334
ui.updateMsg( {msg: 'during_call', obj: {name: app.caller.full_name}} );
334335

335336
app.currentSession.accept({});

samples/webrtc/styles.css

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,21 @@ body {
6666

6767
.fw-video {
6868
display: block;
69-
width: 100%;
70-
min-height: 100px;
69+
width: 135px;
70+
height: 100px;
71+
max-height: 100px;
7172

7273
background: #bfbfbf;
7374
}
7475
.fw-video-wait {
7576
min-width: 32px;
7677
background: #bfbfbf url('images/loader3.gif') no-repeat center;
7778
}
79+
.fw-video.main_video_vid {
80+
width: 100%;
81+
height: auto;
82+
max-height: none;
83+
}
7884

7985
.fw-inner {
8086
width: 90%;
@@ -479,6 +485,7 @@ body {
479485
}
480486

481487
.callees__callee_video {
488+
margin: 0 auto;
482489
border: 4px solid transparent;
483490

484491
transition: border-color .3s ease;
@@ -500,6 +507,10 @@ body {
500507
z-index: 9;
501508
}
502509

510+
.callees__callee_name {
511+
text-align: center;
512+
}
513+
503514
@media all and (min-width: 780px) {
504515
.callees__callee {
505516
width: 20%;

0 commit comments

Comments
 (0)