|
@@ -74,7 +74,7 @@ export default {
|
|
|
this.client_.on('stream-added', event => {
|
|
|
const remoteStream = event.stream;
|
|
|
// 订阅远端音频和视频流
|
|
|
- this.client_.subscribe(remoteStream, { audio: true, video: true, screen: true }).catch(e => {
|
|
|
+ this.client_.subscribe(remoteStream, { audio: true, video: true }).catch(e => {
|
|
|
console.error('failed to subscribe remoteStream');
|
|
|
});
|
|
|
});
|
|
@@ -142,7 +142,7 @@ export default {
|
|
|
border-radius: 10px;
|
|
|
}
|
|
|
#look-video {
|
|
|
- width: 100%;
|
|
|
+ width: 40%;
|
|
|
height: 200px;
|
|
|
grid-area: 1/1/3/4;
|
|
|
}
|