Initializes a new instance of the
CodecInfo class.
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax 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
)
new :
payloadType : int *
name : string *
sampleRate : int *
enabled : bool *
type : CodecMediaType -> CodecInfo
Parameters
- payloadType
- Type: SystemInt32
The payload of the codec. - name
- Type: SystemString
The name of the codec. - sampleRate
- Type: SystemInt32
The name of the codec. - enabled
- Type: SystemBoolean
Boolean value whether the codec is enabled. - type
- Type: Ozeki.MediaCodecMediaType
Gets the media type of the codec.
See Also