@@ -132,7 +132,7 @@ export class RoomComponent implements OnInit, AfterContentInit, AfterViewInit, O
});
}
handlePublishScreen() {
- this.client.publish({ audio: true, video: false, screen: true }, (err) => {
+ this.client.publish({ audio: false, video: false, screen: true }, (err) => {
console.error('发布失败:', err);
@@ -253,7 +253,7 @@ window.onload = function () {
},
handlePublishScreen: function () {
this.client.publish({
- audio: true,
+ audio: false,
video: false,
screen: true
}, err => {
@@ -349,4 +349,4 @@ window.onload = function () {
App.init();
-}
+}
@@ -110,7 +110,7 @@ export default class Room extends Component {
handlePublishScreen = () => {
- this.client.publish({audio: true, video: false, screen: true}, err => {
+ this.client.publish({audio: false, video: false, screen: true}, err => {
@@ -135,7 +135,7 @@ export default {