Compartilhar via


DataChannelCallFeature interface

Recurso de Chamada do DataChannel

Extends

Propriedades herdadas

name

O nome do recurso.

Métodos

createDataChannelSender(DataChannelSenderOpenOptions)

Criar um objeto de remetente do DataChannel

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

Métodos herdados

dispose()

Detalhes das propriedades herdadas

name

O nome do recurso.

name: string

Valor da propriedade

string

herdado deCallFeature.name

Detalhes do método

createDataChannelSender(DataChannelSenderOpenOptions)

Criar um objeto de remetente do DataChannel

function createDataChannelSender(options: DataChannelSenderOpenOptions): DataChannelSender

Parâmetros

options
DataChannelSenderOpenOptions

opções de remetente

Retornos

off("dataChannelReceiverCreated", DataChannelReceiverCreatedEvent)

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

Parâmetros

event

"dataChannelReceiverCreated"

on("dataChannelReceiverCreated", DataChannelReceiverCreatedEvent)

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

Parâmetros

event

"dataChannelReceiverCreated"

Detalhes do método herdado

dispose()

function dispose()

Herdado deCallFeature.dispose