class Transcription::MeetingTranscriber

class Transcription::MeetingTranscriber
  : public Recognizer

Class for meeting transcriber.

Members

SessionStarted

Syntax: public EventSignal< const SessionEventArgs & > SessionStarted;

Signal for events indicating the start of a recognition session (operation).

SessionStopped

Syntax: public EventSignal< const SessionEventArgs & > SessionStopped;

Signal for events indicating the end of a recognition session (operation).

SpeechStartDetected

Syntax: public EventSignal< const RecognitionEventArgs & > SpeechStartDetected;

Signal for events indicating the start of speech.

SpeechEndDetected

Syntax: public EventSignal< const RecognitionEventArgs & > SpeechEndDetected;

Signal for events indicating the end of speech.

Transcribing

Syntax: public EventSignal< const MeetingTranscriptionEventArgs & > Transcribing;

Signal for events containing intermediate recognition results.

Transcribed

Syntax: public EventSignal< const MeetingTranscriptionEventArgs & > Transcribed;

Signal for events containing final recognition results. (indicating a successful recognition attempt).

Canceled

Syntax: public EventSignal< const MeetingTranscriptionCanceledEventArgs & > Canceled;

Signal for events containing canceled recognition results (indicating a recognition attempt that was canceled as a result or a direct cancellation request or, alternatively, a transport or protocol failure).

Properties

Syntax: public PropertyCollection & Properties;

A collection of properties and their values defined for this MeetingTranscriber.

JoinMeetingAsync

Syntax: public inline std::future< void > JoinMeetingAsync ( std::shared_ptr< Meeting > meeting );

Join a meeting.

Parameters

  • meeting A smart pointer of the meeting to be joined.

Returns

An empty future.

LeaveMeetingAsync

Syntax: public inline std::future< void > LeaveMeetingAsync ( );

Leave a meeting.

Note: After leaving a meeting, no transcribing or transcribed events will be sent to end users. End users need to join a meeting to get the events again.

Returns

An empty future.

StartTranscribingAsync

Syntax: public inline std::future< void > StartTranscribingAsync ( );

Asynchronously starts a meeting transcribing.

Returns

An empty future.

StopTranscribingAsync

Syntax: public inline std::future< void > StopTranscribingAsync ( );

Asynchronously stops a meeting transcribing.

Returns

An empty future.

MeetingTranscriber

Syntax: public inline explicit MeetingTranscriber ( SPXRECOHANDLE hreco );

Internal constructor. Creates a new instance using the provided handle.

Parameters

  • hreco Recognizer handle.

~MeetingTranscriber

Syntax: public inline ~MeetingTranscriber ( );

Destructor.

SetAuthorizationToken

Syntax: public inline void SetAuthorizationToken ( const std::string & token );

Sets the authorization token that will be used for connecting the server.

Parameters

  • token The authorization token.

GetAuthorizationToken

Syntax: public inline std::string GetAuthorizationToken ( );

Gets the authorization token.

Returns

Authorization token

FromConfig

Syntax: public inline static std::shared_ptr< MeetingTranscriber > FromConfig ( std::shared_ptr< Audio::AudioConfig > audioInput );

Create a meeting transcriber from an audio config.

Parameters

  • audioInput Audio configuration.

Returns

A smart pointer wrapped meeting transcriber pointer.