Click or drag to resize
WaveFormatExAsVoIPMediaFormat Method
Converts a WaveFormat to a AudioFormat.

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
public static AudioFormat AsVoIPMediaFormat(
	this WaveFormat waveFormat,
	int packetizationTime = 20
)

Parameters

waveFormat
Type: Ozeki.MediaWaveFormat
The AudioWaveFormat to convert.
packetizationTime (Optional)
Type: SystemInt32
Packetization time of the media format.

Return Value

Type: AudioFormat
The 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