Created
October 23, 2017 08:23
-
-
Save Scrxtchy/f88a52039a7b97c56f641e0fee36ab2b to your computer and use it in GitHub Desktop.
Geforce API note
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function(e, t) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}); | |
var i = angular.module("main.localSdk.shadowPlaySdk", ["nvAngularHttpEndpoint", "main.common"]); | |
i.provider("shadowPlayEndpoints", [function() { | |
var e, t = "v.1.1"; | |
return { | |
setConfig: function(t) { | |
e = t.version | |
}, | |
$get: ["NvEndpointFactory", "localSdk", function(i, o) { | |
var n, r, a, l, s, d, c, u, m, f, g, x, b, p, h, v, w, y, k, S, E, C, T, _, O, A, I, R, M, P, N, D, z, L, F, U, G, B, H, V, $, Y, j, W, K, q, X, Z, Q, J, ee, te, ie, oe, ne, re, ae, le, se, de, ce, ue, me, fe, ge, xe, be, pe, he, ve, we, ye, ke, Se, Ee, Ce, Te, _e, Oe, Ae, Ie, Re, Me, Pe, Ne, De, ze, Le, Fe, Ue, Ge, Be, He, Ve, $e, Ye, je, We, Ke, qe, Xe, Ze, Qe, Je, et, tt, it, ot, nt, rt, at = o.newLocalEndpointFactory("ShadowPlay", e), | |
lt = o.newLocalEndpointFactory("ShadowPlay", t); | |
return n = at.createEndpoint({ | |
url: "", | |
method: "GET" | |
}), r = at.createEndpoint({ | |
url: "/Launch", | |
method: "POST", | |
data: { | |
launch: "" | |
} | |
}), a = at.createEndpoint({ | |
url: "/Launch", | |
method: "GET" | |
}), l = at.createEndpoint({ | |
url: "/Mode", | |
method: "GET" | |
}), s = at.createEndpoint({ | |
url: "/Mode", | |
method: "POST", | |
data: { | |
spgcSwitch: "", | |
recMode: "" | |
} | |
}), d = at.createEndpoint({ | |
url: "/InstantReplay/Enable", | |
method: "GET" | |
}), c = at.createEndpoint({ | |
url: "/InstantReplay/Running", | |
method: "GET" | |
}), u = at.createEndpoint({ | |
url: "/InstantReplay/Enable", | |
method: "POST", | |
data: { | |
status: "" | |
} | |
}), m = at.createEndpoint({ | |
url: "/InstantReplay/Save", | |
method: "POST" | |
}), f = at.createEndpoint({ | |
url: "/InstantReplay/Upload", | |
method: "POST" | |
}), g = at.createEndpoint({ | |
url: "/InstantReplay/BufferLength", | |
method: "GET" | |
}), b = at.createEndpoint({ | |
url: "/InstantReplay/Settings", | |
method: "GET" | |
}), x = at.createEndpoint({ | |
url: "/InstantReplay/Settings", | |
method: "POST", | |
data: { | |
replayLengthSeconds: "", | |
quality: "" | |
} | |
}), p = at.createEndpoint({ | |
url: "/InstantReplay/Settings", | |
method: "POST", | |
data: { | |
replayLengthSeconds: "", | |
quality: "", | |
resolution: "", | |
framerate: "", | |
bitrateBps: "" | |
} | |
}), h = at.createEndpoint({ | |
url: "/Record/Enable", | |
method: "GET" | |
}), v = at.createEndpoint({ | |
url: "/Record/Running", | |
method: "GET" | |
}), w = at.createEndpoint({ | |
url: "/Record/Enable", | |
method: "POST", | |
data: { | |
status: "" | |
} | |
}), y = at.createEndpoint({ | |
url: "/Record/Settings", | |
method: "GET" | |
}), k = at.createEndpoint({ | |
url: "/Record/Settings", | |
method: "POST", | |
data: { | |
quality: "" | |
} | |
}), S = at.createEndpoint({ | |
url: "/Record/Settings", | |
method: "POST", | |
data: { | |
quality: "", | |
resolution: "", | |
framerate: "", | |
bitrateBps: "" | |
} | |
}), E = at.createEndpoint({ | |
url: "/Record/Concurrency/Broadcast", | |
method: "GET" | |
}), C = at.createEndpoint({ | |
url: "/Record/Concurrency/Gamestream", | |
method: "GET" | |
}), T = at.createEndpoint({ | |
url: "/Resolutions", | |
method: "GET" | |
}), _ = at.createEndpoint({ | |
url: "/FrameRates", | |
method: "GET" | |
}), O = at.createEndpoint({ | |
url: "/Resolutions/:quality", | |
method: "GET", | |
params: { | |
quality: "" | |
} | |
}), A = at.createEndpoint({ | |
url: "/Framerates/:quality", | |
method: "GET", | |
params: { | |
quality: "" | |
} | |
}), I = at.createEndpoint({ | |
url: "/BitRates/:quality/:resolution", | |
method: "GET", | |
params: { | |
quality: "", | |
resolution: "" | |
} | |
}), R = at.createEndpoint({ | |
url: "/Broadcast/Support", | |
method: "GET" | |
}), M = at.createEndpoint({ | |
url: "/Broadcast/Enable", | |
method: "GET" | |
}), P = at.createEndpoint({ | |
url: "/Broadcast/Enable", | |
method: "POST", | |
data: { | |
status: "" | |
} | |
}), N = at.createEndpoint({ | |
url: "/Broadcast/Pause", | |
method: "POST", | |
data: { | |
pause: "" | |
} | |
}), D = at.createEndpoint({ | |
url: "/Broadcast/SessionParam", | |
method: "POST", | |
data: { | |
sessionUrl: "", | |
provider: "" | |
} | |
}), z = lt.createEndpoint({ | |
url: "/Broadcast/SessionParam/:type", | |
method: "POST", | |
params: { | |
type: "" | |
}, | |
data: { | |
sessionUrl: "", | |
provider: "", | |
port: "" | |
} | |
}), L = at.createEndpoint({ | |
url: "/Broadcast/Settings", | |
method: "GET" | |
}), F = at.createEndpoint({ | |
url: "/Broadcast/Settings", | |
method: "POST", | |
data: { | |
quality: "", | |
provider: "" | |
} | |
}), U = at.createEndpoint({ | |
url: "/Broadcast/Settings", | |
method: "POST", | |
data: { | |
provider: "", | |
quality: "", | |
resolution: "", | |
framerate: "", | |
bitrateBps: "" | |
} | |
}), G = at.createEndpoint({ | |
url: "/Broadcast/Title", | |
method: "GET" | |
}), B = at.createEndpoint({ | |
url: "/Broadcast/Provider", | |
method: "GET" | |
}), H = at.createEndpoint({ | |
url: "/Broadcast/Provider", | |
method: "POST", | |
data: { | |
provider: "" | |
} | |
}), V = at.createEndpoint({ | |
url: "/Broadcast/IngestServer", | |
method: "GET" | |
}), $ = at.createEndpoint({ | |
url: "/Broadcast/IngestServer", | |
method: "POST", | |
data: { | |
ingestserver: "" | |
} | |
}), Y = at.createEndpoint({ | |
url: "/Broadcast/Viewers/Max", | |
method: "POST", | |
data: { | |
count: "" | |
} | |
}), j = at.createEndpoint({ | |
url: "/Broadcast/Running", | |
method: "GET" | |
}), W = at.createEndpoint({ | |
url: "/CustomOverlay/Support", | |
method: "GET" | |
}), K = at.createEndpoint({ | |
url: "/CustomOverlay/Enable", | |
method: "GET" | |
}), q = at.createEndpoint({ | |
url: "/CustomOverlay/Enable", | |
method: "POST", | |
data: { | |
enable: "" | |
} | |
}), X = at.createEndpoint({ | |
url: "/CustomOverlay/Path", | |
method: "GET" | |
}), Z = at.createEndpoint({ | |
url: "/CustomOverlay/Path", | |
method: "POST", | |
data: { | |
path: "" | |
} | |
}), J = lt.createEndpoint({ | |
url: "/CustomOverlay/Enable/:index", | |
method: "GET", | |
params: { | |
index: "" | |
} | |
}), ee = lt.createEndpoint({ | |
url: "/CustomOverlay/Enable/:index", | |
method: "POST", | |
params: { | |
index: "" | |
}, | |
data: { | |
enable: "" | |
} | |
}), te = lt.createEndpoint({ | |
url: "/CustomOverlay/Path/:index", | |
method: "GET", | |
params: { | |
index: "" | |
} | |
}), ie = lt.createEndpoint({ | |
url: "/CustomOverlay/Path/:index", | |
method: "POST", | |
params: { | |
index: "" | |
}, | |
data: { | |
path: "" | |
} | |
}), Q = at.createEndpoint({ | |
url: "/CustomOverlay/DefaultPath", | |
method: "GET" | |
}), oe = at.createEndpoint({ | |
url: "/CustomOverlay/Display", | |
method: "GET" | |
}), ne = at.createEndpoint({ | |
url: "/Broadcast/Viewers", | |
method: "POST", | |
data: { | |
ViewerCountImage: "", | |
ImageHeight: "", | |
ImageWidth: "" | |
} | |
}), ae = at.createEndpoint({ | |
url: "/Broadcast/2KSupport", | |
method: "GET" | |
}), le = at.createEndpoint({ | |
url: "/Broadcast/2KEnable", | |
method: "GET" | |
}), se = at.createEndpoint({ | |
url: "/Microphone/Present", | |
method: "GET" | |
}), de = at.createEndpoint({ | |
url: "/Microphone", | |
method: "GET" | |
}), ce = at.createEndpoint({ | |
url: "/Microphone", | |
method: "POST", | |
data: { | |
mode: "" | |
} | |
}), ue = at.createEndpoint({ | |
url: "/Microphone/PTT", | |
method: "POST", | |
data: { | |
mode: "" | |
} | |
}), me = at.createEndpoint({ | |
url: "/Microphone/Settings", | |
method: "GET" | |
}), fe = at.createEndpoint({ | |
url: "/Microphone/:index/Settings", | |
method: "GET", | |
params: { | |
index: "" | |
} | |
}), ge = at.createEndpoint({ | |
url: "/Microphone/:index/Settings", | |
method: "POST", | |
params: { | |
index: "" | |
}, | |
data: { | |
muted: "", | |
volumePercent: "", | |
boostPercent: "" | |
} | |
}), xe = at.createEndpoint({ | |
url: "/Audio", | |
method: "GET" | |
}), be = at.createEndpoint({ | |
url: "/Audio", | |
method: "POST", | |
data: { | |
mode: "" | |
} | |
}), pe = at.createEndpoint({ | |
url: "/AudioSettings", | |
method: "GET" | |
}), he = at.createEndpoint({ | |
url: "/AudioSettings", | |
method: "POST", | |
data: { | |
systemVolumePercent: "", | |
separateTracks: "" | |
} | |
}), ve = at.createEndpoint({ | |
url: "/Webcam/Present", | |
method: "GET" | |
}), we = at.createEndpoint({ | |
url: "/Webcam/Enable", | |
method: "GET" | |
}), ye = at.createEndpoint({ | |
url: "/Webcam/Enable", | |
method: "POST", | |
data: { | |
status: "" | |
} | |
}), ke = at.createEndpoint({ | |
url: "/Webcam/Toggle", | |
method: "POST" | |
}), Se = at.createEndpoint({ | |
url: "/Webcam/Shown", | |
method: "GET" | |
}), Ee = at.createEndpoint({ | |
url: "/DesktopCapture/Enable", | |
method: "GET" | |
}), Ce = at.createEndpoint({ | |
url: "/DesktopCapture/Enable", | |
method: "POST", | |
data: { | |
enable: "" | |
} | |
}), Te = at.createEndpoint({ | |
url: "/DesktopCapture/Support", | |
method: "GET" | |
}), _e = at.createEndpoint({ | |
url: "/DesktopCapture/Support/Reason", | |
method: "GET" | |
}), Oe = at.createEndpoint({ | |
url: "/CoPlay/Enable", | |
method: "GET" | |
}), Ae = at.createEndpoint({ | |
url: "/CoPlay/Enable", | |
method: "POST", | |
data: { | |
enable: "" | |
} | |
}), Ie = at.createEndpoint({ | |
url: "/CoPlay/Support", | |
method: "GET" | |
}), Re = at.createEndpoint({ | |
url: "/Capture/State", | |
method: "GET" | |
}), Me = at.createEndpoint({ | |
url: "/Capture/PIDMode", | |
method: "GET" | |
}), Pe = at.createEndpoint({ | |
url: "/Capture/ProcessInfo", | |
method: "GET" | |
}), Ne = at.createEndpoint({ | |
url: "/Webcam/Settings", | |
method: "GET" | |
}), De = at.createEndpoint({ | |
url: "/Webcam/Settings", | |
method: "POST", | |
data: { | |
enable: "", | |
position: "", | |
size: "" | |
} | |
}), ze = at.createEndpoint({ | |
url: "/Indicator/:id/Support", | |
method: "GET", | |
params: { | |
id: "" | |
} | |
}), Le = at.createEndpoint({ | |
url: "/Indicator/:id/Settings", | |
method: "GET", | |
params: { | |
id: "" | |
} | |
}), Fe = at.createEndpoint({ | |
url: "/Indicator/:id/Settings", | |
method: "POST", | |
params: { | |
id: "" | |
}, | |
data: { | |
enable: "", | |
position: "" | |
} | |
}), Ue = at.createEndpoint({ | |
url: "/RecordPaths", | |
method: "GET" | |
}), Ge = at.createEndpoint({ | |
url: "/RecordPaths", | |
method: "POST", | |
data: { | |
videos: "", | |
tempFiles: "" | |
} | |
}), Be = at.createEndpoint({ | |
url: "/Hotkey/:hk", | |
method: "GET", | |
params: { | |
hk: "" | |
} | |
}), He = at.createEndpoint({ | |
url: "/Hotkey/:hk", | |
method: "POST", | |
params: { | |
hk: "" | |
}, | |
data: { | |
keys: "" | |
} | |
}), Ve = at.createEndpoint({ | |
url: "/Hotkey/Monitor", | |
method: "GET" | |
}), $e = at.createEndpoint({ | |
url: "/Hotkey/Monitor", | |
method: "POST", | |
data: { | |
enable: "" | |
} | |
}), je = at.createEndpoint({ | |
url: "/Screenshot/Support", | |
method: "GET" | |
}), We = at.createEndpoint({ | |
url: "/Screenshot/Capture", | |
method: "POST" | |
}), Ye = at.createEndpoint({ | |
url: "/Osc", | |
method: "POST", | |
data: { | |
ready: "" | |
} | |
}), Ke = at.createEndpoint({ | |
url: "/Video/Trim", | |
method: "POST", | |
data: { | |
input: "", | |
output: "", | |
headTrimMs: "", | |
lengthMs: "" | |
} | |
}), qe = at.createEndpoint({ | |
url: "/Input", | |
method: "POST", | |
data: { | |
redirect: "", | |
type: "", | |
hid: "" | |
} | |
}), Qe = at.createEndpoint({ | |
url: "/OSC/Init", | |
method: "GET" | |
}), Ze = at.createEndpoint({ | |
url: "/OSC/MainView", | |
method: "POST", | |
data: { | |
fetchPartial: "" | |
} | |
}), Xe = at.createEndpoint({ | |
url: "/Hotkey/DynamicToggle", | |
method: "POST", | |
data: { | |
enable: "", | |
hotkeyNames: "" | |
} | |
}), it = at.createEndpoint({ | |
url: "/Highlights", | |
method: "GET" | |
}), ot = at.createEndpoint({ | |
url: "/Highlights", | |
method: "POST", | |
data: { | |
enabled: "" | |
} | |
}), Je = at.createEndpoint({ | |
url: "/Highlights/Customize", | |
method: "GET" | |
}), et = at.createEndpoint({ | |
url: "/Highlights/Customize", | |
method: "POST", | |
data: { | |
sizeMB: "" | |
} | |
}), tt = at.createEndpoint({ | |
url: "/Highlights/Customize", | |
method: "POST", | |
data: { | |
tempSaveFolder: "" | |
} | |
}), nt = at.createEndpoint({ | |
url: "/Highlights/GalleryImport", | |
method: "POST", | |
data: { | |
file: "", | |
moveFile: "", | |
gameName: "", | |
groupId: "", | |
id: "", | |
headTrimMs: "", | |
lengthMs: "" | |
} | |
}), rt = at.createEndpoint({ | |
url: "/Highlights/Session", | |
method: "GET" | |
}), { | |
getFullShadowPlayUrl: at.generateFullUrl, | |
get: n, | |
launch: r, | |
isRunning: a, | |
getRecordingMode: l, | |
setRecordingMode: s, | |
getIREnableStatus: d, | |
getIRRunningStatus: c, | |
setInstantReplayRecording: u, | |
saveInstantReplay: m, | |
uploadInstantReplay: f, | |
getInstantReplayBufferLength: g, | |
getInstantReplaySettings: b, | |
setInstantReplayPresetSettings: x, | |
setInstantReplaySettings: p, | |
getMREnableStatus: h, | |
getMRRunningStatus: v, | |
setManualRecording: w, | |
getManualRecordSettings: y, | |
setManualRecordPresetSettings: k, | |
setManualRecordSettings: S, | |
getRecordBroadcastConcurrencySupport: E, | |
getRecordGamestreamConcurrencySupport: C, | |
getSupportedResolutions: T, | |
getSupportedFramerates: _, | |
getDefaultResolution: O, | |
getDefaultFramerate: A, | |
getBitrateRange: I, | |
getBroadcastSupportedStatus: R, | |
getBroadcastSessionStatus: M, | |
setBroadcastSessionStatus: P, | |
pauseBroadcastSession: N, | |
setBroadcastSessionParam: D, | |
setBroadcastSessionParamV1: z, | |
getBroadcastSettings: L, | |
setBroadcastPresetSettings: F, | |
setBroadcastSettings: U, | |
getBroadcastTitle: G, | |
getBroadcastProvider: B, | |
setBroadcastProvider: H, | |
getBroadcastIngestServer: V, | |
setBroadcastIngestServer: $, | |
setBroadcastViewerCountMax: Y, | |
getBroadcastRunningStatus: j, | |
getCustomOverlaySupportType: W, | |
getCustomOverlayEnabled: K, | |
setCustomOverlayEnabled: q, | |
getCustomOverlayPath: X, | |
setCustomOverlayPath: Z, | |
getCustomOverlayEnabledV1: J, | |
setCustomOverlayEnabledV1: ee, | |
getCustomOverlayPathV1: te, | |
setCustomOverlayPathV1: ie, | |
getCustomOverlayDisplayState: oe, | |
getCustomOverlayDefaultPath: Q, | |
updateBroadcastViewerCountImage: ne, | |
setBroadcastMaxViewerCount: re, | |
getBroadcast2KSupported: ae, | |
getBroadcast2KEnabled: le, | |
getMicrophoneCount: se, | |
getMicrophoneMode: de, | |
setMicrophoneMode: ce, | |
setMicrophoneOnOff: ue, | |
getMicrophoneSelectedSettings: me, | |
getMicrophoneSettings: fe, | |
setMicrophoneSettings: ge, | |
getAudioMode: xe, | |
setAudioMode: be, | |
getAudioSettings: pe, | |
setAudioSettings: he, | |
getWebcamPresent: ve, | |
getWebcamMode: we, | |
setWebcamMode: ye, | |
toggleWebcamDisplay: ke, | |
getWebcamShown: Se, | |
getDesktopCaptureEnabled: Ee, | |
setDesktopCaptureEnabled: Ce, | |
getDesktopCaptureSupported: Te, | |
getDesktopCaptureSupportReason: _e, | |
getCoplayEnabled: Oe, | |
setCoplayEnabled: Ae, | |
getCoplaySupported: Ie, | |
getCaptureState: Re, | |
getCaptureControlPIDMode: Me, | |
getCaptureProcessInfo: Pe, | |
getWebcamOverlaySettings: Ne, | |
setWebcamOverlaySettings: De, | |
getIndicatorOverlaySupported: ze, | |
getIndicatorOverlaySettings: Le, | |
setIndicatorOverlaySettings: Fe, | |
getRecordingPaths: Ue, | |
setRecordingPaths: Ge, | |
getHotkeyShortcut: Be, | |
setHotkeyShortcut: He, | |
getHotkeyMonitoringEnabled: Ve, | |
setHotkeyMonitoringEnabled: $e, | |
getScreenshotSupported: je, | |
captureScreenshot: We, | |
setOscReady: Ye, | |
videoTrim: Ke, | |
getMainViewData: Ze, | |
getInitData: Qe, | |
setInputRedirection: qe, | |
dynamicHotkeyToggle: Xe, | |
getCustomize: Je, | |
setCustomizeSize: et, | |
setCustomizePath: tt, | |
getHighlightsEnabled: it, | |
setHighlightsEnabled: ot, | |
importHighlightToGallery: nt, | |
getHighlightsActive: rt | |
} | |
}] | |
} | |
}]), t.ngShadowplaySdkModule = i | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment