reconnectRoom method
Implementation
@override
Future<void> reconnectRoom() async {
if (_mParticipant == null) return;
_videoStats.dispose();
_audioStats.dispose();
await _mParticipant?.peerConnection.close();
final RTCPeerConnection peerConnection = await _createPeerConnection(
constraints: RTCConfigurations.offerPublisherSdpConstraints,
);
_mParticipant = _mParticipant?.copyWith(peerConnection: peerConnection);
await _establishPublisher();
}