Start Method
Collapse the table of content
Expand the table of content

SpeechRecognitionConnector.Start Method

Begins recording audio into a new stream. The caller is responsible for disposing of the stream returned by this method.

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

public SpeechRecognitionStream Start()

Return Value

Type: Microsoft.Rtc.Collaboration.AudioVideo.SpeechRecognitionStream
A stream containing audio data.


Thrown when the SpeechRecognitionConnector is not bound to an AudioVideoFlow, or when the SpeechRecognitionConnector is already started.

The following example starts the SpeechSynthesizerConnector.

C# Starting and stopping a SpeechSynthesizerConnector.


            SpeechRecognitionStream stream = speechRecognitionConnector.Start();

            // stream needs to be set to Microsoft.Speech.SpeechRecognition

© 2016 Microsoft