eufy-security-client 3.8.0-dev.15 → 3.8.0-dev.16
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/build/http/device.d.ts +6 -0
- package/build/http/device.js +20 -0
- package/build/http/device.js.map +1 -1
- package/build/http/station.js +6 -4
- package/build/http/station.js.map +1 -1
- package/build/p2p/session.js +11 -4
- package/build/p2p/session.js.map +1 -1
- package/coverage/clover.xml +3590 -3581
- package/coverage/coverage-final.json +4 -4
- package/coverage/lcov-report/index.html +23 -23
- package/coverage/lcov.info +6763 -6735
- package/package.json +1 -1
package/build/p2p/session.js
CHANGED
|
@@ -1771,6 +1771,7 @@ class P2PClientProtocol extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
1771
1771
|
}
|
|
1772
1772
|
isIFrame(data, isKeyFrame) {
|
|
1773
1773
|
if (this.rawStation.station_sn.startsWith("T8410") ||
|
|
1774
|
+
this.rawStation.station_sn.startsWith("T8417") ||
|
|
1774
1775
|
this.rawStation.station_sn.startsWith("T8400") ||
|
|
1775
1776
|
this.rawStation.station_sn.startsWith("T8401") ||
|
|
1776
1777
|
this.rawStation.station_sn.startsWith("T8411") ||
|
|
@@ -1884,6 +1885,7 @@ class P2PClientProtocol extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
1884
1885
|
this.currentMessageState[message.dataType].p2pStreamMetadata.videoWidth = videoMetaData.videoWidth;
|
|
1885
1886
|
if (!this.currentMessageState[message.dataType].p2pStreamFirstVideoDataReceived) {
|
|
1886
1887
|
if (this.rawStation.station_sn.startsWith("T8410") ||
|
|
1888
|
+
this.rawStation.station_sn.startsWith("T8417") ||
|
|
1887
1889
|
this.rawStation.station_sn.startsWith("T8400") ||
|
|
1888
1890
|
this.rawStation.station_sn.startsWith("T8401") ||
|
|
1889
1891
|
this.rawStation.station_sn.startsWith("T8411") ||
|
|
@@ -2856,11 +2858,16 @@ class P2PClientProtocol extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
2856
2858
|
this.emit("garage door status", message.channel, payload.door_id, payload.type);
|
|
2857
2859
|
}
|
|
2858
2860
|
}
|
|
2859
|
-
else if (json.cmd ===
|
|
2861
|
+
else if (json.cmd === 6246) {
|
|
2860
2862
|
const payload = json.payload;
|
|
2861
|
-
logging_1.rootP2PLogger.debug(`Handle DATA ${types_1.P2PDataType[message.dataType]} - CMD_NOTIFY_PAYLOAD
|
|
2862
|
-
if (payload) {
|
|
2863
|
-
|
|
2863
|
+
logging_1.rootP2PLogger.debug(`Handle DATA ${types_1.P2PDataType[message.dataType]} - CMD_NOTIFY_PAYLOAD Livestream status`, { stationSN: this.rawStation.station_sn, payload: payload });
|
|
2864
|
+
if (payload?.num !== undefined) {
|
|
2865
|
+
if (payload.num > 0) {
|
|
2866
|
+
this.emit("rtsp livestream started", message.channel);
|
|
2867
|
+
}
|
|
2868
|
+
else {
|
|
2869
|
+
this.emit("rtsp livestream stopped", message.channel);
|
|
2870
|
+
}
|
|
2864
2871
|
}
|
|
2865
2872
|
}
|
|
2866
2873
|
else if (json.cmd === types_1.CommandType.CMD_HUB_NOTIFY_UPDATE) {
|