ReadonlykindAlways 'data'.
ReadonlymaxThe maximum period of time in milliseconds in which retransmissions will be
sent, as passed to createLocalDataTrack, or null when unset.
ReadonlymaxThe maximum number of times a message is retransmitted before being given
up on, as passed to createLocalDataTrack, or null when unset.
ReadonlynameTrack name, unique across the local participant's published tracks.
ReadonlyorderedWhether messages are delivered in the order they were sent.
ReadonlyreliableWhether delivery is reliable (neither retransmit limit set).
Send a message to all subscribed remote participants.
The returned promise always resolves - never rejects - so a
fire-and-forget send() cannot produce an unhandled rejection. Await it
only when the outcome matters. It resolves with ok: false at once when
the track is not published to a Room, or its last Room has disconnected. A
send still pending when the track's last Room disconnects or is disposed,
or when its publication fails (trackPublicationFailed), resolves with
ok: false then.
A local data track for sending string or binary messages. Create via createLocalDataTrack.