Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,35 @@
|
||||
/* Metro module 12411; source: modules/media_engine/trackVideoToggle.tsx; dependencies: [661, 12407, 683, 2] */
|
||||
function _fun94696(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#94696, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12597:6, offset: 0x0212402d, size: 137 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_5 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/media_engine/trackVideoToggle.tsx');
|
||||
exports.default = trackVideoToggle;
|
||||
exports.setVideoToggleAnalyticsParams = function(a0, a1) {
|
||||
env0_3 = a0;
|
||||
env0_4 = a1;
|
||||
};
|
||||
}
|
||||
|
||||
function trackVideoToggle(a0, a1, a2) { // fn#94697, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12597:210, offset: 0x021240b6, size: 252 bytes, params: 4, frame: 23
|
||||
const value2 = undefined;
|
||||
const VideoHealthManager = (require(12407) /* metro dependency 12407: VideoHealthManager */).VideoHealthManager;
|
||||
const {featureEnabled, windowLength, allowedPoorFpsRatio, fpsThreshold,
|
||||
backoffTimeSec} = VideoHealthManager.defaultConfig;
|
||||
const defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
|
||||
const track = defaultImport.track;
|
||||
const VIDEO_TOGGLED = AnalyticEvents.VIDEO_TOGGLED;
|
||||
const object2 = {video_toggle_reason: a1, toggled_user_id: a0};
|
||||
const value3 = null;
|
||||
object2.rtc_connection_id = value3 == env0_3 ? value2 : env0_3();
|
||||
object2.media_session_id = value3 == env0_4 ? value2 : env0_4();
|
||||
object2.video_health_manager_window_length = featureEnabled ? windowLength : value3;
|
||||
object2.video_health_manager_poor_fps_ratio = featureEnabled ? allowedPoorFpsRatio : value3;
|
||||
object2.video_health_manager_fps_threshold = featureEnabled ? fpsThreshold : value3;
|
||||
object2.is_video_shown = a2;
|
||||
object2.video_health_manager_backoff_time_seconds = featureEnabled ? backoffTimeSec : value3;
|
||||
Reflect.apply(track, defaultImport, [VIDEO_TOGGLED, object2]);
|
||||
return value2;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user