Re: SetDefaultCapabilityPreferrence
- From: "Matthias Moetje" <moetje@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 24 May 2005 14:03:41 +0200
Hans,
> I will try to set only G.723 to 0, this I have not tried yet.
if it still doesn't work then, you should open a support case
with MS!
Best regards,
Matthias Moetje
-------------------------------------
TERASENS GmbH
Ackermannstraße 3
80797 München
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot de
www: www.terasens.de
-------------------------------------
"hmm" <hmm@xxxxxxxxxxxxx> wrote in message
news:7DA3831C-1636-41E4-A4C4-57E50A60833A@xxxxxxxxxxxxxxxx
> Matthias
>
> Thank you for your response.
> Setting nothing at all is where we started. Most times, G.711 is choosen,
> but sometimes G.723, so it was the same like now. To each Client we have
> three audio streams. Sometimes two of them are G.711 and one G.723 or vice
> versa or all are G.711 (like it should be) so I have not figured out which
> criteria TAPI is using for choosing the codec.
> I will try to set only G.723 to 0, this I have not tried yet.
>
> Best Regards, Hans
>
>
> "Matthias Moetje" wrote:
>
> > Hans,
> >
> > which codec is chosen when you do not use that function
> > at all? From our experience it's always G.711 on a LAN.
> >
> > Did you also try just to pass HC_G723 with a weight of
> > 0 as the only array element? Maybe the 0xFFFFFFFF
> > value is causing trouble. Setting G.723 should be sufficient.
> >
> >
> > Best regards,
> >
> > Matthias Moetje
> > -------------------------------------
> > TERASENS GmbH
> > Ackermannstraße 3
> > 80797 München
> > -------------------------------------
> > Fon: +49 89 143370-0
> > Fax: +49 89 143370-22
> > e-mail: moetje at terasens dot de
> > www: www.terasens.de
> > -------------------------------------
> >
> >
> > "hmm" <hmm@xxxxxxxxxxxxx> wrote in message
> > news:00F1EA77-6314-4EEF-8284-C56EA49BEBDB@xxxxxxxxxxxxxxxx
> > > Hallo
> > >
> > > We have developed a VoIP communicatoin applicatoin based on TAPI 3.0,
> > > running on Windows 2000 SP4. The application is deployed in a 100Mbit
> > > controlled LAN environment at various customer sites. The voice path
> > > inlcudes not only the VoIP codec but thers is also a TETRA codec.
> > Therefor
> > > it is important that only the G.711 audio codec is used for the VoIP
path.
> > >
> > > I use IH323LineEx::SetDefaultCapabilityPreferrence to achieve this.
The
> > > documentation states:
> > >
> > > The SetDefaultCapabilityPreferrence method configures the preference
of
> > the
> > > default capabilities. Capabilities have a default weight of 100. If
the
> > > application specifies a higher weight for a capability, it will have a
> > higher
> > > priority during the H.245 negotiation. If the application sets the
weight
> > of
> > > a capability to 0, it will not be used in the H.245 negotiation.
> > >
> > > The H245_CAPABILITY structures are set the following way:
> > > sH245Cap[0] = HC_G711;
> > > dwWeight[0] = 0xFFFFFFFF;
> > > sH245Cap[1] = HC_G723;
> > > dwWeight[1] = 0;
> > > sH245Cap[2] = HC_H263QCIF;
> > > dwWeight[2] = 0;
> > > sH245Cap[3] = HC_H261QCIF;
> > > dwWeight[3] = 0;
> > >
> > > With these settings I would expect that only G.711 codec is chossen by
> > TAPI,
> > > but we experience (monitoring with ethereal) that sometimes (I cannot
say
> > > why or when) TAPI chooses G.723 codec which results in a inferior
speech
> > > quality.
>
> > > (Network load is max. 10% of 100Mbit).
> > >
> > > Anyone experienced similar behavior of SetDefaultCapabilityPreferrence
or
> > > know how to solve this?
> > >
> > > Best Regards,
> > > Hans
> > >
> >
> >
> >
.
- References:
- Re: SetDefaultCapabilityPreferrence
- From: Matthias Moetje
- Re: SetDefaultCapabilityPreferrence
- From: hmm
- Re: SetDefaultCapabilityPreferrence
- Prev by Date: Re: Tapi 3 Session Termination - Phone IDLE State
- Next by Date: Re: Future or TAPI
- Previous by thread: Re: SetDefaultCapabilityPreferrence
- Next by thread: Re: SetDefaultCapabilityPreferrence
- Index(es):
Relevant Pages
|