AgoraView

Properties of the custom tag.

interface AgoraView {
  "video-source-type": VideoSourceType;
  uid: number;
  "channel-id": string;
  "renderer-content-mode": RenderModeType;
  "renderer-mirror": boolean;
  style: any;
}
Usage of this custom tag is as follows:
<agora-view video-source-type="{VideoSourceType.VideoSourceCamera}" channel-id="" uid="{0}"></agora-view>

Properties

video-source-type
Type of video source. See VideoSourceType.
uid
Remote user ID.
renderer-content-mode
Video rendering mode. See RenderModeType.
renderer-mirror
Whether to enable video mirroring during rendering:
  • true: Enable mirroring.
  • false: Do not enable mirroring.
style
Inline style of the element. See style-attribute.