DataChannelCallFeature interface
DataChannel 调用功能
- 扩展
继承属性
name | 功能名称。 |
方法
继承的方法
dispose() |
继承属性详细信息
name
功能名称。
name: string
属性值
string
继承自
方法详细信息
createDataChannelSender(DataChannelSenderOpenOptions)
创建 DataChannel 发送方对象
function createDataChannelSender(options: DataChannelSenderOpenOptions): DataChannelSender
参数
- options
- DataChannelSenderOpenOptions
发送方选项
返回
off("dataChannelReceiverCreated", DataChannelReceiverCreatedEvent)
function off(event: "dataChannelReceiverCreated", listener: DataChannelReceiverCreatedEvent)
参数
- event
-
"dataChannelReceiverCreated"
- listener
- DataChannelReceiverCreatedEvent
on("dataChannelReceiverCreated", DataChannelReceiverCreatedEvent)
function on(event: "dataChannelReceiverCreated", listener: DataChannelReceiverCreatedEvent)
参数
- event
-
"dataChannelReceiverCreated"
- listener
- DataChannelReceiverCreatedEvent
继承的方法详细信息
dispose()
function dispose()