decord/alpha/source/actions/RTCLatencyTestActionCreators.tsx
github-actions c6aa9eb120 chore: update source for alpha 349.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5030.js (118.4 MB)
2026-10-01 06:55:13 +00:00

21 lines
958 B
TypeScript

// Module ID: 17504
// Function ID: 17505
// Name: RTCLatencyTestActionCreators
// Dependencies: [1271, 573, 2]
// Exports: completeRTCLatencyTest, fetchRTCLatencyTestRegions
// Module 17504 (RTCLatencyTestActionCreators)
import DispatcherDefault from "Dispatcher" /* 573 */;
import HTTPUtils from "HTTPUtils" /* 1271 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("actions/RTCLatencyTestActionCreators.tsx");
export const fetchRTCLatencyTestRegions = function fetchRTCLatencyTestRegions(arg0) {
const HTTP = HTTPUtils.HTTP;
const obj = { url: "https:" + window.GLOBAL_ENV.RTC_LATENCY_ENDPOINT + "?v=" + arg0, rejectWithError: HTTPUtils.rejectWithMigratedError() };
return HTTP.get(obj);
};
export const completeRTCLatencyTest = function completeRTCLatencyTest(latencyRankedRegions, mapped) {
DispatcherDefault.dispatch({ type: "RTC_LATENCY_TEST_COMPLETE", latencyRankedRegions, geoRankedRegions: mapped });
};