@mega-yfue/eufy-sdk 0.5.0-beta.20 → 0.5.0-beta.21
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.
|
@@ -46,9 +46,10 @@ export declare function receiveRecording(session: P2PSession, request: {
|
|
|
46
46
|
signal?: AbortSignal;
|
|
47
47
|
}): RecordingTransfer;
|
|
48
48
|
/**
|
|
49
|
-
* Decode a recording's frames, in arrival order, into elementary streams.
|
|
50
|
-
*
|
|
51
|
-
*
|
|
49
|
+
* Decode a recording's frames, in arrival order, into elementary streams. Split pictures are assembled
|
|
50
|
+
* before they enter the output; an orphan continuation cannot become its own picture. Keyframes go
|
|
51
|
+
* through one {@link VideoFrameDecoder}, whose media key then opens the audio; a keyframe that does not
|
|
52
|
+
* open under `eccPrivateKeyHex`, and every audio frame before the first media key, are dropped. Rejects with
|
|
52
53
|
* {@link RecordingDownloadError} `undecodable` when no video frame decodes.
|
|
53
54
|
*/
|
|
54
55
|
export declare function decodeRecording(frames: readonly RecordingFrame[], eccPrivateKeyHex: string): RecordingDownload;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mega-yfue/eufy-sdk",
|
|
3
|
-
"version": "0.5.0-beta.
|
|
3
|
+
"version": "0.5.0-beta.21",
|
|
4
4
|
"description": "One typed TypeScript client for the Anker eufy v6 cloud — capability-driven devices, realtime events over P2P/MQTT/push, and live media",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "mega-yfue",
|