From 3675aa98e6f55336d011ad117b86482414bbc602 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Wed, 7 Mar 2018 19:06:52 +0100 Subject: [PATCH] A lot of updates :) --- .idea/Web-Client.iml | 2 + .idea/dictionaries/wolverindev.xml | 7 + .idea/inspectionProfiles/Project_Default.xml | 34 + .idea/jsLibraryMappings.xml | 1 + .idea/workspace.xml | 751 +- asm/generated/TeaWeb-Native.js | 196275 ++++++++-------- asm/generated/libopus.js | 15 +- asm/src/WebASMTest.cpp | 11 +- css/general.css | 12 +- css/ts/icons.css | 6 +- css/ts/tab.css | 5 +- index.html | 61 +- js/FileManager.js | 2 +- js/FileManager.js.map | 2 +- js/FileManager.ts | 2 +- js/InfoBar.js | 6 +- js/InfoBar.js.map | 2 +- js/InfoBar.ts | 4 +- js/client.js | 78 +- js/client.js.map | 2 +- js/client.ts | 93 +- js/codec/Codec.js | 162 +- js/codec/Codec.js.map | 2 +- js/codec/Codec.ts | 172 +- js/connection.js | 74 +- js/connection.js.map | 2 +- js/connection.ts | 78 +- js/contextMenu.js | 5 +- js/contextMenu.js.map | 2 +- js/contextMenu.ts | 5 +- js/main.js | 122 +- js/main.js.map | 2 +- js/main.ts | 135 +- js/settings.js | 22 +- js/settings.js.map | 2 +- js/settings.ts | 25 +- js/ui/ControlBar.js | 18 + js/ui/ControlBar.js.map | 2 +- js/ui/ControlBar.ts | 23 +- js/ui/channel.js | 5 +- js/ui/channel.js.map | 2 +- js/ui/channel.ts | 5 +- js/ui/client.js | 1 + js/ui/client.js.map | 2 +- js/ui/client.ts | 2 + js/ui/modal/ModalConnect.ts | 88 + js/ui/modal/ModalCreateChannel.ts | 40 + js/ui/modal/ModalSettings.ts | 86 + js/ui/server.js | 2 +- js/ui/server.js.map | 2 +- js/ui/server.ts | 2 +- js/ui/view.js | 30 +- js/ui/view.js.map | 2 +- js/ui/view.ts | 33 +- js/utils/modal.js | 3 + js/utils/modal.js.map | 2 +- js/utils/modal.ts | 3 + js/utils/tab.js | 15 +- js/utils/tab.js.map | 2 +- js/utils/tab.ts | 15 +- js/voice.js | 269 - js/voice.js.map | 1 - js/voice.ts | 335 - js/voice/AudioController.ts | 96 + js/voice/AudioResampler.ts | 22 + js/voice/VoiceHandler.js | 141 + js/voice/VoiceHandler.js.map | 1 + js/voice/VoiceHandler.ts | 160 + js/voice/VoiceRecorder.ts | 189 + vendor/aurora/aurora.js | 4 +- vendor/bootstrap/js/bootstrap.bundle.js | 6 +- vendor/opus/opus_to_pcm.js | 4 +- 72 files changed, 100327 insertions(+), 99467 deletions(-) create mode 100644 .idea/dictionaries/wolverindev.xml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 js/ui/modal/ModalConnect.ts create mode 100644 js/ui/modal/ModalCreateChannel.ts create mode 100644 js/ui/modal/ModalSettings.ts delete mode 100644 js/voice.js delete mode 100644 js/voice.js.map delete mode 100644 js/voice.ts create mode 100644 js/voice/AudioController.ts create mode 100644 js/voice/AudioResampler.ts create mode 100644 js/voice/VoiceHandler.js create mode 100644 js/voice/VoiceHandler.js.map create mode 100644 js/voice/VoiceHandler.ts create mode 100644 js/voice/VoiceRecorder.ts diff --git a/.idea/Web-Client.iml b/.idea/Web-Client.iml index c956989b..a707f2cd 100644 --- a/.idea/Web-Client.iml +++ b/.idea/Web-Client.iml @@ -4,5 +4,7 @@ + + \ No newline at end of file diff --git a/.idea/dictionaries/wolverindev.xml b/.idea/dictionaries/wolverindev.xml new file mode 100644 index 00000000..2298c1ba --- /dev/null +++ b/.idea/dictionaries/wolverindev.xml @@ -0,0 +1,7 @@ + + + + resampler + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 00000000..a7c7a041 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,34 @@ + + + + \ No newline at end of file diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml index 2b2f10ae..ce61e281 100644 --- a/.idea/jsLibraryMappings.xml +++ b/.idea/jsLibraryMappings.xml @@ -1,6 +1,7 @@ + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index b6788b13..19860912 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,7 +1,78 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + @@ -36,8 +127,8 @@ - - + + @@ -45,83 +136,86 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + createBuffer + console.log + on_encoded_data + handleVoiceData + vad_ppt_key + vat_ppt_key + start + channelTree + channel + update + on_connected on_data @@ -132,8 +226,36 @@ @@ -150,10 +272,10 @@ - @@ -177,6 +299,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -200,12 +355,25 @@ + + + + + + + + + + + + +