Henrik
Appreciate your commenting on the fact that webRTC
1. supports the G711 (8Khz) codec and yet
2. fails to support an Audio Input Device set to that same 8Khz
sampling?
> > > > > > > For playout we support
> > > > > > > {96000, 44100,48000} and for recording we support
> > > > > > > {96000,48000,44100,32000,16000}.
Is there any technical reason that precludes webRTC from supporting
8Khz recording?
A.
On Apr 24, 10:48 am, ak <
starlo...@gmail.com> wrote:
> Henrik
>
> Thank you for those validating references. I am sure you would agree
> its a non starter to get users involved in Audio Sampling Rate issues.
> Let alone that the INIT error in webRTC goes unreported.
>
> Could we lean on your generosity and expertise to simply allow webRTC
> to accept8KhzInput.
>
> That is what G711 reduces to anyway.
>
> Parfavor
>
> On Apr 24, 1:26 am, Henrik Andreasson <
henr...@webrtc.org> wrote:
>
>
>
>
>
>
>
> > I am unable to dive deeper into the details on this topic at this stage but
> > it is evident that the input audio issue on OS X 10.x are well known. See
> > the links below for more details.
>
> >
http://forums.macrumors.com/showthread.php?t=1312982https://discussio...
>
> > With the current WebRTC design; it is up to the user to set a suitable, and
> > supported, rate for input and output.
>
> > On Tue, Apr 24, 2012 at 1:23 AM, ak <
starlo...@gmail.com> wrote:
> > > Thank you for your prompt response and audio tut.
>
> > > What other option is there for G711 (8Khz) when interworking with the
> > > PSTN? Practically no gateway out there suports broader band on the
> > > interconnect and transcoding from iSAC still results in lower quality
> > > audio since the limiting factor is on the legacy PSTN side.
>
> > > Also what I am asking is why webRTC cannot simply attempt opening the
> > > device at a supported rate? Surely 16Khz would be a good starting
> > > point?
>
> > > Would that be a simple fix versus supporting8Khzdirectly and what
> > > > > Lastly while8Khzwould degrade performance using G711 is at the lower
> > > > > sampling spectrum anyway and right now there is no performance :)
>
> > > > The default codec selected in WebRTC is iSAC 16kHz. There is a clear QoS
> > > > improvement between iSAC and G.711. Your perceived QoS will be
> > > > reduced substantially if8kHzis used as capture rate.
>
> > > > > A.
>
> > > > > On Apr 23, 12:03 am, Henrik Andreasson <
henr...@webrtc.org> wrote:
> > > > > > I am a bit confused here. Are you saying that the format you set for
> > > the
> > > > > > microphone is overwritten by the OS at each restart? Does the same
> > > thing
> > > > > > happen for a USB headset?
>
> > > > > > WebRTC requires at least 16kHz sample rate to support e.g. iSAC
> > > which
> > > > > is a
> > > > > > wideband (fs=16kHz) speech codec. Allowing8kHzwill reduce the
> > > > > performance
> > > > > > substantially.
>
> > > > > > On Mon, Apr 23, 2012 at 12:21 AM, ak <
starlo...@gmail.com> wrote:
> > > > > > > FYI Issue Tracker #437:
>
> > > > > > > Currently we fail to initialize if either the playout or recording
> > > > > > > side uses a non-supported sampling rate. For playout we support
> > > > > > > {96000, 44100,48000} and for recording we support
> > > > > > > {96000,48000,44100,32000,16000}.
>
> > > > > > > On Apr 22, 3:15 pm, ak <
starlo...@gmail.com> wrote:
> > > > > > > > Hi
>
> > > > > > > > Mac OS X Lion appears to default the built in audio device
> > > sampling
> > > > > to
> > > > > > > >8Khzand this breaks the peerconnection factory. Even if one
> > > manually
> > > > > > > > sets the sampling to a supported rate (eg: 44.1Khz) on
> > > restarting the
> > > > > > > > Mac the system resets it back to8Khz.
>
> > > > > > > > There are no other applications accessing audio on System
> > > Restart.
>
> > > > > > > > Is there any reason8KHzsampling rate is not included in your