|
OpenTera WebRTC API (C++) 1.2.6
|
Represents a data channel configuration. More...
#include <DataChannelConfiguration.h>
Public Member Functions | |
| DataChannelConfiguration (const DataChannelConfiguration &other)=default | |
| DataChannelConfiguration (DataChannelConfiguration &&other)=default | |
| bool | ordered () const |
| Indicates if the message order must be preserved. More... | |
| const absl::optional< int > & | maxPacketLifeTime () const |
| Returns the maximum number of time a message can be retransmitted. More... | |
| const absl::optional< int > & | maxRetransmits () const |
| Returns the maximum number of time a message can be retransmitted. More... | |
| const std::string & | protocol () const |
| Returns the data channel protocol. More... | |
| operator webrtc::DataChannelInit () const | |
| DataChannelConfiguration & | operator= (const DataChannelConfiguration &other)=default |
| DataChannelConfiguration & | operator= (DataChannelConfiguration &&other)=default |
Static Public Member Functions | |
| static DataChannelConfiguration | create () |
| Creates a data channel configuration with default values. More... | |
| static DataChannelConfiguration | create (bool ordered) |
| Creates a data channel configuration with the specified value. More... | |
| static DataChannelConfiguration | createProtocol (std::string protocol) |
| Creates a data channel configuration with the specified value. More... | |
| static DataChannelConfiguration | create (bool ordered, std::string protocol) |
| Creates a data channel configuration with the specified values. More... | |
| static DataChannelConfiguration | createMaxPacketLifeTime (int maxPacketLifeTime) |
| Creates a data channel configuration with the specified value. More... | |
| static DataChannelConfiguration | createMaxPacketLifeTime (bool ordered, int maxPacketLifeTime) |
| Creates a data channel configuration with the specified values. More... | |
| static DataChannelConfiguration | createMaxPacketLifeTime (int maxPacketLifeTime, std::string protocol) |
| Creates a data channel configuration with the specified values. More... | |
| static DataChannelConfiguration | createMaxPacketLifeTime (bool ordered, int maxPacketLifeTime, std::string protocol) |
| Creates a data channel configuration with the specified values. More... | |
| static DataChannelConfiguration | createMaxRetransmits (int maxRetransmits) |
| Creates a data channel configuration with the specified value. More... | |
| static DataChannelConfiguration | createMaxRetransmits (bool ordered, int maxRetransmits) |
| Creates a data channel configuration with the specified values. More... | |
| static DataChannelConfiguration | createMaxRetransmits (int maxRetransmits, std::string protocol) |
| Creates a data channel configuration with the specified values. More... | |
| static DataChannelConfiguration | createMaxRetransmits (bool ordered, int maxRetransmits, std::string protocol) |
| Creates a data channel configuration with the specified values. More... | |
Represents a data channel configuration.
|
inlinestatic |
Creates a data channel configuration with default values.
|
inlinestatic |
Creates a data channel configuration with the specified value.
| ordered | Indicates if the message order must be preserved |
|
inlinestatic |
Creates a data channel configuration with the specified values.
| ordered | Indicates if the message order must be preserved |
| protocol | The data channel protocol |
|
inlinestatic |
Creates a data channel configuration with the specified values.
| ordered | Indicates if the message order must be preserved |
| maxPacketLifeTime | Indicates the amount of time a message can be retransmitted (ms) |
|
inlinestatic |
Creates a data channel configuration with the specified values.
| ordered | Indicates if the message order must be preserved |
| maxPacketLifeTime | Indicates the amount of time a message can be retransmitted (ms) |
| protocol | The data channel protocol |
|
inlinestatic |
Creates a data channel configuration with the specified value.
| maxPacketLifeTime | Indicates the amount of time a message can be retransmitted (ms) |
|
inlinestatic |
Creates a data channel configuration with the specified values.
| maxPacketLifeTime | Indicates the amount of time a message can be retransmitted (ms) |
| protocol | The data channel protocol |
|
inlinestatic |
Creates a data channel configuration with the specified values.
| ordered | Indicates if the message order must be preserved |
| maxRetransmits | Indicates the maximum number of time a message can be retransmitted |
|
inlinestatic |
Creates a data channel configuration with the specified values.
| ordered | Indicates if the message order must be preserved |
| maxRetransmits | Indicates the maximum number of time a message can be retransmitted |
| protocol | The data channel protocol |
|
inlinestatic |
Creates a data channel configuration with the specified value.
| maxRetransmits | Indicates the maximum number of time a message can be retransmitted |
|
inlinestatic |
Creates a data channel configuration with the specified values.
| maxRetransmits | Indicates the maximum number of time a message can be retransmitted |
| protocol | The data channel protocol |
|
inlinestatic |
Creates a data channel configuration with the specified value.
| protocol | The data channel protocol |
|
inline |
Returns the maximum number of time a message can be retransmitted.
|
inline |
Returns the maximum number of time a message can be retransmitted.
|
explicit |
Converts a AudioSourceConfiguration to a webrtc::DataChannelInit.
|
inline |
Indicates if the message order must be preserved.
|
inline |
Returns the data channel protocol.