InitTTSCaptureStream of object ITTSSTream failed
playTerminal=currentCall.RequestTerminal("{0CB9914C-79CD-47dc-ADB0-327F47CEFB20}",
(
int)MediaMode.MT_AUDIO,TERMINAL_DIRECTION.TD_CAPTURE); //Create a playlist with the file sent as parameterplayback=(ITMediaPlayback)playTerminal;
Object[] playList = { String.Format(@"{0}TestWave.wav",Application.StartupPath) };
playback.PlayList=playList;
//
// //Assign terminal to call and starts playing
currentCall.SelectTerminalOnCall(playTerminal);
// … Then after the call is accepted…
ITMediaPlayback playback;
playback=(ITMediaPlayback)playTerminal;
Object[] playList = { fileName };
playback.PlayList=playList;
ITMediaControl mediaControl;
mediaControl=(ITMediaControl)playTerminal;
mediaControl.Start();
The audio quality is terrible, with stuttering, and excessive echo. I think, it’s something to do with the half-duplex nature of the 4/PCI. But to be honest I don’t know.
I even had a crack at working with some of the TAPI examples in the SAPI SDK – modifying the code to use my Dialogic card rather than the H323 line.
But I got stuck when I hit the error InitTTSCaptureStream of object ITTSSTream failed
And there is no information whatsoever on the net about it.