Amazon Kinesis Webrtc C SDK
DataChannel.c File Reference
#include "../Include_i.h"
Include dependency graph for DataChannel.c:

Macros

#define LOG_CLASS   "DataChannel"
 

Functions

STATUS createDataChannel (PRtcPeerConnection pPeerConnection, PCHAR pDataChannelName, PRtcDataChannelInit pRtcDataChannelInit, PRtcDataChannel *ppRtcDataChannel)
 createDataChannel creates a new RtcDataChannel object with the given label. More...
 
STATUS dataChannelSend (PRtcDataChannel pRtcDataChannel, BOOL isBinary, PBYTE pMessage, UINT32 pMessageLen)
 Send data via the PRtcDataChannel. More...
 
STATUS dataChannelOnMessage (PRtcDataChannel pRtcDataChannel, UINT64 customData, RtcOnMessage rtcOnMessage)
 Set a callback for data channel message. More...
 
STATUS dataChannelOnOpen (PRtcDataChannel pRtcDataChannel, UINT64 customData, RtcOnOpen rtcOnOpen)
 Set a callback for data channel open. More...
 

Macro Definition Documentation

◆ LOG_CLASS

#define LOG_CLASS   "DataChannel"