Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.52
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
edu-lms /
app /
edusewa /
reducers /
[ HOME SHELL ]
Name
Size
Permission
Action
chat.js
629
B
-rw-r--r--
consumers.js
2.58
KB
-rw-r--r--
files.js
1.7
KB
-rw-r--r--
helper.js
156
B
-rw-r--r--
lobbyPeers.js
1.25
KB
-rw-r--r--
me.js
3.14
KB
-rw-r--r--
notifications.js
479
B
-rw-r--r--
peerVolumes.js
729
B
-rw-r--r--
peers.js
3.32
KB
-rw-r--r--
producers.js
1.59
KB
-rw-r--r--
room.js
6.66
KB
-rw-r--r--
rootReducer.js
672
B
-rw-r--r--
settings.js
4.77
KB
-rw-r--r--
toolarea.js
1.67
KB
-rw-r--r--
transports.js
301
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : consumers.js
const initialState = {}; const consumers = (state = initialState, action) => { switch (action.type) { case 'ADD_CONSUMER': { const { consumer } = action.payload; return { ...state, [consumer.id]: consumer }; } case 'REMOVE_CONSUMER': { const { consumerId } = action.payload; const newState = { ...state }; delete newState[consumerId]; return newState; } case 'SET_CONSUMER_PAUSED': { const { consumerId, originator } = action.payload; const consumer = state[consumerId]; let newConsumer; if (originator === 'local') newConsumer = { ...consumer, locallyPaused: true }; else newConsumer = { ...consumer, remotelyPaused: true }; return { ...state, [consumerId]: newConsumer }; } case 'SET_CONSUMER_RESUMED': { const { consumerId, originator } = action.payload; const consumer = state[consumerId]; let newConsumer; if (originator === 'local') newConsumer = { ...consumer, locallyPaused: false }; else newConsumer = { ...consumer, remotelyPaused: false }; return { ...state, [consumerId]: newConsumer }; } case 'SET_CONSUMER_CURRENT_LAYERS': { const { consumerId, spatialLayer, temporalLayer } = action.payload; const consumer = state[consumerId]; const newConsumer = { ...consumer, currentSpatialLayer : spatialLayer, currentTemporalLayer : temporalLayer }; return { ...state, [consumerId]: newConsumer }; } case 'SET_CONSUMER_PREFERRED_LAYERS': { const { consumerId, spatialLayer, temporalLayer } = action.payload; const consumer = state[consumerId]; const newConsumer = { ...consumer, preferredSpatialLayer : spatialLayer, preferredTemporalLayer : temporalLayer }; return { ...state, [consumerId]: newConsumer }; } case 'SET_CONSUMER_PRIORITY': { const { consumerId, priority } = action.payload; const consumer = state[consumerId]; const newConsumer = { ...consumer, priority }; return { ...state, [consumerId]: newConsumer }; } case 'SET_CONSUMER_TRACK': { const { consumerId, track } = action.payload; const consumer = state[consumerId]; const newConsumer = { ...consumer, track }; return { ...state, [consumerId]: newConsumer }; } case 'SET_CONSUMER_SCORE': { const { consumerId, score } = action.payload; const consumer = state[consumerId]; if (!consumer) return state; const newConsumer = { ...consumer, score }; return { ...state, [consumerId]: newConsumer }; } case 'CLEAR_CONSUMERS': { return initialState; } default: return state; } }; export default consumers;
Close