Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

descktopCapture stream is mono #1

Open
jmcker opened this issue Apr 12, 2019 · 1 comment
Open

descktopCapture stream is mono #1

jmcker opened this issue Apr 12, 2019 · 1 comment

Comments

@jmcker
Copy link
Owner

jmcker commented Apr 12, 2019

Stream received via navigator.mediaDevices.getUserMedia is mono (possibly with additional filtering).

Current constraints:

const mediaStreamConstraints = {
    audio: {
        mandatory: {
            chromeMediaSource: 'desktop',
            echoCancellation: false,
            googEchoCancellation: false,
            googAutoGainControl: false,
            googNoiseSuppression: false,
            googHighpassFilter: false,
            googTypingNoiseDetection: false,
            googAudioMirroring: false,
            googAudioMirroring: false,
            googNoiseReduction: false,
        }
    },
    video: {
        mandatory: {
            chromeMediaSource: 'desktop'
        }
    }
};

This could be a general limitation or related to: w3c/mediacapture-main#457

@jmcker
Copy link
Owner Author

jmcker commented May 28, 2019

This ended up being an issue with some part of how Chrome's was handling SDP settings on the actual WebRTC connection rather than the local stream. The commit here allows munging the SDP to force stereo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant