AWS Chime 需要将记录器对象传递到构造函数或 chime sdk 中断。
import {
ConsoleLogger,
DefaultDeviceController,
DefaultMeetingSession,
LogLevel,
MeetingSessionConfiguration
} from 'amazon-chime-sdk-js'
const logger = new ConsoleLogger('Chime Logs', LogLevel.INFO);
const meetingConfig = new MeetingSessionConfiguration(ticket.JoinInfo.Meeting, ticket.JoinInfo.Attendee);
meetingSession = new DefaultMeetingSession(
meetingConfig,
logger,
deviceController
)
有没有办法关闭记录器?