SpeechSynthesis connector can be attached to an AudioVideoFlow, and provides a Stream interface to feed audio data to the flow.

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

Syntax

Visual Basic (Declaration)
Public 
Class 
SpeechSynthesisConnector _
	
Inherits 
Stream
C#
public 
class 
SpeechSynthesisConnector : 
Stream
Visual C++
public 
ref class 
SpeechSynthesisConnector : 
public 
Stream
JavaScript

Microsoft.Rtc.Collaboration.AudioVideo.SpeechSynthesisConnector
= 
function();

Type.createClass(
	 
'Microsoft.Rtc.Collaboration.AudioVideo.SpeechSynthesisConnector',
	
Stream);

Remarks

The Stream can be given to a SpeechSynthesizer as an output destination, in order to play TTS over the wire.

Inheritance Hierarchy

Object
   MarshalByRefObject
     Stream
       Microsoft.Rtc.Collaboration.AudioVideo . . :: . SpeechSynthesisConnector

See Also