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

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
@@ -191291,6 +191291,8 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function(
191291
191291
  protocol = 1;
191292
191292
  } else if (_1 === ("HTTPMP4")) {
191293
191293
  protocol = 2;
191294
+ } else if (_1 === ("RTP")) {
191295
+ protocol = 3;
191294
191296
  } else {
191295
191297
  protocol = 0;
191296
191298
  }
@@ -191412,7 +191414,7 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function(
191412
191414
  hostnameValue = $clone($clone($clone(m.sos, js.Value).Get("config"), js.Value).Get("streamHostname"), js.Value);
191413
191415
  hostname = "";
191414
191416
  _1 = protocol;
191415
- if (_1 === (0)) {
191417
+ if ((_1 === (0)) || (_1 === (3))) {
191416
191418
  hostname = "0.0.0.0";
191417
191419
  } else if ((_1 === (1)) || (_1 === (2))) {
191418
191420
  hostname = m.getServerHostname();
@@ -191431,6 +191433,8 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function(
191431
191433
  return "udp";
191432
191434
  } else if ((_1 === (1)) || (_1 === (2))) {
191433
191435
  return "http";
191436
+ } else if (_1 === (3)) {
191437
+ return "rtp";
191434
191438
  } else {
191435
191439
  $panic(new $String("Unknown url protocol"));
191436
191440
  }
@@ -191444,6 +191448,8 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function(
191444
191448
  return "UDP";
191445
191449
  } else if ((_1 === (1)) || (_1 === (2))) {
191446
191450
  return "HTTP";
191451
+ } else if (_1 === (3)) {
191452
+ return "RTP";
191447
191453
  } else {
191448
191454
  $panic(new $String("Unknown sos protocol"));
191449
191455
  }