private void onWebSocketClose(WebSocketCloseFrame frame)
 {
     OnClose(this, new EventArgs());
     StopStreaming();
     Try.Catch(() => { streamerController?.Dispose(); streamerController = null; });
 }
 public SHRDWebSocketClientHandler()
 {
     Console.WriteLine(ID + " SHRDWebSocketClientHandler constructor");
     streamerController          = new StreamerController(ServiceWrapper.service_pid);
     streamerController.OnClose += StreamerController_OnClose;
 }