title: WebRTC Sending Stereo Audio Stream, Receiving Mono Audio Stream
body: <p>Hi I have an issue basically I'm sending a stereo audio with WebRTC this way</p>
  <pre><code>const audioStream = await navigator.mediaDevices.getUserMedia({
    audio: {
      autoGainControl: false,
      channelCount: 2,
      echoCancellation: false,
      latency: 0,
      noiseSuppression: false,
      sampleRate: 48000,
      sampleSize: 16,
      volume: 1.0,
    },
    video: false,
  });
  </code></pre>
  <p>If i check the number of channels I have 2 channels <code>getAudioTracks()[0].getSettings().channelCount</code></p>
  <p>If I check the description I'm sending I have 2 channels</p>
  <p><code>a=rtpmap:111 opus/48000/2</code></p>
  <p>If check the description I'm receiving I have 2 channels.</p>
  <p>But The stream I'm receiving has only one channel</p>
  <pre><code>connection.ontrack = ({ streams: [stream] }) =&gt; {
    audio.srcObject = stream;
    console.log(stream.getAudioTracks()[0].getSettings().channelCount); // =1
  };
  </code></pre>
  <p>I don't understand what's going on.</p>
  <p>You can try it yourself here</p>
  <p><a href="https://codesandbox.io/s/stoic-zhukovsky-kjxrf" rel="nofollow noreferrer">https://codesandbox.io/s/stoic-zhukovsky-kjxrf</a></p>