Commit 5c4674f9 authored by Ana's avatar Ana

Try to fix audio/video desync

parent 869db1f3
.cache
dist
node_modules
main
/target
**/*.rs.bk
......
......@@ -134,13 +134,14 @@ export default {
displaySurface: 'monitor'
}
})
stream.getTracks()[0].enabled = false
const audio = await navigator.mediaDevices.getUserMedia({
audio: {
echoCancellation: true,
noiseSuppression: true,
sampleRate: 44100
}
})
stream.getTracks()[0].enabled = true
const pc = new RTCPeerConnection({
iceServers: [
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment