public void StopConference(Action <string> callback) { // Detach signalling from the conference. Signalling.Detach((error) => { Conference.OnLinkInit -= LogLinkInit; Conference.OnLinkUp -= LogLinkUp; Conference.OnLinkDown -= LogLinkDown; Conference = null; VideoStream.OnLinkInit -= AddRemoteVideoControl; VideoStream.OnLinkDown -= RemoveRemoteVideoControl; VideoStream = null; AudioStream = null; callback(error); }); }