mirror of
https://github.com/koush/scrypted.git
synced 2026-03-01 08:42:57 +00:00
rebroadcast: publish
This commit is contained in:
4
plugins/prebuffer-mixin/package-lock.json
generated
4
plugins/prebuffer-mixin/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@scrypted/prebuffer-mixin",
|
||||
"version": "0.10.65",
|
||||
"version": "0.10.66",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@scrypted/prebuffer-mixin",
|
||||
"version": "0.10.65",
|
||||
"version": "0.10.66",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@scrypted/common": "file:../../common",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@scrypted/prebuffer-mixin",
|
||||
"version": "0.10.65",
|
||||
"version": "0.10.66",
|
||||
"description": "Video Stream Rebroadcast, Prebuffer, and Management Plugin for Scrypted.",
|
||||
"author": "Scrypted",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -72,7 +72,7 @@ export class FileRtspServer extends RtspServer {
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
this.writeConsole?.error('RTSP WRITE error during truncate file', truncate, e);
|
||||
this.writeConsole?.warn('RTSP WRITE truncate target removed', truncate, e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -426,7 +426,7 @@ export class RtmpClient {
|
||||
const bytesToAck = (this.totalBytesReceived - this.lastAcknowledgementBytes) >>> 0;
|
||||
if (bytesToAck >= this.windowAckSize) {
|
||||
this.lastAcknowledgementBytes = this.totalBytesReceived;
|
||||
console.log(`Sending acknowledgement: ${this.lastAcknowledgementBytes} bytes received (${bytesToAck} since last ACK)`);
|
||||
// this.console?.log(`Sending acknowledgement: ${this.lastAcknowledgementBytes} bytes received (${bytesToAck} since last ACK)`);
|
||||
const data = Buffer.alloc(4);
|
||||
data.writeUInt32BE(this.lastAcknowledgementBytes, 0);
|
||||
this.sendMessage(2, 0, RtmpMessageType.ACKNOWLEDGEMENT, 0, data);
|
||||
|
||||
Reference in New Issue
Block a user