了解转录事件 - Amazon Chime SDK

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

了解转录事件

Amazon Chime SDK 发送转录生命周期事件,您可以使用这些事件来触发通知和启动下游工作流程。使用转录事件的部分示例包括:

  • 衡量实时转录在 Ama SDK zon Chime 会议中的采用情况

  • 跟踪语言首选项

您可以将事件发送到亚马逊 EventBridge、亚马逊简单通知服务和亚马逊简单队列服务。有关更多信息,请参阅 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": "{...}" } }