Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MixOptions

混流参数设置。

Hierarchy

Index

Properties

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',
    },
    ...
  },
  ...
}

Generated using TypeDoc