TTMSFNCWXWebRTCDataChannel Class
Describes a single data channel of a peer connection, including its name and reliability settings, for exchanging arbitrary application data alongside media.
API unit family: TMSFNCWXWebRTC
Inherits from: TCollectionItem
Syntax
TTMSFNCWXWebRTCDataChannel = class(TCollectionItem)
Properties
| Name | Description |
|---|---|
| ChannelName | The label that identifies the channel. Both peers must use the same name to exchange data on the channel. |
| MaxPacketLifeTime | The maximum time in milliseconds the channel attempts to deliver a message before discarding it. |
| MaxRetransmits | The maximum number of times the channel retransmits a message before discarding it. |
| Ordered | When True, messages are delivered in the order they were sent; when False, messages may arrive out of order. Defaults to True. |
| Protocol | The optional sub-protocol name negotiated for the channel. Both peers should agree on the same value. |