lox-airplay-sender 0.3.4 → 0.3.6
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 +6 -2
- package/dist/esm/core/rtsp.js +6 -2
- package/dist/esm/utils/config.js +1 -1
- package/dist/utils/config.js +1 -1
- package/package.json +1 -1
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?.('
|
|
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/dist/esm/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?.('
|
|
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/dist/esm/utils/config.js
CHANGED
|
@@ -19,7 +19,7 @@ exports.config = {
|
|
|
19
19
|
sampling_rate: 44100, // fixed by AirTunes v2
|
|
20
20
|
sync_period: 126, // UDP sync packets are sent to all AirTunes devices regularly
|
|
21
21
|
stream_latency: 200, // audio UDP packets are flushed in bursts periodically
|
|
22
|
-
rtsp_timeout:
|
|
22
|
+
rtsp_timeout: 2147483647, // RTSP servers are considered gone if no reply is received before the timeout (legacy default)
|
|
23
23
|
rtsp_heartbeat: 15000, // some RTSP (like HomePod) servers requires heartbeat.
|
|
24
24
|
rtsp_retry_attempts: 3,
|
|
25
25
|
rtsp_retry_base_ms: 300,
|
package/dist/utils/config.js
CHANGED
|
@@ -19,7 +19,7 @@ exports.config = {
|
|
|
19
19
|
sampling_rate: 44100, // fixed by AirTunes v2
|
|
20
20
|
sync_period: 126, // UDP sync packets are sent to all AirTunes devices regularly
|
|
21
21
|
stream_latency: 200, // audio UDP packets are flushed in bursts periodically
|
|
22
|
-
rtsp_timeout:
|
|
22
|
+
rtsp_timeout: 2147483647, // RTSP servers are considered gone if no reply is received before the timeout (legacy default)
|
|
23
23
|
rtsp_heartbeat: 15000, // some RTSP (like HomePod) servers requires heartbeat.
|
|
24
24
|
rtsp_retry_attempts: 3,
|
|
25
25
|
rtsp_retry_base_ms: 300,
|