了解轉錄事件 - Amazon Chime SDK

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

了解轉錄事件

Amazon Chime SDK會傳送轉錄生命週期事件,您可以用來觸發通知並啟動下游工作流程。使用轉錄事件的一些範例包括:

  • 在 Amazon Chime SDK會議中測量即時轉錄的採用

  • 追蹤語言偏好設定

您可以將事件傳送至 Amazon EventBridge、Amazon Simple Notification Service 和 Amazon Simple Queue Service。如需詳細資訊,請參閱 Amazon EventBridge 使用者指南 中的 AWS 服務事件

Amazon Chime SDK會在會議轉錄開始或 TranscriptionConfiguration 已更新。

範例:事件資料

以下是此事件的範例資料。

{ "version": "0", "source": "aws.chime", "account": "111122223333", "id": "12345678-1234-1234-1234-111122223333", "region": "us-east-1", "detail-type": "Chime Meeting State Change", "time": "yyyy-mm-ddThh:mm:ssZ", "resources": [] "detail": { "version": "0", "eventType": "chime:TranscriptionStarted", "timestamp": 12344566754, "meetingId": "87654321-4321-4321-1234-111122223333", "externalMeetingId": "mymeeting", "mediaRegion": "us-west-1", "transcriptionRegion": "us-west-2", "transcriptionConfiguration": "{...}" } }

當會議轉錄停止時,Amazon Chime 會SDK傳送此事件。

範例:事件資料

以下是此事件的範例資料。

{ "version": "0", "source": "aws.chime", "account": "111122223333", "id": "12345678-1234-1234-1234-111122223333", "region": "us-east-1", "detail-type": "Chime Meeting State Change", "time": "yyyy-mm-ddThh:mm:ssZ", "resources": [] "detail": { "version": "0", "eventType": "chime:TranscriptionStopped", "timestamp": 12344566754, "meetingId": "87654321-4321-4321-1234-111122223333", "externalMeetingId": "mymeeting", "mediaRegion": "us-west-1", "transcriptionRegion": "us-west-2", "transcriptionConfiguration": "{...}" } }

如果會議轉錄中斷,Amazon Chime 會SDK傳送此事件。

範例:事件資料

以下是此事件的範例資料。

{ "version": "0", "source": "aws.chime", "account": "111122223333", "id": "12345678-1234-1234-1234-111122223333", "region": "us-east-1", "detail-type": "Chime Meeting State Change", "time": "yyyy-mm-ddThh:mm:ssZ", "resources": [] "detail": { "version": "0", "eventType": "chime:TranscriptionInterrupted", "timestamp": 12344566754, "meetingId": "87654321-4321-4321-1234-111122223333", "externalMeetingId": "mymeeting", "message": "Internal server error", "mediaRegion": "us-west-1", "transcriptionRegion": "us-west-2", "transcriptionConfiguration": "{...}" } }

如果會議轉錄在中斷後恢復,Amazon Chime 會SDK傳送此事件。

範例:事件資料

以下是此事件的範例資料。

{ "version": "0", "source": "aws.chime", "account": "111122223333", "id": "12345678-1234-1234-1234-111122223333", "region": "us-east-1", "detail-type": "Chime Meeting State Change", "time": "yyyy-mm-ddThh:mm:ssZ", "resources": [] "detail": { "version": "0", "eventType": "chime:TranscriptionResumed", "timestamp": 12344566754, "meetingId": "87654321-4321-4321-1234-111122223333", "externalMeetingId": "mymeeting", "mediaRegion": "us-west-1", "transcriptionRegion": "us-west-2", "transcriptionConfiguration": "{...}" } }

如果會議轉錄無法啟動,或在中斷後無法繼續,Amazon Chime 會SDK傳送此事件。

範例:事件資料

以下是此事件的範例資料。

{ "version": "0", "source": "aws.chime", "account": "111122223333", "id": "12345678-1234-1234-1234-111122223333", "region": "us-east-1", "detail-type": "Chime Meeting State Change", "time": "yyyy-mm-ddThh:mm:ssZ", "resources": [] "detail": { "version": "0", "eventType": "chime:TranscriptionFailed", "timestamp": 12344566754, "meetingId": "87654321-4321-4321-1234-111122223333", "externalMeetingId": "mymeeting", "message": "Internal server error", "mediaRegion": "us-west-1", "transcriptionRegion": "us-west-2", "transcriptionConfiguration": "{...}" } }