开始转推的参数设置。
更多设置,详见 MixAdvancesOptions。
{ advances: { keyUser: 'user_xxx', ... }, ... }
输入设置,详见 MixInputOptions。
{ input: { mode: 'manual', streams: [ { userId: 'user_xxx', mediaType: 'camera' }, { userId: 'user_yyy', mediaType: 'screen' }, ] }, ... }
输出设置,详见 MixOutputOptions。
{ output: { mode: 'audio-video', width: 1920, height: 1080, layout: { type: 'main', mainViewUId: 'user_xxx', mainViewType: 'camera', }, ... }, ... }
转推设置。
{ relay: { pushURL: [`rtmp://push.xxxxx.com/xxx/${this.roomId}`] }, ... }
转推地址,rtmp 地址。
Generated using TypeDoc
开始转推的参数设置。