Table of Contents

TTMSFNCWXWebRTCDataChannelDataStreamEvent Event Type

Fires when a binary message is received over a data channel of a peer connection.

API unit family: TMSFNCWXWebRTC

Parameters

Name Description
Sender The component that raised the event.
AID The identifier of the peer connection that received the message.
AChannel The name of the data channel the message arrived on.
AData The received binary payload. The stream is owned by the caller and is freed after the handler returns, so copy any data that must outlive the handler.