mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
tweak internal codec order
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -764,6 +764,11 @@ int h323_set_capability(int cap, int dtmfMode)
|
||||
endPoint->SetCapability(0, 0, new SpeexNarrow6AudioCapability());
|
||||
}
|
||||
|
||||
if (cap & AST_FORMAT_G729A) {
|
||||
H323_G729ACapability *g729aCap;
|
||||
endPoint->SetCapability(0, 0, g729aCap = new H323_G729ACapability);
|
||||
}
|
||||
|
||||
if (cap & AST_FORMAT_G723_1) {
|
||||
H323_G7231Capability *g7231Cap;
|
||||
endPoint->SetCapability(0, 0, g7231Cap = new H323_G7231Capability);
|
||||
@@ -775,11 +780,6 @@ int h323_set_capability(int cap, int dtmfMode)
|
||||
gsmCap->SetTxFramesInPacket(gsmFrames);
|
||||
}
|
||||
|
||||
if (cap & AST_FORMAT_G729A) {
|
||||
H323_G729ACapability *g729aCap;
|
||||
endPoint->SetCapability(0, 0, g729aCap = new H323_G729ACapability);
|
||||
}
|
||||
|
||||
if (cap & AST_FORMAT_ULAW) {
|
||||
|
||||
H323_G711Capability *g711uCap;
|
||||
|
Reference in New Issue
Block a user