共用方式為


VideoGalleryProps interface

VideoGallery的道具。

屬性

dominantSpeakers

主要說話者 userId 的清單,其支配順序。 第 0 個索引是最佔主導地位的。

layout

視訊磚的配置。

localParticipant

本機視訊 partcpant

localVideoCameraCycleButtonProps

按鈕切換相機的相機控制資訊。

localVideoViewOptions

本機影片檢視選項

maxRemoteVideoStreams

轉譯的參與者遠端視訊串流數目上限。

onCreateLocalStreamView

回呼以建立本機影片串流檢視

onCreateRemoteStreamView

建立遠端視訊串流檢視的回呼

onDisposeLocalStreamView

處置本機視訊串流檢視的回呼

onDisposeRemoteStreamView

回呼以處置遠端視訊串流檢視

onRenderAvatar

回呼以轉譯 partciant 虛擬人偶

onRenderLocalVideoTile

回呼以轉譯本機影片磚

onRenderRemoteVideoTile

轉譯遠端視訊磚的回呼

remoteParticipants

遠端視訊元件清單

remoteVideoViewOptions

遠端影片檢視選項

showCameraSwitcherInLocalPreview

是否要顯示本機攝像機切換器按鈕

showMuteIndicator

是否要在使用者的顯示名稱旁邊顯示靜音圖示。

strings

在元件中覆寫的選擇性字串

styles

允許使用者傳遞物件,其中包含資源庫容器的自定義 CSS 樣式。

屬性詳細資料

dominantSpeakers

主要說話者 userId 的清單,其支配順序。 第 0 個索引是最佔主導地位的。

dominantSpeakers?: string[]

屬性值

string[]

layout

視訊磚的配置。

layout?: VideoGalleryLayout

屬性值

localParticipant

本機視訊 partcpant

localParticipant: VideoGalleryParticipant

屬性值

localVideoCameraCycleButtonProps

按鈕切換相機的相機控制資訊。

localVideoCameraCycleButtonProps?: LocalVideoCameraCycleButtonProps

屬性值

localVideoViewOptions

本機影片檢視選項

localVideoViewOptions?: VideoStreamOptions

屬性值

maxRemoteVideoStreams

轉譯的參與者遠端視訊串流數目上限。

maxRemoteVideoStreams?: number

屬性值

number

onCreateLocalStreamView

回呼以建立本機影片串流檢視

onCreateLocalStreamView?: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>

屬性值

(options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>

onCreateRemoteStreamView

建立遠端視訊串流檢視的回呼

onCreateRemoteStreamView?: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>

屬性值

(userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>

onDisposeLocalStreamView

處置本機視訊串流檢視的回呼

onDisposeLocalStreamView?: () => void

屬性值

() => void

onDisposeRemoteStreamView

回呼以處置遠端視訊串流檢視

onDisposeRemoteStreamView?: (userId: string) => Promise<void>

屬性值

(userId: string) => Promise<void>

onRenderAvatar

回呼以轉譯 partciant 虛擬人偶

onRenderAvatar?: OnRenderAvatarCallback

屬性值

onRenderLocalVideoTile

回呼以轉譯本機影片磚

onRenderLocalVideoTile?: (localParticipant: VideoGalleryParticipant) => Element

屬性值

(localParticipant: VideoGalleryParticipant) => Element

onRenderRemoteVideoTile

轉譯遠端視訊磚的回呼

onRenderRemoteVideoTile?: (remoteParticipant: VideoGalleryRemoteParticipant) => Element

屬性值

(remoteParticipant: VideoGalleryRemoteParticipant) => Element

remoteParticipants

遠端視訊元件清單

remoteParticipants?: VideoGalleryRemoteParticipant[]

屬性值

remoteVideoViewOptions

遠端影片檢視選項

remoteVideoViewOptions?: VideoStreamOptions

屬性值

showCameraSwitcherInLocalPreview

是否要顯示本機攝像機切換器按鈕

showCameraSwitcherInLocalPreview?: boolean

屬性值

boolean

showMuteIndicator

是否要在使用者的顯示名稱旁邊顯示靜音圖示。

showMuteIndicator?: boolean

屬性值

boolean

strings

在元件中覆寫的選擇性字串

strings?: Partial<VideoGalleryStrings>

屬性值

styles

允許使用者傳遞物件,其中包含資源庫容器的自定義 CSS 樣式。

styles?: VideoGalleryStyles

屬性值