@lookloot/capture-sdk-overwolf-native 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/README.md +7 -39
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -31,7 +31,7 @@ The upload bridge is required for production video uploads because Overwolf repl
31
31
 
32
32
  ## Capture backend choice
33
33
 
34
- The default `replay.captureBackend` is `"overwolf_recorder"`. Use it when you want Overwolf Recorder as the no-OBS capture engine:
34
+ The default `replay.captureBackend` is `"overwolf_recorder"`. Use it when you want Overwolf Recorder as the no-OBS capture engine:
35
35
 
36
36
  ```ts
37
37
  const capture = new LookLootCapture({
@@ -39,12 +39,12 @@ const capture = new LookLootCapture({
39
39
  getDeviceToken,
40
40
  uploadBridge: window.looklootOverwolfUploadBridge,
41
41
  upload: { videoBackend: "chunked_hls" },
42
- });
43
- ```
44
-
45
- Developers can choose Overwolf Recorder in either Overwolf runtime. This is the classic Overwolf Native side of the same recorder path used by Overwolf Electron apps through `@lookloot/capture-sdk` with `captureEngine: "overwolf-recorder"`.
46
-
47
- Apps that need user-selected window capture outside Overwolf Recorder support can opt into:
42
+ });
43
+ ```
44
+
45
+ Developers can choose Overwolf Recorder in either Overwolf runtime. This is the classic Overwolf Native side of the same recorder path used by Overwolf Electron apps through `@lookloot/capture-sdk` with `captureEngine: "overwolf-recorder"`.
46
+
47
+ Apps that need user-selected window capture outside Overwolf Recorder support can opt into:
48
48
 
49
49
  ```ts
50
50
  const capture = new LookLootCapture({
@@ -57,38 +57,6 @@ const capture = new LookLootCapture({
57
57
 
58
58
  `browser_display_media` rejects monitor and browser-tab selections so it does not upload desktop capture. It uses playable WebM browser `Blob` chunks and does not require the file upload bridge for video.
59
59
 
60
- ## LookLoot-style native integration
61
-
62
- For apps that want the same integrated path used by LookLoot's Overwolf Native app, use the SDK facade instead of recreating the app glue yourself. It wires the native input adapter, native process game detection, direct game-window stream selection, and chunked upload defaults around `LookLootCapture`.
63
-
64
- ```ts
65
- import {
66
- createLookLootOverwolfNativeIntegration,
67
- } from "@lookloot/capture-sdk-overwolf-native";
68
-
69
- const lookloot = createLookLootOverwolfNativeIntegration({
70
- appId: "your-registered-app-slug",
71
- getDeviceToken,
72
- autoStartOnGame: false,
73
- nativeProcess: {
74
- extraObjectId: "lookloot-process-presence",
75
- gameCatalog: [
76
- {
77
- gameId: "roblox",
78
- displayName: "Roblox",
79
- processNames: ["RobloxPlayerBeta.exe"],
80
- },
81
- ],
82
- },
83
- });
84
-
85
- await lookloot.init();
86
- await lookloot.start(); // detects the running game and requests the game window source
87
- await lookloot.stop();
88
- ```
89
-
90
- The facade also exposes `getLiveInputEvents()`, `getRunningGame()`, `requestGameWindowSource()`, upload recovery, diagnostics, and local verification methods. The lower-level pieces are exported too: `createLookLootOverwolfNativeInputSource()`, `getLookLootOverwolfRunningGame()`, `detectLookLootOverwolfNativeProcessGames()`, `requestLookLootOverwolfGameWindowSource()`, and `resolveLookLootOverwolfNativeProcessPlugin()`.
91
-
92
60
  ## Verify locally before upload
93
61
 
94
62
  Use the native verification helpers from a debug menu or smoke-test command. They do not call `getDeviceToken`, create a LookLoot session, or upload anything.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lookloot/capture-sdk-overwolf-native",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "LookLoot Capture SDK adapter for classic Overwolf Native apps.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",