Skip to content

非公式 / UnofficialCloudflare, Inc. 非提携。アカウント情報は入力しないでください。Not affiliated with Cloudflare, Inc. Do not enter Cloudflare credentials here.Official docsこのサイトについてプライバシー

RTKPip

最終更新 Markdown で表示Agent セットアップ

モジュール

RTKPip

関数

getInitials()

ui-kit のコードです。avatar コンポーネントと同じメソッドです

meeting.participants.pip.disable

PiP を無効にします

種類: RTKPip のインスタンスプロパティ

meeting.participants.pip.init([options])

PiP を初期化し、ソースを準備します

種類: RTKPip のインスタンスメソッド

パラメーター 型
[options] Object
[options.height] number
[options.width] number

meeting.participants.pip.disableSource(source)

種類: RTKPip のインスタンスメソッド

パラメーター 型
source string

meeting.participants.pip.addSource(id, element, enabled, [displayText])

参加者グリッドから動画ソースを追加します

種類: RTKPip のインスタンスメソッド

パラメーター 型 説明
id string ソースの id(例: 参加者 id)
element HTMLVideoElement 動画ソース用の HTMLVideoElement
enabled boolean ソースが有効かどうか
[displayText] string 2 文字の表示テキスト

meeting.participants.pip.updateSource(id, source)

動画ソースを更新します

種類: RTKPip のインスタンスメソッド

パラメーター 型
id string
source any

meeting.participants.pip.removeSource(id)

参加者の動画ソースを削除します

種類: RTKPip のインスタンスメソッド

パラメーター 説明
id ソースの id(例: 参加者 id)

meeting.participants.pip.removePinnedSource(id)

ピン留めされたソースを削除します

種類: RTKPip のインスタンスメソッド

パラメーター 説明
id ソースの id(例: 参加者 id)

meeting.participants.pip.removeAllSources()

すべてのソースを削除します

種類: RTKPip のインスタンスメソッド

meeting.participants.pip.enable()

PiP を有効にします

種類: RTKPip のインスタンスメソッド

ui-kit のコードです。avatar コンポーネントと同じメソッドです

種類: グローバル関数

役に立ちましたか?