@mega-yfue/eufy-sdk 0.5.0-beta.46 → 0.5.0-beta.47
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/index.js +3 -1
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22012,8 +22012,10 @@ var P2PCommandRouter = class _P2PCommandRouter {
|
|
|
22012
22012
|
tearDownStation(stationSn) {
|
|
22013
22013
|
this.manager.remove(stationSn);
|
|
22014
22014
|
for (const key of [...this.liveSources.keys()]) {
|
|
22015
|
-
|
|
22015
|
+
const owner = this.liveSessionKeys.get(key);
|
|
22016
|
+
if (key.startsWith(`${stationSn}:`) && !(owner && _P2PCommandRouter.isMediaSessionKey(owner))) {
|
|
22016
22017
|
this.dropLiveSource(key);
|
|
22018
|
+
}
|
|
22017
22019
|
}
|
|
22018
22020
|
for (const [key, talk] of this.talkbacks) {
|
|
22019
22021
|
if (key.startsWith(`${stationSn}:`)) {
|