Play a file from over a network. Play as it is downloading.
[Visual Basic] Public Shared Function PlayStream( _ ByVal chdev As Integer, _ ByVal voice_format As VoiceFormat, _ ByVal StreamHandle As Integer, _ ByVal digmask As String, _ ByVal ClearDigitBuffer As Integer, _ ByVal error_file As String _ ) As Integer
[C#] public static int PlayStream( intchdev, VoiceFormatvoice_format, intStreamHandle, stringdigmask, intClearDigitBuffer, stringerror_file );
Parameters
chdev
Voice channel resource
voice_format
Format of voice file
StreamHandle
Handle from AllocateStream
digmask
Termination digits.
ClearDigitBuffer
1 for clear digit buffer. 0 for don't clear
error_file
This is a full path to a file which speaks of a system error and a technical support number to call. This file must be a separate file and not part of a VAP file.