Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: How does the jitter buffer "catch up"?: msg#00060

audio.compression.speex.devel

Subject: RE: How does the jitter buffer "catch up"?

> Weeeeelll.. Actually, now that you mention it, the histogram shifting is a
> race as well.

Indeed. So I guess it was a good thing that I never felt confident
enough to advertise the jitter buffer as "safe to use without
mutexes" :-)

> The chance of this happening is much less than the other one, but it COULD
> happen ;)

Exactly, which is why mutexes should be used.

> > Then it would be a problem with the packet loss concealment. It's
> > actually decreasing the level of the interpolated audio with time. Maybe
> > it's not decreasing quickly enough?
>
> I'd say so, my testers kept asking me what planet my room-mate is from :)
> Note that this only happens when you have quite a bit of interpolation,
> meaning there is serious network trouble anyway; don't sacrifice the
> quality of one or two-frame interpolation (which happens quite
> frequently) for these extreme cases.

Actually, I can control the rate at which the level decreases, so I can
make it go down faster after several lost frames without affecting the
"one frame" case. Look at the "attenuation" array near line 1080 of
nb_celp.c. It controls the level of the interpolated frame as a function
of the number of consecutive lost frames. There's something similar for
the high-band too. If you tweak it, please send me the optimal coefs you
found. I guess another reason for the buzz is the way I reconstruct the
excitation. I should use a noise generator a bit more instead of just
continuing the pitch.

> PS: Regarding the earlier stuff about DTX using the VAD from the
> preprocessor, I ended up switching back to silence during
> non-transmission. The denoiser is good enough that people expect silence
> when others aren't talking, the comfort noise was unwelcome.

The DTX code is getting a bit old. Perhaps it could be improved. But if
silence is fine with your users, you can use that too.

Jean-Marc

--
Jean-Marc Valin <Jean-Marc.Valin@xxxxxxxxxxxxxx>
Université de Sherbrooke


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation