SetCodecOrder

Top  Previous  Next

SetCodecOrder(Codecs: TAstaSIPCodecs); - Delphi syntax

SetCodecOrder(AstaSIPCodec[] Codecs); - C# syntax

SetCodecOrder(Codecs As AstaSIPCodec() ); - VB.NET syntax

HRESULT SetCodecOrder([in] SAFEARRAY(BSTR) Codecs); - COM IDL syntax

 

Description

Sets the preference of codecs. The right way to use this method is to get the available codecs by the method GetCodecOrder, and then change the order of codecs if needed, and pass the result to SetCodecOrder.