UNPKG

@rongcloud/plugin-wechat-rtc

Version:

@rongcloud/plugin-wechat-rtc

15 lines 660 B
import { RCMediaType } from '../enums/RCMediaType'; import { RCRTCCode } from '../enums/RCRTCCode'; import { BaseCommand } from './BaseCommand'; import { CommandExecuteContext } from './CommandExecuteContext'; import { RCCommandKind } from '../enums/RCCommandKind'; export default class ChangeEnableCommand extends BaseCommand<void> { private readonly _mediaType; private readonly _enable; constructor(_mediaType: RCMediaType.AUDIO_ONLY | RCMediaType.VIDEO_ONLY, _enable: boolean); get kind(): RCCommandKind; execute(ctx: CommandExecuteContext): Promise<{ code: RCRTCCode; }>; } //# sourceMappingURL=ChangeEnableCommand.d.ts.map