private void LocalVideoStream_OnLinkDown(StreamLinkDownArgs p) { if (_layoutManager != null) { _layoutManager.RemoveRemoteVideoControl(p.PeerId); } }
private void RemoveRemoteVideoControl(StreamLinkDownArgs e) { try { if (LocalMedia != null && LocalMedia.LayoutManager != null) { LocalMedia.LayoutManager.RemoveRemoteVideoControl(e.PeerId); } } catch (Exception ex) { Log.Error("Could not remove remote video control.", ex); } }
private void RemoveRemoteVideoControl(StreamLinkDownArgs e) { LocalMedia.LayoutManager.RemoveRemoteVideoControl(e.PeerId); }