The disconnect function is used to disconnect an active webrtc connection to Diarupt Engine. you need to have an active connection to use the disconnect function, although if you don’t it silently fails.

Parameters

void
void
required

The disconnect function takes no parameters

Returns

void
void

The disconnect function returns void