我正在使用 chime sdk 创建 createMediaCapturePipeline 来录制 chime 会议,它工作正常,但它只会在 5 秒内捕获视频帧。如何增加拍摄视频的时间。下面是我的代码:
var region = 'us-east-1';
const chime = new AWS.Chime({ region: region });
let meetingId = input.MeetingId
const captureRequest = {
"SourceType": "ChimeSdkMeeting",
"SourceArn": "arn:aws:chime::"+aws_account_id+":meeting:" + meetingId,
"SinkType": "S3Bucket",
"SinkArn": "arn:aws:s3:::"+my_bucket+" + meetingId
}
const captureInfo = await chime.createMediaCapturePipeline(captureRequest).promise();