@mega-yfue/eufy-sdk 0.6.0-beta.19 → 0.6.0-beta.20
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
CHANGED
|
@@ -6359,7 +6359,8 @@ var CAMERA_MEMBERS = {
|
|
|
6359
6359
|
refuseWhenDisabled(ctx, read);
|
|
6360
6360
|
return m.record(...args);
|
|
6361
6361
|
}), "Record N seconds \u2192 an mp4/h264 buffer."),
|
|
6362
|
-
|
|
6362
|
+
/** The T8530 serves its live feed as a Readable too; its other media pulls stay withheld. */
|
|
6363
|
+
openReadable: provided("media", (m, { ctx, read }) => (isCameraCodec(ctx) || isVideoSmartLock(ctx)) && m.openReadable && (async (opts) => {
|
|
6363
6364
|
refuseWhenDisabled(ctx, read);
|
|
6364
6365
|
refuseUnsupportedView(m, opts);
|
|
6365
6366
|
return m.openReadable({ powered: poweredOf(ctx), ...opts });
|