Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StartRecordOptions

开始录制的参数设置。

Hierarchy

Index

Properties

Optional advances

更多设置,详见 MixAdvancesOptions

example
{
  advances: {
    keyUser: 'user_xxx',
    ...
  },
  ...
}

Optional input

输入设置,详见 MixInputOptions

example
{
  input: {
    mode: 'manual',
    streams: [
      { userId: 'user_xxx', mediaType: 'camera' },
      { userId: 'user_yyy', mediaType: 'screen' },
    ]
  },
  ...
}

Optional output

输出设置,详见 MixOutputOptions

example
{
  output: {
    mode: 'audio-video',
    width: 1920,
    height: 1080,
    layout: {
      type: 'main',
      mainViewUId: 'user_xxx',
      mainViewType: 'camera',
    },
    ...
  },
  ...
}

storage

storage: { bucket: string; region: string }

存储设置。

example
{
  storage: {
    bucket: 'test-record',
    region: 'cn-bj'
  },
  ...
}

Type declaration

  • bucket: string

    存储的 bucket, 使用 UCloud 的 UFile 产品进行在存储,相关信息见控制台操作文档。

  • region: string

    存储服务所在的地域。

Generated using TypeDoc