forked from TencentVideoCloudMLVBDev/webrtc_web_source
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix
- Loading branch information
Showing
8 changed files
with
45 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ var MainView = { | |
\ | ||
<!-- 主界面 start --> \ | ||
<div class="edu-main" style="overflow-y: scroll"> \ | ||
<div class="edu-main-content-wrapper" > \ | ||
<div style=" margin-right:320px; margin-left: 20px; height: 100%;"> \ | ||
<!-- tab start --> \ | ||
<div class="tc-15-tab tc-15-tab-alt customize-tab-bg" > \ | ||
<div role="tablist" class="tc-15-tablist edu-tab-tablist"> \ | ||
|
@@ -59,7 +59,15 @@ var MainView = { | |
</div> \ | ||
<!-- tab end --> \ | ||
<!-- 内容快 start --> \ | ||
<div class="edu-area-main"> \ | ||
<div class="edu-area-main"> \ | ||
<!--tab1 摄像头 Start --> \ | ||
<div v-show="mode == \'camera\'" style="background-color: black;display: flex;justify-content: center;"> \ | ||
<!-- <div id="videoview" class="edu-main-video-play" style=" margin: 0 auto; width: 720px; height: 540px;"> --> \ | ||
<!-- </div> --> \ | ||
<video id="localVideo" style=" margin: 0 auto; width: 100%; height: calc( 100vh - 335px );" muted autoplay playinline></video> \ | ||
</div> \ | ||
<!--tab1 摄像头 End --> \ | ||
<!--tab2 白板 Start --> \ | ||
<div v-show="mode == \'whiteboard\'"> \ | ||
<sketchpad ref="sketchpadCom" v-if="showSketchpad" :canDraw="canDraw" :toggleSketchPage="toggleSketchPage" @sketchpadData="onSketchpadDataGen" :inputData="inputSketchpadData" :imOptions="imOptions" :userAuthData="userAuthData" /> \ | ||
</div> \ | ||
|
@@ -81,17 +89,20 @@ var MainView = { | |
</div> \ | ||
</div> \ | ||
</li> \ | ||
<li class="edu-member-box" v-show="mode == \'camera\'"> \ | ||
<div class="edu-member-img" > \ | ||
<video id="localVideo" style=" margin: 0 auto; width: 100%; height: 100%;" muted autoplay playinline></video> \ | ||
</div> \ | ||
</li> \ | ||
\ | ||
<li class="edu-member-box" v-for="(item, index) in members" :key="index"> \ | ||
<!-- 互动人员图片 start --> \ | ||
<div class="edu-member-img" :id="\'video_\'+(item.id)"> \ | ||
<img :id="\'img_\'+(item.id)" v-show="item.reqeust" srcset="./assets/css/img/default.png 1x, ./assets/css/img/[email protected] 2x" src="./assets/css/img/default.png" alt="default"> \ | ||
<video :id="\'v_\'+(item.id)" style=" margin: 0 auto; width: 100%; height: 100%;" autoplay playsinline></video>\ | ||
</div> \ | ||
</div> \ | ||
<!-- 互动人员图片 end --> \ | ||
<!-- 互动信息 start --> \ | ||
<div class="edu-member-body"> \ | ||
<div class="edu-member-body-info"> \ | ||
<span class="edu-member-name">{{ nameMap[item.name] || item.name}}</span> \ | ||
</div> \ | ||
</div> \ | ||
</li> \ | ||
\ | ||
<li class="edu-member-box" v-for="(item, index) in requestMembers" :key="index"> \ | ||
|
@@ -858,4 +869,4 @@ var MainView = { | |
this.stopRenderMemberList(); | ||
clearInterval(this.heartBeatTask); | ||
} | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.