Skip to content

Commit 09dbad3

Browse files
committed
clean code
1 parent 8b9016f commit 09dbad3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

H5/js/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ function initRTC(opts) {
102102
sdkAppId: opts.sdkappid,
103103
accountType: opts.accountType
104104
}, function () {
105-
// RTC.createRoom({
106105
RTC.enterRoom({
107106
roomid: opts.roomid * 1,
108107
privateMapKey: opts.privateMapKey,
@@ -143,7 +142,7 @@ function initRTC(opts) {
143142
}
144143
});
145144
RTC.on("onStreamNotify", function (info) {
146-
console.warn('onStreamNotify', info)
145+
// console.warn('onStreamNotify', info)
147146
});
148147
RTC.on("onWebSocketNotify", function (info) {
149148
// console.warn('onWebSocketNotify', info)
@@ -170,7 +169,6 @@ function push() {
170169
"userSig": userSig,
171170
"sdkappid": sdkappid,
172171
"accountType": 1, // 随便传一个值,现在没有啥用处
173-
"closeLocalMedia": false,
174172
"roomid": roomid
175173
});
176174
}

0 commit comments

Comments
 (0)