Поделиться через


LiveEventTranscription Class

Definition

Describes the transcription tracks in the output of a live event, generated using speech-to-text transcription. This property is reserved for future use, any value set on this property will be ignored.

public class LiveEventTranscription : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.Models.LiveEventTranscription>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.Models.LiveEventTranscription>
public class LiveEventTranscription
type LiveEventTranscription = class
    interface IJsonModel<LiveEventTranscription>
    interface IPersistableModel<LiveEventTranscription>
type LiveEventTranscription = class
Public Class LiveEventTranscription
Implements IJsonModel(Of LiveEventTranscription), IPersistableModel(Of LiveEventTranscription)
Public Class LiveEventTranscription
Inheritance
LiveEventTranscription
Implements

Constructors

LiveEventTranscription()

Initializes a new instance of LiveEventTranscription.

Properties

InputTrackSelection

Provides a mechanism to select the audio track in the input live feed, to which speech-to-text transcription is applied. This property is reserved for future use, any value set on this property will be ignored.

Language

Specifies the language (locale) to be used for speech-to-text transcription – it should match the spoken language in the audio track. The value should be in BCP-47 format (e.g: 'en-US'). See https://go.microsoft.com/fwlink/?linkid=2133742 for more information about the live transcription feature and the list of supported languages.

TrackName

The output track name. This property is reserved for future use, any value set on this property will be ignored.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<LiveEventTranscription>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<LiveEventTranscription>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LiveEventTranscription>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LiveEventTranscription>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<LiveEventTranscription>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to