共用方式為


TranscriptionOptions interface

媒體流選項。

屬性

enableIntermediateResults

啟用轉譯語音的中繼結果。

locale

指定用於轉錄的區域設定,例如 en-CA 或 en-AU。

speechModelEndpointId

GUID 格式的已部署自定義模型的ID。 GUID 由 Azure Speech Studio 生成,例如 a259c255-1cdw-4ed7-a693-dd58563b6f6a。

startTranscription

指示是否應在應答呼叫后立即開始聽錄。

transportType

多型歧視性,指定這個物件可以是的不同類型

transportUrl

用於即時轉錄傳輸的 URL。

屬性詳細資料

enableIntermediateResults

啟用轉譯語音的中繼結果。

enableIntermediateResults?: boolean

屬性值

boolean

locale

指定用於轉錄的區域設定,例如 en-CA 或 en-AU。

locale: string

屬性值

string

speechModelEndpointId

GUID 格式的已部署自定義模型的ID。 GUID 由 Azure Speech Studio 生成,例如 a259c255-1cdw-4ed7-a693-dd58563b6f6a。

speechModelEndpointId?: string

屬性值

string

startTranscription

指示是否應在應答呼叫后立即開始聽錄。

startTranscription?: boolean

屬性值

boolean

transportType

多型歧視性,指定這個物件可以是的不同類型

transportType: "websocket"

屬性值

"websocket"

transportUrl

用於即時轉錄傳輸的 URL。

transportUrl?: string

屬性值

string