AgoraView

  • Electron

更新时间不可用

自定义标签的属性。

TypeScript
interface AgoraView {
  "video-source-type": VideoSourceType;
  uid: number;
  "channel-id": string;
  "renderer-content-mode": RenderModeType;
  "renderer-mirror": boolean;
  style: any;
}

该自定义标签的使用方式如下:

Text
<agora-view video-source-type="{VideoSourceType.VideoSourceCamera}" channel-id="" uid="{0}"></agora-view>

属性

参数名描述
video-source-type

视频源的类型,详见 VideoSourceType。

uid

远端用户 ID。

renderer-content-mode

视频渲染模式,详见 RenderModeType。

renderer-mirror

渲染视频时,是否开启视频镜像:

  • true: 开启镜像。
  • false: 不开启镜像。
style

元素的行内样式。详见 style-attribute。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?