Skip to content

Commit

Permalink
移除屏幕共享SFU日志:mute:
Browse files Browse the repository at this point in the history
  • Loading branch information
ch1ny committed Jun 6, 2022
1 parent e54ac91 commit f183ab2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/Components/Meeting/MeetingRoom/MeetingRoom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,6 @@ export default function MeetingRoom(props: MeetingRoomProps) {
);
screenShareSfu.on('connect', () => {
screenShareSfu.join();
screenShareSfu.on('newMessage', (msg) => {
console.log(msg);
});
screenShareSfu.on('onJoinSuccess', () => {
screenShareSfu.publish(stream);
});
Expand Down
1 change: 0 additions & 1 deletion src/Utils/WebRTC/SFU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export default class SFU extends EventEmitter {
this.socket.onmessage = (e) => {
const parseMessage = JSON.parse(e.data);
// if (parseMessage && parseMessage.type !== 'heartPackage') console.log(parseMessage);
this.emit('newMessage', parseMessage);
switch (parseMessage.type) {
case 'newUser':
this.onNewMemberJoin(parseMessage);
Expand Down

0 comments on commit f183ab2

Please sign in to comment.