Cleaned up naming. Removed node-random-name to reduce size of final JS with about 50%. Updated README.
This commit is contained in:
1 parent
15335869a2
commit
886d77216a
11 files changed
+24
-35
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
import debug from 'debug';
|
||||
|
||||
const APP_NAME = 'mediasoup-demo';
|
||||
const APP_NAME = 'multiparty-meeting';
|
||||
|
||||
export default class Logger
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import jsCookie from 'js-cookie';
|
||||
|
||||
const USER_COOKIE = 'mediasoup-demo.user';
|
||||
const DEVICES_COOKIE = 'mediasoup-demo.devices';
|
||||
const USER_COOKIE = 'multiparty-meeting.user';
|
||||
const DEVICES_COOKIE = 'multiparty-meeting.devices';
|
||||
|
||||
export function getUser()
|
||||
{
|
||||
|
||||
+1
-2
@@ -11,7 +11,6 @@ import thunk from 'redux-thunk';
|
||||
import { createLogger as createReduxLogger } from 'redux-logger';
|
||||
import { getDeviceInfo } from 'mediasoup-client';
|
||||
import randomString from 'random-string';
|
||||
import randomName from 'node-random-name';
|
||||
import Logger from './Logger';
|
||||
import * as utils from './utils';
|
||||
import * as cookiesManager from './cookiesManager';
|
||||
@@ -108,7 +107,7 @@ function run()
|
||||
}
|
||||
else
|
||||
{
|
||||
displayName = randomName();
|
||||
displayName = 'Guest';
|
||||
displayNameSet = false;
|
||||
}
|
||||
|
||||
|
||||
Generated
-13
@@ -108,11 +108,6 @@
|
||||
"integrity": "sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I=",
|
||||
"dev": true
|
||||
},
|
||||
"alea": {
|
||||
"version": "0.0.9",
|
||||
"resolved": "https://registry.npmjs.org/alea/-/alea-0.0.9.tgz",
|
||||
"integrity": "sha1-9zjLRfg0MAafRc9pzL8xLdV6nho="
|
||||
},
|
||||
"align-text": {
|
||||
"version": "0.1.4",
|
||||
"resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz",
|
||||
@@ -7624,14 +7619,6 @@
|
||||
"is-stream": "1.1.0"
|
||||
}
|
||||
},
|
||||
"node-random-name": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/node-random-name/-/node-random-name-1.0.1.tgz",
|
||||
"integrity": "sha1-niQEx6AeCQWi92Fogh7bLc0U91g=",
|
||||
"requires": {
|
||||
"alea": "0.0.9"
|
||||
}
|
||||
},
|
||||
"normalize-package-data": {
|
||||
"version": "2.4.0",
|
||||
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz",
|
||||
|
||||
+2
-3
@@ -3,8 +3,8 @@
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"description": "multiparty meeting service",
|
||||
"author": "Iñaki Baz Castillo <ibc@aliax.net>",
|
||||
"license": "All Rights Reserved",
|
||||
"author": "Håvar Aambø Fosstveit <h@fosstveit.net>",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.jsx",
|
||||
"dependencies": {
|
||||
"babel-runtime": "^6.26.0",
|
||||
@@ -15,7 +15,6 @@
|
||||
"js-cookie": "^2.2.0",
|
||||
"marked": "^0.3.17",
|
||||
"mediasoup-client": "^2.0.14",
|
||||
"node-random-name": "^1.0.1",
|
||||
"prop-types": "^15.6.0",
|
||||
"protoo-client": "^2.0.7",
|
||||
"random-string": "^0.2.0",
|
||||
|
||||
@@ -1 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1080"><path d="M-170,-177L-25,-197L229,-239Z" fill="#e8f1fa" stroke="#e8f1fa" stroke-width="1.51"/><path d="M607,1329L-62,1342L765,1337Z" fill="#6b80ad" stroke="#6b80ad" stroke-width="1.51"/><path d="M765,1337L-62,1342L907,1344Z" fill="#647eab" stroke="#647eab" stroke-width="1.51"/><path d="M928,-220L1034,-231L1206,-263Z" fill="#accde7" stroke="#accde7" stroke-width="1.51"/><path d="M553,-228L928,-220L1206,-263Z" fill="#b6d5eb" stroke="#b6d5eb" stroke-width="1.51"/><path d="M229,-239L553,-228L1206,-263Z" fill="#c9e1ef" stroke="#c9e1ef" stroke-width="1.51"/><path d="M1174,1311L907,1344L1376,1317Z" fill="#32679f" stroke="#32679f" stroke-width="1.51"/><path d="M1611,-215L1820,-207L1952,-241Z" fill="#8fa3cf" stroke="#8fa3cf" stroke-width="1.51"/><path d="M1469,-257L1611,-215L1952,-241Z" fill="#93aad4" stroke="#93aad4" stroke-width="1.51"/><path d="M1840,1283L1687,1286L1976,1315Z" fill="#0a478c" stroke="#0a478c" stroke-width="1.51"/><path d="M1687,1286L1376,1317L1976,1315Z" fill="#124e92" stroke="#124e92" stroke-width="1.51"/><path d="M1976,1315L1376,1317L2044,1329Z" fill="#0c478b" stroke="#0c478b" stroke-width="1.51"/><path d="M1376,1317L907,1344L2044,1329Z" fill="#1f5897" stroke="#1f5897" stroke-width="1.51"/><path d="M1984,1140L2064,1168L2066,935Z" fill="#0f4d92" stroke="#0f4d92" stroke-width="1.51"/><path d="M1967,978L1984,1140L2066,935Z" fill="#135498" stroke="#135498" stroke-width="1.51"/><path d="M1206,-263L1469,-257L2095,-260Z" fill="#97b1d8" stroke="#97b1d8" stroke-width="1.51"/><path d="M1469,-257L1952,-241L2095,-260Z" fill="#90a1ce" stroke="#90a1ce" stroke-width="1.51"/><path d="M1952,-241L1913,-76L2095,-260Z" fill="#8896c0" stroke="#8896c0" stroke-width="1.51"/><path d="M2095,-260L1913,-76L2125,-18Z" fill="#818fba" stroke="#818fba" stroke-width="1.51"/><path d="M2032,121L2079,211L2125,-18Z" fill="#7386b3" stroke="#7386b3" stroke-width="1.51"/><path d="M2079,211L1893,245L2134,383Z" fill="#6382b1" stroke="#6382b1" stroke-width="1.51"/><path d="M1893,245L1882,406L2134,383Z" fill="#5e83b5" stroke="#5e83b5" stroke-width="1.51"/><path d="M1882,406L2089,522L2134,383Z" fill="#5179ad" stroke="#5179ad" stroke-width="1.51"/><path d="M2125,-18L2079,211L2134,383Z" fill="#6a81ae" stroke="#6a81ae" stroke-width="1.51"/><path d="M1921,702L2049,839L2137,716Z" fill="#2a66a1" stroke="#2a66a1" stroke-width="1.51"/><path d="M1988,590L1921,702L2137,716Z" fill="#346ca6" stroke="#346ca6" stroke-width="1.51"/><path d="M2064,1168L2044,1329L2137,716Z" fill="#0f4b8f" stroke="#0f4b8f" stroke-width="1.51"/><path d="M2089,522L1988,590L2137,716Z" fill="#3a6ca4" stroke="#3a6ca4" stroke-width="1.51"/><path d="M2049,839L2066,935L2137,716Z" fill="#235d9a" stroke="#235d9a" stroke-width="1.51"/><path d="M2134,383L2089,522L2137,716Z" fill="#406ea2" stroke="#406ea2" stroke-width="1.51"/><path d="M2066,935L2064,1168L2137,716Z" fill="#185595" stroke="#185595" stroke-width="1.51"/><path d="M1936,96L2032,121L2125,-18Z" fill="#768ab8" stroke="#768ab8" stroke-width="1.51"/><path d="M1913,-76L1936,96L2125,-18Z" fill="#7c8fbc" stroke="#7c8fbc" stroke-width="1.51"/><path d="M1976,1315L2044,1329L2064,1168Z" fill="#093e80" stroke="#093e80" stroke-width="1.51"/><path d="M1882,406L1988,590L2089,522Z" fill="#4879af" stroke="#4879af" stroke-width="1.51"/><path d="M1984,1140L1976,1315L2064,1168Z" fill="#094489" stroke="#094489" stroke-width="1.51"/><path d="M2032,121L1893,245L2079,211Z" fill="#6d87b7" stroke="#6d87b7" stroke-width="1.51"/><path d="M1921,702L1886,786L2049,839Z" fill="#2969a8" stroke="#2969a8" stroke-width="1.51"/><path d="M2049,839L1967,978L2066,935Z" fill="#1b5a9c" stroke="#1b5a9c" stroke-width="1.51"/><path d="M1936,96L1893,245L2032,121Z" fill="#728cbc" stroke="#728cbc" stroke-width="1.51"/><path d="M1886,786L1967,978L2049,839Z" fill="#2061a3" stroke="#2061a3" stroke-width="1.51"/><path d="M1820,-207L1913,-76L1952,-241Z" fill="#8a9bc8" stroke="#8a9bc8" stroke-width="1.51"/><path d="M1886,786L1839,1024L1967,978Z" fill="#1a61a6" stroke="#1a61a6" stroke-width="1.51"/><path d="M1967,978L1839,1024L1984,1140Z" fill="#11559c" stroke="#11559c" stroke-width="1.51"/><path d="M1839,1024L1799,1140L1984,1140Z" fill="#0d549e" stroke="#0d549e" stroke-width="1.51"/><path d="M1840,1283L1976,1315L1984,1140Z" fill="#09468b" stroke="#09468b" stroke-width="1.51"/><path d="M1799,1140L1840,1283L1984,1140Z" fill="#084d97" stroke="#084d97" stroke-width="1.51"/><path d="M1822,590L1921,702L1988,590Z" fill="#3b75b1" stroke="#3b75b1" stroke-width="1.51"/><path d="M1882,406L1822,590L1988,590Z" fill="#467db6" stroke="#467db6" stroke-width="1.51"/><path d="M1759,835L1839,1024L1886,786Z" fill="#2068ad" stroke="#2068ad" stroke-width="1.51"/><path d="M1429,1293L1376,1317L1687,1286Z" fill="#1b5899" stroke="#1b5899" stroke-width="1.51"/><path d="M1813,145L1893,245L1936,96Z" fill="#7390c3" stroke="#7390c3" stroke-width="1.51"/><path d="M1833,410L1822,590L1882,406Z" fill="#5083bb" stroke="#5083bb" stroke-width="1.51Line truncated
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1080"><path d="M119,-307L413,-312L571,-322Z" fill="#99aed2" stroke="#99aed2" stroke-width="1.51"/><path d="M-124,-310L119,-307L571,-322Z" fill="#9db2d5" stroke="#9db2d5" stroke-width="1.51"/><path d="M874,1384L427,1415L1146,1428Z" fill="#4862a2" stroke="#4862a2" stroke-width="1.51"/><path d="M-124,-310L571,-322L1525,-349Z" fill="#92a7cd" stroke="#92a7cd" stroke-width="1.51"/><path d="M1525,-349L1694,-283L1918,-281Z" fill="#758bbc" stroke="#758bbc" stroke-width="1.51"/><path d="M1953,1343L1790,1403L2140,1278Z" fill="#244a92" stroke="#244a92" stroke-width="1.51"/><path d="M1525,-349L1918,-281L2212,-325Z" fill="#7187ba" stroke="#7187ba" stroke-width="1.51"/><path d="M2034,-83L2194,38L2212,-325Z" fill="#6379b1" stroke="#6379b1" stroke-width="1.51"/><path d="M2147,385L2011,570L2257,626Z" fill="#4862a2" stroke="#4862a2" stroke-width="1.51"/><path d="M2024,894L2157,954L2257,626Z" fill="#3a579b" stroke="#3a579b" stroke-width="1.51"/><path d="M2011,570L2024,894L2257,626Z" fill="#415d9f" stroke="#415d9f" stroke-width="1.51"/><path d="M2194,38L2174,147L2257,626Z" fill="#516aa7" stroke="#516aa7" stroke-width="1.51"/><path d="M2174,147L2147,385L2257,626Z" fill="#4d65a4" stroke="#4d65a4" stroke-width="1.51"/><path d="M2212,-325L2194,38L2257,626Z" fill="#576faa" stroke="#576faa" stroke-width="1.51"/><path d="M2157,954L1960,1097L2275,1068Z" fill="#2f5096" stroke="#2f5096" stroke-width="1.51"/><path d="M1960,1097L2140,1278L2275,1068Z" fill="#2a4d94" stroke="#2a4d94" stroke-width="1.51"/><path d="M2257,626L2157,954L2275,1068Z" fill="#345498" stroke="#345498" stroke-width="1.51"/><path d="M1982,203L2147,385L2174,147Z" fill="#556da9" stroke="#556da9" stroke-width="1.51"/><path d="M1918,-281L2034,-83L2212,-325Z" fill="#697fb5" stroke="#697fb5" stroke-width="1.51"/><path d="M571,-322L1238,-256L1525,-349Z" fill="#859ac6" stroke="#859ac6" stroke-width="1.51"/><path d="M1982,203L2174,147L2194,38Z" fill="#5971ac" stroke="#5971ac" stroke-width="1.51"/><path d="M2034,-83L1982,203L2194,38Z" fill="#5e75ae" stroke="#5e75ae" stroke-width="1.51"/><path d="M1952,468L2011,570L2147,385Z" fill="#4d66a4" stroke="#4d66a4" stroke-width="1.51"/><path d="M2024,894L1960,1097L2157,954Z" fill="#365498" stroke="#365498" stroke-width="1.51"/><path d="M1960,1097L1953,1343L2140,1278Z" fill="#294c93" stroke="#294c93" stroke-width="1.51"/><path d="M1982,203L1952,468L2147,385Z" fill="#536ba8" stroke="#536ba8" stroke-width="1.51"/><path d="M1727,-121L1806,263L1982,203Z" fill="#6178b0" stroke="#6178b0" stroke-width="1.51"/><path d="M1806,263L1952,468L1982,203Z" fill="#576faa" stroke="#576faa" stroke-width="1.51"/><path d="M1706,963L1960,1097L2024,894Z" fill="#3a579b" stroke="#3a579b" stroke-width="1.51"/><path d="M2011,570L1767,613L2024,894Z" fill="#4761a1" stroke="#4761a1" stroke-width="1.51"/><path d="M1767,613L1706,963L2024,894Z" fill="#445ea0" stroke="#445ea0" stroke-width="1.51"/><path d="M1727,-121L1982,203L2034,-83Z" fill="#647bb2" stroke="#647bb2" stroke-width="1.51"/><path d="M1918,-281L1727,-121L2034,-83Z" fill="#6b81b6" stroke="#6b81b6" stroke-width="1.51"/><path d="M1952,468L1767,613L2011,570Z" fill="#4d67a5" stroke="#4d67a5" stroke-width="1.51"/><path d="M1690,1095L1790,1403L1953,1343Z" fill="#2e4f95" stroke="#2e4f95" stroke-width="1.51"/><path d="M1690,1095L1953,1343L1960,1097Z" fill="#325297" stroke="#325297" stroke-width="1.51"/><path d="M1806,263L1723,476L1952,468Z" fill="#566eaa" stroke="#566eaa" stroke-width="1.51"/><path d="M1723,476L1767,613L1952,468Z" fill="#526aa7" stroke="#526aa7" stroke-width="1.51"/><path d="M1706,963L1690,1095L1960,1097Z" fill="#3b589b" stroke="#3b589b" stroke-width="1.51"/><path d="M1694,-283L1727,-121L1918,-281Z" fill="#7086b9" stroke="#7086b9" stroke-width="1.51"/><path d="M-24,1309L-327,1292L427,1415Z" fill="#6177b0" stroke="#6177b0" stroke-width="1.51"/><path d="M1458,-61L1504,231L1727,-121Z" fill="#6d83b7" stroke="#6d83b7" stroke-width="1.51"/><path d="M1578,901L1706,963L1767,613Z" fill="#4862a2" stroke="#4862a2" stroke-width="1.51"/><path d="M1508,1271L1146,1428L1790,1403Z" fill="#355498" stroke="#355498" stroke-width="1.51"/><path d="M1690,1095L1508,1271L1790,1403Z" fill="#345398" stroke="#345398" stroke-width="1.51"/><path d="M1591,412L1723,476L1806,263Z" fill="#5a71ac" stroke="#5a71ac" stroke-width="1.51"/><path d="M1504,231L1591,412L1806,263Z" fill="#6076af" stroke="#6076af" stroke-width="1.51"/><path d="M1727,-121L1504,231L1806,263Z" fill="#657bb3" stroke="#657bb3" stroke-width="1.51"/><path d="M1444,597L1578,901L1767,613Z" fill="#5068a6" stroke="#5068a6" stroke-width="1.51"/><path d="M1723,476L1444,597L1767,613Z" fill="#546ca9" stroke="#546ca9" stroke-width="1.51"/><path d="M1591,412L1444,597L1723,476Z" fill="#5970ab" stroke="#5970ab" stroke-width="1.51"/><path d="M1694,-283L1458,-61L1727,-121Z" fill="#7287ba" stroke="#7287ba" stroke-width="1.51"/><path d="M1525,-349L1458,-61L1694,-283Z" fill="#778cbd" stroke="#778cbd" stroke-width="1.51"/><paLine truncated
|
||||
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 16 KiB |
Reference in new issue
Block a user