Amazon Kinesis Webrtc C SDK
Loading...
Searching...
No Matches
RtcDataChannelInit Struct Reference

RtcDataChannelInit dictionary used to configure properties of the underlying channel such as data reliability. More...

#include <Include.h>

Collaboration diagram for RtcDataChannelInit:
Collaboration graph

Public Attributes

BOOL ordered
 Decides the order in which data is sent. If true, data is sent in order.
NullableUint16 maxPacketLifeTime
NullableUint16 maxRetransmits
 Control number of times a channel retransmits data if not delivered successfully.
CHAR protocol [255+1]
 Sub protocol name for the channel.
BOOL negotiated
NullableUint16 id
 SCTP stream id, 0-299. Required when negotiated is TRUE, ignored otherwise.

Detailed Description

RtcDataChannelInit dictionary used to configure properties of the underlying channel such as data reliability.

Zero the whole structure (MEMSET) before setting fields. negotiated is honoured, so a structure left uninitialised can select a negotiated channel that sends no DCEP DATA_CHANNEL_OPEN.

Reference: https://www.w3.org/TR/webrtc/#dom-rtcdatachannelinit


The documentation for this struct was generated from the following file:
  • src/include/com/amazonaws/kinesis/video/webrtcclient/Include.h