decord/alpha/source/actions/RTCLatencyTestActionCreators.tsx

27 lines
1 KiB
TypeScript
Raw Permalink Normal View History

2026-10-13 12:43:34 +00:00
// Module ID: 18241
// Function ID: 18242
// Name: RTCLatencyTestActionCreators
2026-10-09 10:00:15 +00:00
// Dependencies: [1295, 584, 2]
2026-07-20 16:05:17 +00:00
// Exports: completeRTCLatencyTest, fetchRTCLatencyTestRegions
2026-10-13 12:43:34 +00:00
// Module 18241 (RTCLatencyTestActionCreators)
2026-10-03 08:58:59 +00:00
import DispatcherDefault from "Dispatcher" /* 584 */;
2026-10-09 10:00:15 +00:00
import HTTPUtils from "HTTPUtils" /* 1295 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
const result = size.fileFinishedImporting("actions/RTCLatencyTestActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const fetchRTCLatencyTestRegions = function fetchRTCLatencyTestRegions(arg0) {
2026-10-03 08:58:59 +00:00
let obj2;
const HTTP = HTTPUtils.HTTP;
2026-10-03 08:58:59 +00:00
const get = HTTP.get;
const obj = { url: "https:" + window.GLOBAL_ENV.RTC_LATENCY_ENDPOINT + "?v=" + arg0, rejectWithError: obj2.rejectWithMigratedError() };
obj2 = HTTPUtils;
return get(obj);
2026-07-20 16:05:17 +00:00
};
export const completeRTCLatencyTest = function completeRTCLatencyTest(latencyRankedRegions, mapped) {
2026-10-03 08:58:59 +00:00
const obj = DispatcherDefault;
const obj2 = { type: "RTC_LATENCY_TEST_COMPLETE", latencyRankedRegions, geoRankedRegions: mapped };
obj.dispatch(obj2);
2026-07-20 16:05:17 +00:00
};