@supraio/client-daemon-js 0.0.0-mzudpstream.306 → 0.0.0-mzudpstream.307

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -64090,7 +64090,7 @@ $packages["github.com/supraio/client-daemon/pkg/config"] = (function() {
64090
64090
  defaultUsername = "unknown";
64091
64091
  };
64092
64092
  ParseConfig = function() {
64093
- var {_arg, _arg$1, _r, _r$1, _r$2, _r$3, _r$4, _r$5, _tmp, _tmp$1, _tmp$2, _tmp$3, _tmp$4, _tmp$5, _tuple, _tuple$1, _tuple$2, cfg, clientBaseDir, currentUser, err, err$1, homeDir, screenWindowCmd, $s, $r, $c} = $restore(this, {});
64093
+ var {_arg, _arg$1, _r, _r$1, _r$2, _r$3, _r$4, _r$5, _tmp, _tmp$1, _tmp$2, _tmp$3, _tmp$4, _tmp$5, _tmp$6, _tmp$7, _tuple, _tuple$1, _tuple$2, cfg, clientBaseDir, currentUser, err, err$1, homeDir, screenWindowCmd, $s, $r, $c} = $restore(this, {});
64094
64094
  /* */ $s = $s || 0; s: while (true) { switch ($s) { case 0:
64095
64095
  cfg = [cfg];
64096
64096
  cfg[0] = new Config.ptr("", "", "", "", "", new time.Duration(0, 0), "");
@@ -64114,6 +64114,13 @@ $packages["github.com/supraio/client-daemon/pkg/config"] = (function() {
64114
64114
  _arg$1 = _r$2;
64115
64115
  _r$3 = _r$1.Load(_arg, _arg$1); /* */ $s = 4; case 4: if($c) { $c = false; _r$3 = _r$3.$blk(); } if (_r$3 && _r$3.$blk !== undefined) { break s; }
64116
64116
  err = _r$3;
64117
+ if (!($interfaceIsEqual(err, $ifaceNil))) {
64118
+ _tmp$2 = $clone(cfg[0], Config);
64119
+ _tmp$3 = err;
64120
+ Config.copy(cfg[0], _tmp$2);
64121
+ err = _tmp$3;
64122
+ $s = -1; return [cfg[0], err];
64123
+ }
64117
64124
  if (cfg[0].RunDir === "") {
64118
64125
  cfg[0].RunDir = clientBaseDir + "/run";
64119
64126
  }
@@ -64148,10 +64155,10 @@ $packages["github.com/supraio/client-daemon/pkg/config"] = (function() {
64148
64155
  currentUser = _tuple$1[0];
64149
64156
  err$1 = _tuple$1[1];
64150
64157
  if (!($interfaceIsEqual(err$1, $ifaceNil))) {
64151
- _tmp$2 = $clone(cfg[0], Config);
64152
- _tmp$3 = err$1;
64153
- Config.copy(cfg[0], _tmp$2);
64154
- err = _tmp$3;
64158
+ _tmp$4 = $clone(cfg[0], Config);
64159
+ _tmp$5 = err$1;
64160
+ Config.copy(cfg[0], _tmp$4);
64161
+ err = _tmp$5;
64155
64162
  $s = -1; return [cfg[0], err];
64156
64163
  }
64157
64164
  cfg[0].Username = currentUser.Username;
@@ -64165,12 +64172,12 @@ $packages["github.com/supraio/client-daemon/pkg/config"] = (function() {
64165
64172
  }
64166
64173
  _r$5 = makeDirs($clone(cfg[0], Config)); /* */ $s = 11; case 11: if($c) { $c = false; _r$5 = _r$5.$blk(); } if (_r$5 && _r$5.$blk !== undefined) { break s; }
64167
64174
  err = _r$5;
64168
- _tmp$4 = $clone(cfg[0], Config);
64169
- _tmp$5 = err;
64170
- Config.copy(cfg[0], _tmp$4);
64171
- err = _tmp$5;
64175
+ _tmp$6 = $clone(cfg[0], Config);
64176
+ _tmp$7 = err;
64177
+ Config.copy(cfg[0], _tmp$6);
64178
+ err = _tmp$7;
64172
64179
  $s = -1; return [cfg[0], err];
64173
- /* */ } return; } var $f = {$blk: ParseConfig, $c: true, $r, _arg, _arg$1, _r, _r$1, _r$2, _r$3, _r$4, _r$5, _tmp, _tmp$1, _tmp$2, _tmp$3, _tmp$4, _tmp$5, _tuple, _tuple$1, _tuple$2, cfg, clientBaseDir, currentUser, err, err$1, homeDir, screenWindowCmd, $s};return $f;
64180
+ /* */ } return; } var $f = {$blk: ParseConfig, $c: true, $r, _arg, _arg$1, _r, _r$1, _r$2, _r$3, _r$4, _r$5, _tmp, _tmp$1, _tmp$2, _tmp$3, _tmp$4, _tmp$5, _tmp$6, _tmp$7, _tuple, _tuple$1, _tuple$2, cfg, clientBaseDir, currentUser, err, err$1, homeDir, screenWindowCmd, $s};return $f;
64174
64181
  };
64175
64182
  $pkg.ParseConfig = ParseConfig;
64176
64183
  getConfigFilePaths = function(clientBaseDir) {
@@ -191223,7 +191230,13 @@ $packages["github.com/supraio/client-daemon/pkg/videostream"] = (function() {
191223
191230
  $panic(new $String("not implemented GetPort"));
191224
191231
  };
191225
191232
  UnavailableVideoStreamer.prototype.GetPort = function() { return this.$val.GetPort(); };
191226
- ptrType.methods = [{prop: "IsAvailable", name: "IsAvailable", pkg: "", typ: $funcType([], [$Bool], false)}, {prop: "GetProtocol", name: "GetProtocol", pkg: "", typ: $funcType([], [Protocol], false)}, {prop: "GetPort", name: "GetPort", pkg: "", typ: $funcType([], [$Uint16], false)}];
191233
+ UnavailableVideoStreamer.ptr.prototype.GetHostname = function() {
191234
+ var u;
191235
+ u = this;
191236
+ $panic(new $String("not implemented GetHostname"));
191237
+ };
191238
+ UnavailableVideoStreamer.prototype.GetHostname = function() { return this.$val.GetHostname(); };
191239
+ ptrType.methods = [{prop: "IsAvailable", name: "IsAvailable", pkg: "", typ: $funcType([], [$Bool], false)}, {prop: "GetProtocol", name: "GetProtocol", pkg: "", typ: $funcType([], [Protocol], false)}, {prop: "GetPort", name: "GetPort", pkg: "", typ: $funcType([], [$Uint16], false)}, {prop: "GetHostname", name: "GetHostname", pkg: "", typ: $funcType([], [$String], false)}];
191227
191240
  UnavailableVideoStreamer.init("", []);
191228
191241
  $init = function() {
191229
191242
  $pkg.$init = function() {};
@@ -191311,6 +191324,17 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function(
191311
191324
  return ((port << 16 >>> 16));
191312
191325
  };
191313
191326
  SOSVideoStreamer.prototype.GetPort = function() { return this.$val.GetPort(); };
191327
+ SOSVideoStreamer.ptr.prototype.GetHostname = function() {
191328
+ var hostname, hostnameValue, m;
191329
+ m = this;
191330
+ hostnameValue = $clone($clone($clone(m.sos, js.Value).Get("config"), js.Value).Get("streamHostname"), js.Value);
191331
+ hostname = "";
191332
+ if (!$clone(hostnameValue, js.Value).IsUndefined() && ($clone(hostnameValue, js.Value).Type() === 4)) {
191333
+ hostname = $clone(hostnameValue, js.Value).String();
191334
+ }
191335
+ return hostname;
191336
+ };
191337
+ SOSVideoStreamer.prototype.GetHostname = function() { return this.$val.GetHostname(); };
191314
191338
  NewDecoder = function(header) {
191315
191339
  var header, sos;
191316
191340
  sos = $clone($clone(js.Global(), js.Value).Get("sos"), js.Value);
@@ -191326,7 +191350,7 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function(
191326
191350
  /* if (!m.started) { */ case 1:
191327
191351
  protocol = m.getProtocol();
191328
191352
  port = m.getPort();
191329
- hostname = m.getHostname(protocol);
191353
+ hostname = m.getStreamHostname(protocol);
191330
191354
  urlProtocol = m.getURLProtocol(protocol);
191331
191355
  sosProtocol = m.getSOSProtocol(protocol);
191332
191356
  _r = fmt.Sprintf("%s://%s:%d", new sliceType([new $String(urlProtocol), new $String(hostname), new $Uint16(port)])); /* */ $s = 3; case 3: if($c) { $c = false; _r = _r.$blk(); } if (_r && _r.$blk !== undefined) { break s; }
@@ -191408,23 +191432,23 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function(
191408
191432
  return serverHostname;
191409
191433
  };
191410
191434
  SOSStreamDecoder.prototype.getServerHostname = function() { return this.$val.getServerHostname(); };
191411
- SOSStreamDecoder.ptr.prototype.getHostname = function(protocol) {
191412
- var _1, hostname, hostnameValue, m, protocol;
191435
+ SOSStreamDecoder.ptr.prototype.getStreamHostname = function(protocol) {
191436
+ var _1, hostname, m, protocol, videoStreamer;
191413
191437
  m = this;
191414
- hostnameValue = $clone($clone($clone(m.sos, js.Value).Get("config"), js.Value).Get("streamHostname"), js.Value);
191415
- hostname = "";
191438
+ videoStreamer = new SOSVideoStreamer.ptr($clone(m.sos, js.Value));
191439
+ hostname = videoStreamer.GetHostname();
191440
+ if (!(hostname === "")) {
191441
+ return hostname;
191442
+ }
191416
191443
  _1 = protocol;
191417
191444
  if ((_1 === (0)) || (_1 === (3))) {
191418
191445
  hostname = "0.0.0.0";
191419
191446
  } else if ((_1 === (1)) || (_1 === (2))) {
191420
191447
  hostname = m.getServerHostname();
191421
191448
  }
191422
- if (!$clone(hostnameValue, js.Value).IsUndefined() && ($clone(hostnameValue, js.Value).Type() === 4)) {
191423
- hostname = $clone(hostnameValue, js.Value).String();
191424
- }
191425
191449
  return hostname;
191426
191450
  };
191427
- SOSStreamDecoder.prototype.getHostname = function(protocol) { return this.$val.getHostname(protocol); };
191451
+ SOSStreamDecoder.prototype.getStreamHostname = function(protocol) { return this.$val.getStreamHostname(protocol); };
191428
191452
  SOSStreamDecoder.ptr.prototype.getURLProtocol = function(protocol) {
191429
191453
  var _1, m, protocol;
191430
191454
  m = this;
@@ -191455,8 +191479,8 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function(
191455
191479
  }
191456
191480
  };
191457
191481
  SOSStreamDecoder.prototype.getSOSProtocol = function(protocol) { return this.$val.getSOSProtocol(protocol); };
191458
- ptrType$1.methods = [{prop: "IsAvailable", name: "IsAvailable", pkg: "", typ: $funcType([], [$Bool], false)}, {prop: "GetProtocol", name: "GetProtocol", pkg: "", typ: $funcType([], [videostream.Protocol], false)}, {prop: "GetPort", name: "GetPort", pkg: "", typ: $funcType([], [$Uint16], false)}];
191459
- ptrType$2.methods = [{prop: "Write", name: "Write", pkg: "", typ: $funcType([sliceType$1], [$error], false)}, {prop: "NextOutput", name: "NextOutput", pkg: "", typ: $funcType([general.OutputBuffer], [$error], false)}, {prop: "Release", name: "Release", pkg: "", typ: $funcType([general.OutputBuffer], [], false)}, {prop: "getProtocol", name: "getProtocol", pkg: "github.com/supraio/client-daemon/pkg/decoder/sosstream", typ: $funcType([], [videostream.Protocol], false)}, {prop: "getPort", name: "getPort", pkg: "github.com/supraio/client-daemon/pkg/decoder/sosstream", typ: $funcType([], [$Uint16], false)}, {prop: "getServerHostname", name: "getServerHostname", pkg: "github.com/supraio/client-daemon/pkg/decoder/sosstream", typ: $funcType([], [$String], false)}, {prop: "getHostname", name: "getHostname", pkg: "github.com/supraio/client-daemon/pkg/decoder/sosstream", typ: $funcType([videostream.Protocol], [$String], false)}, {prop: "getURLProtocol", name: "getURLProtocol", pkg: "github.com/supraio/client-daemon/pkg/decoder/sosstream", typ: $funcType([videostream.Protocol], [$String], false)}, {prop: "getSOSProtocol", name: "getSOSProtocol", pkg: "github.com/supraio/client-daemon/pkg/decoder/sosstream", typ: $funcType([videostream.Protocol], [$String], false)}];
191482
+ ptrType$1.methods = [{prop: "IsAvailable", name: "IsAvailable", pkg: "", typ: $funcType([], [$Bool], false)}, {prop: "GetProtocol", name: "GetProtocol", pkg: "", typ: $funcType([], [videostream.Protocol], false)}, {prop: "GetPort", name: "GetPort", pkg: "", typ: $funcType([], [$Uint16], false)}, {prop: "GetHostname", name: "GetHostname", pkg: "", typ: $funcType([], [$String], false)}];
191483
+ ptrType$2.methods = [{prop: "Write", name: "Write", pkg: "", typ: $funcType([sliceType$1], [$error], false)}, {prop: "NextOutput", name: "NextOutput", pkg: "", typ: $funcType([general.OutputBuffer], [$error], false)}, {prop: "Release", name: "Release", pkg: "", typ: $funcType([general.OutputBuffer], [], false)}, {prop: "getProtocol", name: "getProtocol", pkg: "github.com/supraio/client-daemon/pkg/decoder/sosstream", typ: $funcType([], [videostream.Protocol], false)}, {prop: "getPort", name: "getPort", pkg: "github.com/supraio/client-daemon/pkg/decoder/sosstream", typ: $funcType([], [$Uint16], false)}, {prop: "getServerHostname", name: "getServerHostname", pkg: "github.com/supraio/client-daemon/pkg/decoder/sosstream", typ: $funcType([], [$String], false)}, {prop: "getStreamHostname", name: "getStreamHostname", pkg: "github.com/supraio/client-daemon/pkg/decoder/sosstream", typ: $funcType([videostream.Protocol], [$String], false)}, {prop: "getURLProtocol", name: "getURLProtocol", pkg: "github.com/supraio/client-daemon/pkg/decoder/sosstream", typ: $funcType([videostream.Protocol], [$String], false)}, {prop: "getSOSProtocol", name: "getSOSProtocol", pkg: "github.com/supraio/client-daemon/pkg/decoder/sosstream", typ: $funcType([videostream.Protocol], [$String], false)}];
191460
191484
  SOSVideoStreamer.init("github.com/supraio/client-daemon/pkg/decoder/sosstream", [{prop: "sos", name: "sos", embedded: false, exported: false, typ: js.Value, tag: ""}]);
191461
191485
  SOSStreamDecoder.init("github.com/supraio/client-daemon/pkg/decoder/sosstream", [{prop: "sos", name: "sos", embedded: false, exported: false, typ: js.Value, tag: ""}, {prop: "started", name: "started", embedded: false, exported: false, typ: $Bool, tag: ""}]);
191462
191486
  $init = function() {
@@ -194038,7 +194062,7 @@ $packages["github.com/supraio/client-daemon/pkg/render"] = (function() {
194038
194062
  };
194039
194063
  ScreenWindow.prototype.getFrameHealthCheckTimeout = function() { return this.$val.getFrameHealthCheckTimeout(); };
194040
194064
  ScreenWindow.ptr.prototype.openScreen = function() {
194041
- var {_arg, _arg$1, _r, _r$1, _r$2, _r$3, _r$4, _r$5, _r$6, _tuple, _tuple$1, conn, connect, data, err, frameCollector, maxPacketSize, msgData, screenSender, videoStreamer, w, $s, $r, $c} = $restore(this, {});
194065
+ var {_arg, _arg$1, _r, _r$1, _r$2, _r$3, _r$4, _r$5, _r$6, _r$7, _tuple, _tuple$1, conn, connect, data, err, frameCollector, maxPacketSize, msgData, screenSender, streamHostname, videoStreamer, w, $s, $r, $c} = $restore(this, {});
194042
194066
  /* */ $s = $s || 0; s: while (true) { switch ($s) { case 0:
194043
194067
  err = [err];
194044
194068
  screenSender = [screenSender];
@@ -194089,23 +194113,28 @@ $packages["github.com/supraio/client-daemon/pkg/render"] = (function() {
194089
194113
  _r$5 = videoStreamer.GetPort(); /* */ $s = 8; case 8: if($c) { $c = false; _r$5 = _r$5.$blk(); } if (_r$5 && _r$5.$blk !== undefined) { break s; }
194090
194114
  _arg$1 = (_r$5);
194091
194115
  $r = $clone(binary.BigEndian, binary.bigEndian).PutUint16(_arg, _arg$1); /* */ $s = 9; case 9: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
194092
- _r$6 = screenSender[0].Send(5, data); /* */ $s = 10; case 10: if($c) { $c = false; _r$6 = _r$6.$blk(); } if (_r$6 && _r$6.$blk !== undefined) { break s; }
194093
- err[0] = _r$6;
194116
+ _r$6 = videoStreamer.GetHostname(); /* */ $s = 10; case 10: if($c) { $c = false; _r$6 = _r$6.$blk(); } if (_r$6 && _r$6.$blk !== undefined) { break s; }
194117
+ streamHostname = _r$6;
194118
+ if (!(streamHostname === "")) {
194119
+ data = $appendSlice(data, (new sliceType$2($stringToBytes(streamHostname))));
194120
+ }
194121
+ _r$7 = screenSender[0].Send(5, data); /* */ $s = 11; case 11: if($c) { $c = false; _r$7 = _r$7.$blk(); } if (_r$7 && _r$7.$blk !== undefined) { break s; }
194122
+ err[0] = _r$7;
194094
194123
  if (!($interfaceIsEqual(err[0], $ifaceNil))) {
194095
194124
  $s = -1; return err[0];
194096
194125
  }
194097
194126
  /* } */ case 5:
194098
194127
  $go((function(err, screenSender, w) { return function $b() {
194099
- var {_r$10, _r$11, _r$7, _r$8, _r$9, err$1, $s, $r, $c} = $restore(this, {});
194128
+ var {_r$10, _r$11, _r$12, _r$8, _r$9, err$1, $s, $r, $c} = $restore(this, {});
194100
194129
  /* */ $s = $s || 0; s: while (true) { switch ($s) { case 0:
194101
194130
  /* while (true) { */ case 1:
194102
194131
  /* if (!(!w[0].closed)) { break; } */ if(!(!w[0].closed)) { $s = 2; continue; }
194103
194132
  $r = time.Sleep(new time.Duration(0, 1000000000)); /* */ $s = 3; case 3: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
194104
- _r$7 = time.Now(); /* */ $s = 6; case 6: if($c) { $c = false; _r$7 = _r$7.$blk(); } if (_r$7 && _r$7.$blk !== undefined) { break s; }
194105
- _r$8 = $clone($clone(w[0].stats.GetLastFrameAt(), time.Time).Add(w[0].getFrameHealthCheckTimeout()), time.Time).Before($clone(_r$7, time.Time)); /* */ $s = 7; case 7: if($c) { $c = false; _r$8 = _r$8.$blk(); } if (_r$8 && _r$8.$blk !== undefined) { break s; }
194106
- /* */ if (_r$8) { $s = 4; continue; }
194133
+ _r$8 = time.Now(); /* */ $s = 6; case 6: if($c) { $c = false; _r$8 = _r$8.$blk(); } if (_r$8 && _r$8.$blk !== undefined) { break s; }
194134
+ _r$9 = $clone($clone(w[0].stats.GetLastFrameAt(), time.Time).Add(w[0].getFrameHealthCheckTimeout()), time.Time).Before($clone(_r$8, time.Time)); /* */ $s = 7; case 7: if($c) { $c = false; _r$9 = _r$9.$blk(); } if (_r$9 && _r$9.$blk !== undefined) { break s; }
194135
+ /* */ if (_r$9) { $s = 4; continue; }
194107
194136
  /* */ $s = 5; continue;
194108
- /* if (_r$8) { */ case 4:
194137
+ /* if (_r$9) { */ case 4:
194109
194138
  if (!(w[0].pinger === ptrType$9.nil)) {
194110
194139
  w[0].pinger.Close();
194111
194140
  w[0].pinger = ptrType$9.nil;
@@ -194122,22 +194151,22 @@ $packages["github.com/supraio/client-daemon/pkg/render"] = (function() {
194122
194151
  w[0].renderingLoop.Stop();
194123
194152
  w[0].renderingLoop = ptrType$5.nil;
194124
194153
  }
194125
- _r$9 = screenSender[0].Send(3, new sliceType$2([])); /* */ $s = 8; case 8: if($c) { $c = false; _r$9 = _r$9.$blk(); } if (_r$9 && _r$9.$blk !== undefined) { break s; }
194126
- err[0] = _r$9;
194154
+ _r$10 = screenSender[0].Send(3, new sliceType$2([])); /* */ $s = 8; case 8: if($c) { $c = false; _r$10 = _r$10.$blk(); } if (_r$10 && _r$10.$blk !== undefined) { break s; }
194155
+ err[0] = _r$10;
194127
194156
  /* */ if (!($interfaceIsEqual(err[0], $ifaceNil))) { $s = 9; continue; }
194128
194157
  /* */ $s = 10; continue;
194129
194158
  /* if (!($interfaceIsEqual(err[0], $ifaceNil))) { */ case 9:
194130
194159
  $r = errs.Print("Could not send disconnect msg to screen", err[0]); /* */ $s = 11; case 11: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
194131
194160
  /* } */ case 10:
194132
- _r$10 = w[0].screenConn.Close(); /* */ $s = 12; case 12: if($c) { $c = false; _r$10 = _r$10.$blk(); } if (_r$10 && _r$10.$blk !== undefined) { break s; }
194133
- err[0] = _r$10;
194161
+ _r$11 = w[0].screenConn.Close(); /* */ $s = 12; case 12: if($c) { $c = false; _r$11 = _r$11.$blk(); } if (_r$11 && _r$11.$blk !== undefined) { break s; }
194162
+ err[0] = _r$11;
194134
194163
  /* */ if (!($interfaceIsEqual(err[0], $ifaceNil))) { $s = 13; continue; }
194135
194164
  /* */ $s = 14; continue;
194136
194165
  /* if (!($interfaceIsEqual(err[0], $ifaceNil))) { */ case 13:
194137
194166
  $r = errs.Print("Could not disconnect screen", err[0]); /* */ $s = 15; case 15: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
194138
194167
  /* } */ case 14:
194139
- _r$11 = w[0].retriableOpen(-1, $methodVal(w[0], "openScreen")); /* */ $s = 16; case 16: if($c) { $c = false; _r$11 = _r$11.$blk(); } if (_r$11 && _r$11.$blk !== undefined) { break s; }
194140
- err$1 = _r$11;
194168
+ _r$12 = w[0].retriableOpen(-1, $methodVal(w[0], "openScreen")); /* */ $s = 16; case 16: if($c) { $c = false; _r$12 = _r$12.$blk(); } if (_r$12 && _r$12.$blk !== undefined) { break s; }
194169
+ err$1 = _r$12;
194141
194170
  /* */ if (!($interfaceIsEqual(err$1, $ifaceNil))) { $s = 17; continue; }
194142
194171
  /* */ $s = 18; continue;
194143
194172
  /* if (!($interfaceIsEqual(err$1, $ifaceNil))) { */ case 17:
@@ -194148,10 +194177,10 @@ $packages["github.com/supraio/client-daemon/pkg/render"] = (function() {
194148
194177
  $s = 1; continue;
194149
194178
  case 2:
194150
194179
  $s = -1; return;
194151
- /* */ } return; } var $f = {$blk: $b, $c: true, $r, _r$10, _r$11, _r$7, _r$8, _r$9, err$1, $s};return $f;
194180
+ /* */ } return; } var $f = {$blk: $b, $c: true, $r, _r$10, _r$11, _r$12, _r$8, _r$9, err$1, $s};return $f;
194152
194181
  }; })(err, screenSender, w), []);
194153
194182
  $s = -1; return $ifaceNil;
194154
- /* */ } return; } var $f = {$blk: ScreenWindow.ptr.prototype.openScreen, $c: true, $r, _arg, _arg$1, _r, _r$1, _r$2, _r$3, _r$4, _r$5, _r$6, _tuple, _tuple$1, conn, connect, data, err, frameCollector, maxPacketSize, msgData, screenSender, videoStreamer, w, $s};return $f;
194183
+ /* */ } return; } var $f = {$blk: ScreenWindow.ptr.prototype.openScreen, $c: true, $r, _arg, _arg$1, _r, _r$1, _r$2, _r$3, _r$4, _r$5, _r$6, _r$7, _tuple, _tuple$1, conn, connect, data, err, frameCollector, maxPacketSize, msgData, screenSender, streamHostname, videoStreamer, w, $s};return $f;
194155
194184
  };
194156
194185
  ScreenWindow.prototype.openScreen = function() { return this.$val.openScreen(); };
194157
194186
  ScreenWindow.ptr.prototype.createScreenBuffer = function() {