Skip to content

Commit d731c16

Browse files
committed
added echo cancellation to constraints
1 parent 0ca4b3d commit d731c16

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/src/constants/mediaStreamConstraints.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ const constraints: MediaStreamConstraints = {
1515
width: { min:640, ideal:1920, max:1920 },
1616
height: { min:480, ideal:1080, max:1080 },
1717
},
18-
audio: true
18+
// audio: true
19+
audio: {
20+
echoCancellation: true
21+
}
1922
};
2023

2124
export default constraints;

0 commit comments

Comments
 (0)