--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/18fb5a65-6df5-4918-8082-84a7adea4f5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It is not clear to me how the stereo input signal is generated. If it is correct, a downmix to mono might take place in one of the utilized WebRTC components.As an example, the AEC works on mono only but I can't say for sure in your case. Try disabling all audio-processing components to avoid this downmix and see if it helps.
On Tue, Jul 9, 2019 at 6:03 AM Kunal Jathal <vzw.kun...@gmail.com> wrote:
Upon closer listening, it might just be the left channel that is being played (i.e. no mix down to mono).... so audio in the left channel for a second, silence, audio in L, silence ....--
On Monday, July 8, 2019 at 8:17:36 PM UTC-7, Kunal Jathal wrote:Paulina;So I'm creating a JavaAudioDeviceModule and passing it to the PeerConnectionFactory as outlined in the examples (and I'm calling setUseStereoOutput(true) on the builder when creating the JavaAudioDeviceModule). However, I'm still not hearing stereo output. The audio I'm testing it with is a sine wave that alternates from being panned hard left to hard right every other second.What I hear on the android device is actually a mono sine wave for a second, then silence, then a mono sine wave again for a second, then silence etc. So basically it seems like only a single channel is being taken, mixed down to mono, and then being output. Any ideas why this might be happening?(Btw, I have also made the necessary changes to the sdp to support opus stereo i.e. appending stereo=1;sprop-stereo=1 to the local description prior to setting it... )
On Thursday, May 16, 2019 at 5:55:41 AM UTC-7, Paulina Hensman wrote:This is possible if you start using the new AudioDeviceModule API, where you create an AudioDeviceModule and pass it into the PeerConnectionFactory. Using a JavaAudioDeviceModule you can call setUseStereoInput/setUseStereoOutput on the builder.Please note that if you have been modifying any other audio settings through the old API (static calls to WebRtcAudioManager, WebRtcAudioRecord etc) you need start setting these in the AudioDeviceModule builder instead, or they will be ignored.For reference, take a look at how AppRTC creates a JavaAudioDeviceModule and passes it to PeerConnectionFactory.
On Thursday, May 16, 2019 at 3:14:26 AM UTC+2, Kunal Jathal wrote:
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss...@googlegroups.com.