@@ -86,6 +86,7 @@ typedef enum { // Don't change, it must match plog severity
typedef struct {
const char **iceServers;
int iceServersCount;
+ bool enableIceTcp;
uint16_t portRangeBegin;
uint16_t portRangeEnd;
} rtcConfiguration;
@@ -287,6 +287,7 @@ int rtcCreatePeerConnection(const rtcConfiguration *config) {
c.portRangeEnd = config->portRangeEnd;
}
+ c.enableIceTcp = config->enableIceTcp;
return emplacePeerConnection(std::make_shared<PeerConnection>(c));
});