|
@@ -93,6 +93,11 @@ var VideoLayout = {
|
93
|
93
|
init (emitter) {
|
94
|
94
|
eventEmitter = emitter;
|
95
|
95
|
localVideoThumbnail = new LocalVideo(VideoLayout, emitter);
|
|
96
|
+ // sets default video type of local video
|
|
97
|
+ localVideoThumbnail.setVideoType(VIDEO_CONTAINER_TYPE);
|
|
98
|
+ // if we do not resize the thumbs here, if there is no video device
|
|
99
|
+ // the local video thumb maybe one pixel
|
|
100
|
+ this.resizeThumbnails(false, true, false);
|
96
|
101
|
|
97
|
102
|
emitter.addListener(UIEvents.CONTACT_CLICKED, onContactClicked);
|
98
|
103
|
this.lastNCount = config.channelLastN;
|