Hi Simon,
Many thanks for the uber-fast response. As always with these things I then immediately found a way of doing this (after going down several wrong roads!) using the following in a derived H323Endpoint class (obviously I may well be doing this wrongly but it seemed to work):
// We only do alaw H323_G711Capability *newCodec = new H323_G711Capability(H323_G711Capability::ALaw); newCodec->SetTxFramesInPacket(20); SetCapability(0, 0, newCodec); AddAllUserInputCapabilities(0, 1);
As you rightly say there is a new release 12/01/2011 - teach me for not looking first!
I presume you would recommend I move to the new version anyway?
Many thanks as always.
Cheers
Mark
On 8 Feb 2011, at 12:26, Simon Horne wrote:
Mark
This should already be in effect In the last stable release the G.711 was changed to 20ms by default. See H323PluginCodecManager::Bootstrap() The 30ms are now commented out and the 20ms is active
Simon
-----Original Message----- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Mark Fawcett Sent: 08 February 2011 22:17 To: h323mailinglist Subject: [h323plus] Question regarding g711Alaw codec and preferred packet size
All,
I am struggling with what I suspect is a very simple question: How do I make an outgoing call via h323 specify 20ms packets for the g711Alaw codec instead of the default 30ms?
Many thanks,
Mark
Mark Fawcett Managing Director +44 (0)7976 240171 (M) +44 (0)8454 336886 (x1001) (L) www.noakesltd.co.uk
Noakes Limited, Registration #06920566 (England & Wales), 2 Berkeley Close, Northampton, NN1 5BJ
Mark Fawcett Managing Director +44 (0)7976 240171 (M) +44 (0)8454 336886 (x1001) (L) www.noakesltd.co.uk
Noakes Limited, Registration #06920566 (England & Wales), 2 Berkeley Close, Northampton, NN1 5BJ