Initializes a new instance of the CodecInfo class.

C# | Visual Basic | Visual C++ |
public CodecInfo( int payloadType, string name, int sampleRate, bool enabled, CodecMediaType type )
Public Sub New ( payloadType As Integer, name As String, sampleRate As Integer, enabled As Boolean, type As CodecMediaType )
public: CodecInfo( int payloadType, String^ name, int sampleRate, bool enabled, CodecMediaType type )

- payloadType (Int32)
- The payload of the codec.
- name (String)
- The name of the codec.
- sampleRate (Int32)
- The name of the codec.
- enabled (Boolean)
- Boolean value whether the codec is enabled.
- type (CodecMediaType)
- Gets the media type of the codec.
Assembly: VoIPSDK (Module: VoIPSDK.dll) Version: 11.2.4.290