com.adrenak.univoice 4.10.4 → 4.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/LICENSE.meta +7 -7
- package/README.md +3 -2
- package/README.md.meta +7 -7
- package/Runtime/Adrenak.UniVoice.Runtime.asmdef +20 -20
- package/Runtime/Adrenak.UniVoice.Runtime.asmdef.meta +7 -7
- package/Runtime/ClientSession.cs +296 -296
- package/Runtime/ClientSession.cs.meta +11 -11
- package/Runtime/Common/SimpleVad.cs +379 -379
- package/Runtime/Common/SimpleVad.cs.meta +11 -11
- package/Runtime/Common/Utils.cs +55 -55
- package/Runtime/Common/Utils.cs.meta +11 -11
- package/Runtime/Common/WavFileWriter.cs +124 -124
- package/Runtime/Common/WavFileWriter.cs.meta +11 -11
- package/Runtime/Common.meta +8 -8
- package/Runtime/Impl/Filters/Concentus Opus Filters/ConcentusDecodeFilter.cs +79 -79
- package/Runtime/Impl/Filters/Concentus Opus Filters/ConcentusDecodeFilter.cs.meta +11 -11
- package/Runtime/Impl/Filters/Concentus Opus Filters/ConcentusEncodeFilter.cs +155 -155
- package/Runtime/Impl/Filters/Concentus Opus Filters/ConcentusEncodeFilter.cs.meta +11 -11
- package/Runtime/Impl/Filters/Concentus Opus Filters/ConcentusFrequencies.cs +30 -30
- package/Runtime/Impl/Filters/Concentus Opus Filters/ConcentusFrequencies.cs.meta +11 -11
- package/Runtime/Impl/Filters/Concentus Opus Filters.meta +8 -8
- package/Runtime/Impl/Filters/GaussianAudioBlur.cs +90 -90
- package/Runtime/Impl/Filters/GaussianAudioBlur.cs.meta +11 -11
- package/Runtime/Impl/Filters/RNNoise/RNNoiseFilter.cs +27 -27
- package/Runtime/Impl/Filters/RNNoise/RNNoiseFilter.cs.meta +11 -11
- package/Runtime/Impl/Filters/RNNoise.meta +8 -8
- package/Runtime/Impl/Filters/SimpleVadFilter.cs +17 -17
- package/Runtime/Impl/Filters/SimpleVadFilter.cs.meta +11 -11
- package/Runtime/Impl/Filters.meta +8 -8
- package/Runtime/Impl/Inputs/EmptyAudioInput.cs +23 -23
- package/Runtime/Impl/Inputs/EmptyAudioInput.cs.meta +11 -11
- package/Runtime/Impl/Inputs/UniMicInput.cs +49 -49
- package/Runtime/Impl/Inputs/UniMicInput.cs.meta +11 -11
- package/Runtime/Impl/Inputs.meta +8 -8
- package/Runtime/Impl/Networks/FakeNetwork.cs +6 -6
- package/Runtime/Impl/Networks/FakeNetwork.cs.meta +11 -11
- package/Runtime/Impl/Networks/FishNet/FishNetBroadcast.cs +22 -22
- package/Runtime/Impl/Networks/FishNet/FishNetBroadcast.cs.meta +1 -1
- package/Runtime/Impl/Networks/FishNet/FishNetBroadcastTags.cs +15 -15
- package/Runtime/Impl/Networks/FishNet/FishNetBroadcastTags.cs.meta +1 -1
- package/Runtime/Impl/Networks/FishNet/FishNetClient.cs +205 -203
- package/Runtime/Impl/Networks/FishNet/FishNetClient.cs.meta +1 -1
- package/Runtime/Impl/Networks/FishNet/FishNetServer.cs +236 -243
- package/Runtime/Impl/Networks/FishNet/FishNetServer.cs.meta +1 -1
- package/Runtime/Impl/Networks/FishNet.meta +2 -2
- package/Runtime/Impl/Networks/Mirror/MirrorClient.cs +192 -190
- package/Runtime/Impl/Networks/Mirror/MirrorClient.cs.meta +11 -11
- package/Runtime/Impl/Networks/Mirror/MirrorMessage.cs +20 -20
- package/Runtime/Impl/Networks/Mirror/MirrorMessage.cs.meta +11 -11
- package/Runtime/Impl/Networks/Mirror/MirrorMessageTags.cs +15 -15
- package/Runtime/Impl/Networks/Mirror/MirrorMessageTags.cs.meta +11 -11
- package/Runtime/Impl/Networks/Mirror/MirrorModeObserver.cs +49 -49
- package/Runtime/Impl/Networks/Mirror/MirrorModeObserver.cs.meta +11 -11
- package/Runtime/Impl/Networks/Mirror/MirrorServer.cs +286 -292
- package/Runtime/Impl/Networks/Mirror/MirrorServer.cs.meta +11 -11
- package/Runtime/Impl/Networks/Mirror.meta +8 -8
- package/Runtime/Impl/Networks.meta +8 -8
- package/Runtime/Impl/Outputs/StreamedAudioSourceOutput.cs +56 -56
- package/Runtime/Impl/Outputs/StreamedAudioSourceOutput.cs.meta +11 -11
- package/Runtime/Impl/Outputs.meta +8 -8
- package/Runtime/Impl.meta +8 -8
- package/Runtime/Interfaces/IAudioClient.cs +83 -77
- package/Runtime/Interfaces/IAudioClient.cs.meta +11 -11
- package/Runtime/Interfaces/IAudioFilter.cs +10 -10
- package/Runtime/Interfaces/IAudioFilter.cs.meta +11 -11
- package/Runtime/Interfaces/IAudioInput.cs.meta +11 -11
- package/Runtime/Interfaces/IAudioOutput.cs.meta +11 -11
- package/Runtime/Interfaces/IAudioOutputFactory.cs.meta +11 -11
- package/Runtime/Interfaces/IAudioServer.cs +41 -41
- package/Runtime/Interfaces/IAudioServer.cs.meta +11 -11
- package/Runtime/Interfaces.meta +8 -8
- package/Runtime/Types/AudioFrame.cs +27 -27
- package/Runtime/Types/AudioFrame.cs.meta +11 -11
- package/Runtime/Types/VoiceSettings.cs +253 -72
- package/Runtime/Types/VoiceSettings.cs.meta +11 -11
- package/Runtime/Types.meta +8 -8
- package/Runtime.meta +9 -9
- package/{Samples~ → Samples}/Adrenak.UniVoice.Samples.asmdef +16 -16
- package/{Samples~ → Samples}/Adrenak.UniVoice.Samples.asmdef.meta +7 -7
- package/{Samples~ → Samples}/Basic Setup Scripts/FishNet-SinglePrefabObjects.asset +15 -15
- package/{Samples~ → Samples}/Basic Setup Scripts/FishNet-SinglePrefabObjects.asset.meta +8 -8
- package/{Samples~ → Samples}/Basic Setup Scripts/UniVoiceFishNetSetupSample.cs +208 -208
- package/{Samples~ → Samples}/Basic Setup Scripts/UniVoiceFishNetSetupSample.cs.meta +11 -11
- package/{Samples~ → Samples}/Basic Setup Scripts/UniVoiceFishNetSetupSample.unity +335 -335
- package/{Samples~ → Samples}/Basic Setup Scripts/UniVoiceFishNetSetupSample.unity.meta +7 -7
- package/{Samples~ → Samples}/Basic Setup Scripts/UniVoiceMirrorSetupSample.cs +208 -208
- package/{Samples~ → Samples}/Basic Setup Scripts/UniVoiceMirrorSetupSample.cs.meta +11 -11
- package/{Samples~ → Samples}/Basic Setup Scripts/UniVoiceMirrorSetupSample.unity +435 -435
- package/{Samples~ → Samples}/Basic Setup Scripts/UniVoiceMirrorSetupSample.unity.meta +7 -7
- package/{Samples~ → Samples}/Basic Setup Scripts.meta +8 -8
- package/{Samples~ → Samples}/Group Chat Sample/Prefabs/Mic Toggle.prefab +235 -235
- package/{Samples~ → Samples}/Group Chat Sample/Prefabs/Mic Toggle.prefab.meta +7 -7
- package/{Samples~ → Samples}/Group Chat Sample/Prefabs/Peer View.prefab +851 -851
- package/{Samples~ → Samples}/Group Chat Sample/Prefabs/Peer View.prefab.meta +7 -7
- package/{Samples~ → Samples}/Group Chat Sample/Prefabs.meta +8 -8
- package/{Samples~ → Samples}/Group Chat Sample/Scenes/GroupVoiceCallSample-Mirror.unity +2202 -2202
- package/{Samples~ → Samples}/Group Chat Sample/Scenes/GroupVoiceCallSample-Mirror.unity.meta +7 -7
- package/{Samples~ → Samples}/Group Chat Sample/Scenes.meta +8 -8
- package/{Samples~ → Samples}/Group Chat Sample/Scripts/GroupVoiceCallMirrorSample.cs +194 -194
- package/{Samples~ → Samples}/Group Chat Sample/Scripts/GroupVoiceCallMirrorSample.cs.meta +11 -11
- package/{Samples~ → Samples}/Group Chat Sample/Scripts/PeerView.cs +74 -74
- package/{Samples~ → Samples}/Group Chat Sample/Scripts/PeerView.cs.meta +11 -11
- package/{Samples~ → Samples}/Group Chat Sample/Scripts.meta +8 -8
- package/{Samples~ → Samples}/Group Chat Sample/Sprites/mic.png.meta +88 -88
- package/{Samples~ → Samples}/Group Chat Sample/Sprites/off.png.meta +88 -88
- package/{Samples~ → Samples}/Group Chat Sample/Sprites/on.png.meta +88 -88
- package/{Samples~ → Samples}/Group Chat Sample/Sprites/speaker.png.meta +88 -88
- package/{Samples~ → Samples}/Group Chat Sample/Sprites.meta +8 -8
- package/{Samples~ → Samples}/Group Chat Sample.meta +8 -8
- package/Samples/Tags Sample/Fishnet Tags Sample.unity +3056 -0
- package/Samples/Tags Sample/Fishnet Tags Sample.unity.meta +7 -0
- package/Samples/Tags Sample/FishnetTagsSample.cs +32 -0
- package/Samples/Tags Sample/FishnetTagsSample.cs.meta +11 -0
- package/Samples/Tags Sample/Mirror Tags Sample.unity +2978 -0
- package/Samples/Tags Sample/Mirror Tags Sample.unity.meta +7 -0
- package/Samples/Tags Sample/MirrorTagsSample.cs +32 -0
- package/Samples/Tags Sample/MirrorTagsSample.cs.meta +11 -0
- package/Samples/Tags Sample.meta +8 -0
- package/Samples.meta +8 -0
- package/package.json +39 -39
- package/package.json.meta +7 -7
- /package/{Samples~ → Samples}/Group Chat Sample/Sprites/mic.png +0 -0
- /package/{Samples~ → Samples}/Group Chat Sample/Sprites/off.png +0 -0
- /package/{Samples~ → Samples}/Group Chat Sample/Sprites/on.png +0 -0
- /package/{Samples~ → Samples}/Group Chat Sample/Sprites/speaker.png +0 -0
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2018 Vatsal Ambastha
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 Vatsal Ambastha
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/LICENSE.meta
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 789be013ec943714a826e42a9d7db452
|
|
3
|
-
DefaultImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
userData:
|
|
6
|
-
assetBundleName:
|
|
7
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 789be013ec943714a826e42a9d7db452
|
|
3
|
+
DefaultImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
userData:
|
|
6
|
+
assetBundleName:
|
|
7
|
+
assetBundleVariant:
|
package/README.md
CHANGED
|
@@ -65,8 +65,8 @@ Ensure you have the NPM registry in the `manifest.json` file of your Unity proje
|
|
|
65
65
|
Then add `com.adrenak.univoice:x.y.z` to the `dependencies` in your `manifest.json` file (where x.y.z is the version you wish to install). The list of versions is available on [the UniVoice NPM page](https://www.npmjs.com/package/com.adrenak.univoice?activeTab=versions).
|
|
66
66
|
|
|
67
67
|
## Useful links
|
|
68
|
-
* API reference is available here: http://
|
|
69
|
-
* UniVoice blog: https://
|
|
68
|
+
* API reference is available here: http://adrenak.github.io/univoice
|
|
69
|
+
* UniVoice blog: https://vatsalambastha.com/?tag=univoice
|
|
70
70
|
* Discord server: https://discord.gg/NGvkEVbdjQ
|
|
71
71
|
|
|
72
72
|
## Integration
|
|
@@ -123,3 +123,4 @@ The author can be reached at the following links:
|
|
|
123
123
|
[Twitter](https://www.twitter.com/vatsalAmbastha)
|
|
124
124
|
|
|
125
125
|
Discord: `adrenak#1934`
|
|
126
|
+
|
package/README.md.meta
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: b497ccbc9f4029f4593611f820e24235
|
|
3
|
-
TextScriptImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
userData:
|
|
6
|
-
assetBundleName:
|
|
7
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: b497ccbc9f4029f4593611f820e24235
|
|
3
|
+
TextScriptImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
userData:
|
|
6
|
+
assetBundleName:
|
|
7
|
+
assetBundleVariant:
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Adrenak.UniVoice.Runtime",
|
|
3
|
-
"rootNamespace": "",
|
|
4
|
-
"references": [
|
|
5
|
-
"GUID:1f776cd02c03a7b4280b6b649d7758e2",
|
|
6
|
-
"GUID:f87ecb857e752164ab814a3de8eb0262",
|
|
7
|
-
"GUID:b118fd5a40c85ad4e9b38e8c4a42bbb1",
|
|
8
|
-
"GUID:4653938bfdb5cf8409322ce17219d5f7",
|
|
9
|
-
"GUID:30817c1a0e6d646d99c048fc403f5979",
|
|
10
|
-
"GUID:7c88a4a7926ee5145ad2dfa06f454c67"
|
|
11
|
-
],
|
|
12
|
-
"includePlatforms": [],
|
|
13
|
-
"excludePlatforms": [],
|
|
14
|
-
"allowUnsafeCode": false,
|
|
15
|
-
"overrideReferences": false,
|
|
16
|
-
"precompiledReferences": [],
|
|
17
|
-
"autoReferenced": true,
|
|
18
|
-
"defineConstraints": [],
|
|
19
|
-
"versionDefines": [],
|
|
20
|
-
"noEngineReferences": false
|
|
1
|
+
{
|
|
2
|
+
"name": "Adrenak.UniVoice.Runtime",
|
|
3
|
+
"rootNamespace": "",
|
|
4
|
+
"references": [
|
|
5
|
+
"GUID:1f776cd02c03a7b4280b6b649d7758e2",
|
|
6
|
+
"GUID:f87ecb857e752164ab814a3de8eb0262",
|
|
7
|
+
"GUID:b118fd5a40c85ad4e9b38e8c4a42bbb1",
|
|
8
|
+
"GUID:4653938bfdb5cf8409322ce17219d5f7",
|
|
9
|
+
"GUID:30817c1a0e6d646d99c048fc403f5979",
|
|
10
|
+
"GUID:7c88a4a7926ee5145ad2dfa06f454c67"
|
|
11
|
+
],
|
|
12
|
+
"includePlatforms": [],
|
|
13
|
+
"excludePlatforms": [],
|
|
14
|
+
"allowUnsafeCode": false,
|
|
15
|
+
"overrideReferences": false,
|
|
16
|
+
"precompiledReferences": [],
|
|
17
|
+
"autoReferenced": true,
|
|
18
|
+
"defineConstraints": [],
|
|
19
|
+
"versionDefines": [],
|
|
20
|
+
"noEngineReferences": false
|
|
21
21
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 6b289bb677194eb40b60db3a566aab7b
|
|
3
|
-
AssemblyDefinitionImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
userData:
|
|
6
|
-
assetBundleName:
|
|
7
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 6b289bb677194eb40b60db3a566aab7b
|
|
3
|
+
AssemblyDefinitionImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
userData:
|
|
6
|
+
assetBundleName:
|
|
7
|
+
assetBundleVariant:
|