WaveFormatExAsVoIPMediaFormat Method |
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public static AudioFormat AsVoIPMediaFormat(
this WaveFormat waveFormat,
int packetizationTime = 20
)
<ExtensionAttribute>
Public Shared Function AsVoIPMediaFormat (
waveFormat As WaveFormat,
Optional packetizationTime As Integer = 20
) As AudioFormat
public:
[ExtensionAttribute]
static AudioFormat^ AsVoIPMediaFormat(
WaveFormat^ waveFormat,
int packetizationTime = 20
)
[<ExtensionAttribute>]
static member AsVoIPMediaFormat :
waveFormat : WaveFormat *
?packetizationTime : int
(* Defaults:
let _packetizationTime = defaultArg packetizationTime 20
*)
-> AudioFormat
Parameters
- waveFormat
- Type: Ozeki.MediaWaveFormat
The AudioWaveFormat to convert. - packetizationTime (Optional)
- Type: SystemInt32
Packetization time of the media format.
Return Value
Type:
AudioFormatThe media format.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
WaveFormat. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also