Re: SetDefaultCapabilityPreferrence



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
> > >
> >
> >
> >


.



Relevant Pages

  • RE: having problem with passing data to custom action
    ... I'm trying to follow the steps in the walkthrough: "Passing Data ... > Best regards ... > - Hans - ... > (Have fun programming with ... ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: What is so serious ?
    ... Their weight is good and the one that died last week felt good as ... I should let the vet do it but think it will be too late. ... Seasonal Farm Food ...
    (sci.agriculture.poultry)
  • Re: Villazon Rigoletto / Equal rights for hunchbacks???
    ... given the chance to direct Rigoletto, I'd be clear in the action just how ... > from time to time experience to be hampered by the limitations of ...
    (rec.music.opera)
  • Re: EQ-2 and C5-like telescopes
    ... > a long focus refractor which has the weight out at one end ... Could you sum up the plusses and minusses in your "everyday observing and ... We had a look on a mount like the Orion AstroViewT Equatorial Mount, ... Regards. ...
    (sci.astro.amateur)
  • Re: New Promax field strength meter
    ... Regards ... but the £4000 price tag and the almost 6kg weight have kept me holding ... Lighter than the previous prolink 3 series. ... One thhing i like about the programmable buttons, drive west and drive ...
    (uk.tech.digital-tv)

Quantcast