Initializes a new instance of the
AVPlayer class
The stream will not be cached and will be played only once.
Namespace:
Ozeki.Media
Assembly:
OzekiSDK (in OzekiSDK.dll) Version: 10.3.183.0
Syntaxpublic AVPlayer(
string filePath,
List<AudioFormat> formats = null,
AudioConverterType DesiredConverter = AudioConverterType.DMO
)
Public Sub New (
filePath As String,
Optional formats As List(Of AudioFormat) = Nothing,
Optional DesiredConverter As AudioConverterType = AudioConverterType.DMO
)
public:
AVPlayer(
String^ filePath,
List<AudioFormat^>^ formats = nullptr,
AudioConverterType DesiredConverter = AudioConverterType::DMO
)
new :
filePath : string *
?formats : List<AudioFormat> *
?DesiredConverter : AudioConverterType
(* Defaults:
let _formats = defaultArg formats null
let _DesiredConverter = defaultArg DesiredConverter AudioConverterType.DMO
*)
-> AVPlayer
Parameters
- filePath
- Type: SystemString
The path of the playback audio file - formats (Optional)
- Type: System.Collections.GenericListAudioFormat
- DesiredConverter (Optional)
- Type: AudioConverterType
See Also