CodecDescription Constructor |
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public CodecDescription(
int cpt,
string name,
int sampleRate,
int channels,
MediaType mediaType,
int bitrate = 0,
int packetizationTime = 0,
string encodingParams = null,
string fmtp = null
)
Public Sub New (
cpt As Integer,
name As String,
sampleRate As Integer,
channels As Integer,
mediaType As MediaType,
Optional bitrate As Integer = 0,
Optional packetizationTime As Integer = 0,
Optional encodingParams As String = Nothing,
Optional fmtp As String = Nothing
)
public:
CodecDescription(
int cpt,
String^ name,
int sampleRate,
int channels,
MediaType mediaType,
int bitrate = 0,
int packetizationTime = 0,
String^ encodingParams = nullptr,
String^ fmtp = nullptr
)
new :
cpt : int *
name : string *
sampleRate : int *
channels : int *
mediaType : MediaType *
?bitrate : int *
?packetizationTime : int *
?encodingParams : string *
?fmtp : string
(* Defaults:
let _bitrate = defaultArg bitrate 0
let _packetizationTime = defaultArg packetizationTime 0
let _encodingParams = defaultArg encodingParams null
let _fmtp = defaultArg fmtp null
*)
-> CodecDescription
Parameters
- cpt
- Type: SystemInt32
- name
- Type: SystemString
- sampleRate
- Type: SystemInt32
- channels
- Type: SystemInt32
- mediaType
- Type: Ozeki.MediaMediaType
- bitrate (Optional)
- Type: SystemInt32
- packetizationTime (Optional)
- Type: SystemInt32
- encodingParams (Optional)
- Type: SystemString
- fmtp (Optional)
- Type: SystemString
See Also