SpeechSynthesisConnector.Stop Method

Stops sending data to the AudioVideoFlow.

Namespace:  Microsoft.Rtc.Collaboration.AudioVideo
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Sub Stop
'Usage
Dim instance As SpeechSynthesisConnector

instance.Stop()
public void Stop()

Remarks

Will no-op if SpeechSynthesisConnector is already stopped, or is not attached to an AudioVideoFlow.

Examples

The following example starts and stops the SpeechSynthesizerConnector.

C# Starting and stopping a SpeechSynthesizerConnector.

 

            // connector needs to be set to Microsoft.Speech.SpeechSpeechSynthesizer

            speechSynthesisConnector.AttachFlow(audioVideoFlow);
            speechSynthesisConnector.Start();



            speechSynthesisConnector.Stop();


See Also

Reference

SpeechSynthesisConnector Class

SpeechSynthesisConnector Members

Microsoft.Rtc.Collaboration.AudioVideo Namespace