DataChannelSender interface
Odesílatel datového zdroje
Vlastnosti
channel |
|
max |
Metody
close() | |
send |
|
set |
Podrobnosti vlastnosti
channelId
channelId: number
Hodnota vlastnosti
number
maxMessageSize
maxMessageSize: number
Hodnota vlastnosti
number
Podrobnosti metody
close()
function close()
sendMessage(Uint8Array)
function sendMessage(data: Uint8Array): Promise<void>
Parametry
- data
-
Uint8Array
Návraty
Promise<void>
setParticipants(CommunicationIdentifier[])
function setParticipants(participants: CommunicationIdentifier[])
Parametry
- participants
-
CommunicationIdentifier[]