共用方式為


DataChannelCallFeature interface

DataChannel 呼叫功能

Extends

繼承的屬性

name

功能名稱。

方法

createDataChannelSender(DataChannelSenderOpenOptions)

建立 DataChannel 傳送者物件

off("dataChannelReceiverCreated", DataChannelReceiverCreatedEvent)
on("dataChannelReceiverCreated", DataChannelReceiverCreatedEvent)

繼承的方法

dispose()

繼承的屬性詳細資料

name

功能名稱。

name: string

屬性值

string

繼承自CallFeature.name

方法詳細資料

createDataChannelSender(DataChannelSenderOpenOptions)

建立 DataChannel 傳送者物件

function createDataChannelSender(options: DataChannelSenderOpenOptions): DataChannelSender

參數

options
DataChannelSenderOpenOptions

寄件人選項

傳回

off("dataChannelReceiverCreated", DataChannelReceiverCreatedEvent)

function off(event: "dataChannelReceiverCreated", listener: DataChannelReceiverCreatedEvent)

參數

event

"dataChannelReceiverCreated"

on("dataChannelReceiverCreated", DataChannelReceiverCreatedEvent)

function on(event: "dataChannelReceiverCreated", listener: DataChannelReceiverCreatedEvent)

參數

event

"dataChannelReceiverCreated"

繼承的方法的詳細資料

dispose()

function dispose()

繼承自CallFeature.dispose