lox-airplay-sender 0.3.4 → 0.3.5

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.
package/dist/core/rtsp.js CHANGED
@@ -239,8 +239,12 @@ Client.prototype.startHandshake = function (udpServers, host, port) {
239
239
  this.cleanup('rtsp_socket', err?.code);
240
240
  });
241
241
  this.socket.on('end', () => {
242
- if (this.debug)
243
- this.logLine?.('block2');
242
+ if (this.debug) {
243
+ this.logLine?.('rtsp_end', {
244
+ lastStatus: rtsp_methods[this.status + 1] ?? this.status,
245
+ cseq: this.cseq,
246
+ });
247
+ }
244
248
  this.cleanup('disconnected');
245
249
  });
246
250
  };
@@ -239,8 +239,12 @@ Client.prototype.startHandshake = function (udpServers, host, port) {
239
239
  this.cleanup('rtsp_socket', err?.code);
240
240
  });
241
241
  this.socket.on('end', () => {
242
- if (this.debug)
243
- this.logLine?.('block2');
242
+ if (this.debug) {
243
+ this.logLine?.('rtsp_end', {
244
+ lastStatus: rtsp_methods[this.status + 1] ?? this.status,
245
+ cseq: this.cseq,
246
+ });
247
+ }
244
248
  this.cleanup('disconnected');
245
249
  });
246
250
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lox-airplay-sender",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "AirPlay sender (RAOP/AirPlay 1 + AirPlay 2 auth flows) ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",