Skip to content

Commit d7225f3

Browse files
authored
Merge pull request #49 from oslabs-beta/audiocancel
added echo cancellation to constraints
2 parents 0ca4b3d + d731c16 commit d7225f3

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)