共用方式為


VideoGalleryProps interface

VideoGallery的道具。

屬性

dominantSpeakers

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

isTogetherModeActive

指示在一起模式是否處於活動狀態

layout

視訊磚的配置。

localParticipant

本機視訊 partcpant

localScreenShareView

控制庫中本地螢幕共用流的檢視

localVideoCameraCycleButtonProps

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

localVideoTileSize

確定視頻庫中本地視頻圖塊的縱橫比。

localVideoViewOptions

本機影片檢視選項

maxParticipantsToSpotlight

可聚焦的最大參與者數

maxRemoteVideoStreams

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

onCreateLocalStreamView

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

onCreateRemoteStreamView

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

onCreateTogetherModeStreamView

用於創建合併模式流檢視的回調

onDisposeLocalScreenShareStreamView

釋放本地螢幕共用流視圖回調

onDisposeLocalStreamView

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

onDisposeRemoteScreenShareStreamView

釋放遠端螢幕共用流視圖回調

onDisposeRemoteStreamView
onDisposeRemoteVideoStreamView

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

onDisposeTogetherModeStreamView

用於釋放一起模式流視圖的回調

onForbidAudio

該回調用於禁止遠端參與者音訊

onForbidVideo

該回調用於禁止遠端參與者觀看視頻

onMuteParticipant

該回調用於將遠端參與者靜音

onPermitAudio

該回調用於允許遠端參與者進行音訊

onPermitVideo

該回調用於允許遠端參與者進行視頻作

onPinParticipant

該回調會在參與者視頻模組置頂時調用。

onRenderAvatar

用於渲染參與者頭像的回調

onRenderLocalVideoTile

回呼以轉譯本機影片磚

onRenderRemoteVideoTile

轉譯遠端視訊磚的回呼

onSetTogetherModeSceneSize

此回調用於設置 together 模式的場景大小

onStartLocalSpotlight

此回調用於啟動本地參與者視頻圖塊的聚焦。

onStartRemoteSpotlight

該回調用於停止對本地參與者視頻圖塊的聚焦。

onStartTogetherMode

此回調是一起啟動模式

onStopLocalSpotlight

此回調用於啟動遠端參與者視頻圖塊的Spotlight。

onStopRemoteSpotlight

此回調用於停止遠端參與者視頻圖塊的聚焦。

onUnpinParticipant

當參與者視頻圖塊解壓時,將調用該回調。

overflowGalleryPosition

確定 VideoGallery 內 overflowGallery 的佈局。

pinnedParticipants

固定參與者 userId 的清單。

reactionResources

點讚、心聲、笑聲、掌聲和驚喜的反應資源。

remoteParticipants

遠端視訊元件清單

remoteVideoTileMenu

用於顯示遠端視頻拼貼功能表的選項。

remoteVideoViewOptions

遠端影片檢視選項

showCameraSwitcherInLocalPreview

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

showMuteIndicator

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

spotlightedParticipants

聚焦參與者 userId 的清單。

startTogetherModeEnabled

指示本地參與者是否可以一起啟動模式

strings

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

styles

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

togetherModeSeatingCoordinates

參與者在一起模式下的座位位置

togetherModeStreams

一起模式視頻流

videoTilesOptions

視頻磁貼的其他選項

屬性詳細資料

dominantSpeakers

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

dominantSpeakers?: string[]

屬性值

string[]

isTogetherModeActive

指示在一起模式是否處於活動狀態

isTogetherModeActive?: boolean

屬性值

boolean

layout

視訊磚的配置。

layout?: VideoGalleryLayout

屬性值

localParticipant

本機視訊 partcpant

localParticipant: VideoGalleryLocalParticipant

屬性值

localScreenShareView

控制庫中本地螢幕共用流的檢視

localScreenShareView?: LocalScreenShareView

屬性值

localVideoCameraCycleButtonProps

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

localVideoCameraCycleButtonProps?: LocalVideoCameraCycleButtonProps

屬性值

localVideoTileSize

確定視頻庫中本地視頻圖塊的縱橫比。

localVideoTileSize?: LocalVideoTileSize

屬性值

備註

'followDeviceOrientation' 將響應螢幕方向,並將在 9:16(縱向)和 16:9(橫向)縱橫比之間變化。

localVideoViewOptions

本機影片檢視選項

localVideoViewOptions?: VideoStreamOptions

屬性值

maxParticipantsToSpotlight

可聚焦的最大參與者數

maxParticipantsToSpotlight?: number

屬性值

number

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>

onCreateTogetherModeStreamView

用於創建合併模式流檢視的回調

onCreateTogetherModeStreamView?: (options?: TogetherModeStreamOptions) => Promise<void | TogetherModeStreamViewResult>

屬性值

(options?: TogetherModeStreamOptions) => Promise<void | TogetherModeStreamViewResult>

onDisposeLocalScreenShareStreamView

釋放本地螢幕共用流視圖回調

onDisposeLocalScreenShareStreamView?: () => Promise<void>

屬性值

() => Promise<void>

onDisposeLocalStreamView

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

onDisposeLocalStreamView?: () => void

屬性值

() => void

onDisposeRemoteScreenShareStreamView

釋放遠端螢幕共用流視圖回調

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

屬性值

(userId: string) => Promise<void>

onDisposeRemoteStreamView

警告

此 API 現已淘汰。

use onDisposeRemoteVideoStreamView and onDisposeRemoteScreenShareStreamView instead

Callback to dispose a remote video stream view

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

屬性值

(userId: string) => Promise<void>

onDisposeRemoteVideoStreamView

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

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

屬性值

(userId: string) => Promise<void>

onDisposeTogetherModeStreamView

用於釋放一起模式流視圖的回調

onDisposeTogetherModeStreamView?: () => Promise<void>

屬性值

() => Promise<void>

onForbidAudio

該回調用於禁止遠端參與者音訊

onForbidAudio?: (userIds: string[]) => Promise<void>

屬性值

(userIds: string[]) => Promise<void>

onForbidVideo

該回調用於禁止遠端參與者觀看視頻

onForbidVideo?: (userIds: string[]) => Promise<void>

屬性值

(userIds: string[]) => Promise<void>

onMuteParticipant

該回調用於將遠端參與者靜音

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

屬性值

(userId: string) => Promise<void>

onPermitAudio

該回調用於允許遠端參與者進行音訊

onPermitAudio?: (userIds: string[]) => Promise<void>

屬性值

(userIds: string[]) => Promise<void>

onPermitVideo

該回調用於允許遠端參與者進行視頻作

onPermitVideo?: (userIds: string[]) => Promise<void>

屬性值

(userIds: string[]) => Promise<void>

onPinParticipant

該回調會在參與者視頻模組置頂時調用。

onPinParticipant?: (userId: string) => void

屬性值

(userId: string) => void

onRenderAvatar

用於渲染參與者頭像的回調

onRenderAvatar?: OnRenderAvatarCallback

屬性值

onRenderLocalVideoTile

回呼以轉譯本機影片磚

onRenderLocalVideoTile?: (localParticipant: VideoGalleryLocalParticipant) => Element

屬性值

(localParticipant: VideoGalleryLocalParticipant) => Element

onRenderRemoteVideoTile

轉譯遠端視訊磚的回呼

onRenderRemoteVideoTile?: (remoteParticipant: VideoGalleryRemoteParticipant) => Element

屬性值

(remoteParticipant: VideoGalleryRemoteParticipant) => Element

onSetTogetherModeSceneSize

此回調用於設置 together 模式的場景大小

onSetTogetherModeSceneSize?: (width: number, height: number) => void

屬性值

(width: number, height: number) => void

onStartLocalSpotlight

此回調用於啟動本地參與者視頻圖塊的聚焦。

onStartLocalSpotlight?: () => Promise<void>

屬性值

() => Promise<void>

onStartRemoteSpotlight

該回調用於停止對本地參與者視頻圖塊的聚焦。

onStartRemoteSpotlight?: (userIds: string[]) => Promise<void>

屬性值

(userIds: string[]) => Promise<void>

onStartTogetherMode

此回調是一起啟動模式

onStartTogetherMode?: () => Promise<void>

屬性值

() => Promise<void>

onStopLocalSpotlight

此回調用於啟動遠端參與者視頻圖塊的Spotlight。

onStopLocalSpotlight?: () => Promise<void>

屬性值

() => Promise<void>

onStopRemoteSpotlight

此回調用於停止遠端參與者視頻圖塊的聚焦。

onStopRemoteSpotlight?: (userIds: string[]) => Promise<void>

屬性值

(userIds: string[]) => Promise<void>

onUnpinParticipant

當參與者視頻圖塊解壓時,將調用該回調。

onUnpinParticipant?: (userId: string) => void

屬性值

(userId: string) => void

overflowGalleryPosition

確定 VideoGallery 內 overflowGallery 的佈局。

overflowGalleryPosition?: OverflowGalleryPosition

屬性值

pinnedParticipants

固定參與者 userId 的清單。

pinnedParticipants?: string[]

屬性值

string[]

reactionResources

點讚、心聲、笑聲、掌聲和驚喜的反應資源。

reactionResources?: ReactionResources

屬性值

remoteParticipants

遠端視訊元件清單

remoteParticipants?: VideoGalleryRemoteParticipant[]

屬性值

remoteVideoTileMenu

用於顯示遠端視頻拼貼功能表的選項。

remoteVideoTileMenu?: false | VideoTileContextualMenuProps | VideoTileDrawerMenuProps

屬性值

remoteVideoViewOptions

遠端影片檢視選項

remoteVideoViewOptions?: VideoStreamOptions

屬性值

showCameraSwitcherInLocalPreview

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

showCameraSwitcherInLocalPreview?: boolean

屬性值

boolean

showMuteIndicator

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

showMuteIndicator?: boolean

屬性值

boolean

spotlightedParticipants

聚焦參與者 userId 的清單。

spotlightedParticipants?: string[]

屬性值

string[]

startTogetherModeEnabled

指示本地參與者是否可以一起啟動模式

startTogetherModeEnabled?: boolean

屬性值

boolean

strings

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

strings?: Partial<VideoGalleryStrings>

屬性值

styles

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

styles?: VideoGalleryStyles

屬性值

togetherModeSeatingCoordinates

參與者在一起模式下的座位位置

togetherModeSeatingCoordinates?: VideoGalleryTogetherModeParticipantPosition

屬性值

togetherModeStreams

一起模式視頻流

togetherModeStreams?: VideoGalleryTogetherModeStreams

屬性值

videoTilesOptions

視頻磁貼的其他選項

videoTilesOptions?: VideoTilesOptions

屬性值