com.adrenak.univoice 4.10.5 → 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.
Files changed (126) hide show
  1. package/LICENSE +21 -21
  2. package/LICENSE.meta +7 -7
  3. package/README.md +3 -2
  4. package/README.md.meta +7 -7
  5. package/Runtime/Adrenak.UniVoice.Runtime.asmdef +20 -20
  6. package/Runtime/Adrenak.UniVoice.Runtime.asmdef.meta +7 -7
  7. package/Runtime/ClientSession.cs +296 -296
  8. package/Runtime/ClientSession.cs.meta +11 -11
  9. package/Runtime/Common/SimpleVad.cs +379 -379
  10. package/Runtime/Common/SimpleVad.cs.meta +11 -11
  11. package/Runtime/Common/Utils.cs +55 -55
  12. package/Runtime/Common/Utils.cs.meta +11 -11
  13. package/Runtime/Common/WavFileWriter.cs +124 -124
  14. package/Runtime/Common/WavFileWriter.cs.meta +11 -11
  15. package/Runtime/Common.meta +8 -8
  16. package/Runtime/Impl/Filters/Concentus Opus Filters/ConcentusDecodeFilter.cs +79 -79
  17. package/Runtime/Impl/Filters/Concentus Opus Filters/ConcentusDecodeFilter.cs.meta +11 -11
  18. package/Runtime/Impl/Filters/Concentus Opus Filters/ConcentusEncodeFilter.cs +155 -155
  19. package/Runtime/Impl/Filters/Concentus Opus Filters/ConcentusEncodeFilter.cs.meta +11 -11
  20. package/Runtime/Impl/Filters/Concentus Opus Filters/ConcentusFrequencies.cs +30 -30
  21. package/Runtime/Impl/Filters/Concentus Opus Filters/ConcentusFrequencies.cs.meta +11 -11
  22. package/Runtime/Impl/Filters/Concentus Opus Filters.meta +8 -8
  23. package/Runtime/Impl/Filters/GaussianAudioBlur.cs +90 -90
  24. package/Runtime/Impl/Filters/GaussianAudioBlur.cs.meta +11 -11
  25. package/Runtime/Impl/Filters/RNNoise/RNNoiseFilter.cs +27 -27
  26. package/Runtime/Impl/Filters/RNNoise/RNNoiseFilter.cs.meta +11 -11
  27. package/Runtime/Impl/Filters/RNNoise.meta +8 -8
  28. package/Runtime/Impl/Filters/SimpleVadFilter.cs +17 -17
  29. package/Runtime/Impl/Filters/SimpleVadFilter.cs.meta +11 -11
  30. package/Runtime/Impl/Filters.meta +8 -8
  31. package/Runtime/Impl/Inputs/EmptyAudioInput.cs +23 -23
  32. package/Runtime/Impl/Inputs/EmptyAudioInput.cs.meta +11 -11
  33. package/Runtime/Impl/Inputs/UniMicInput.cs +49 -49
  34. package/Runtime/Impl/Inputs/UniMicInput.cs.meta +11 -11
  35. package/Runtime/Impl/Inputs.meta +8 -8
  36. package/Runtime/Impl/Networks/FakeNetwork.cs +6 -6
  37. package/Runtime/Impl/Networks/FakeNetwork.cs.meta +11 -11
  38. package/Runtime/Impl/Networks/FishNet/FishNetBroadcast.cs +22 -22
  39. package/Runtime/Impl/Networks/FishNet/FishNetBroadcast.cs.meta +1 -1
  40. package/Runtime/Impl/Networks/FishNet/FishNetBroadcastTags.cs +15 -15
  41. package/Runtime/Impl/Networks/FishNet/FishNetBroadcastTags.cs.meta +1 -1
  42. package/Runtime/Impl/Networks/FishNet/FishNetClient.cs +205 -203
  43. package/Runtime/Impl/Networks/FishNet/FishNetClient.cs.meta +1 -1
  44. package/Runtime/Impl/Networks/FishNet/FishNetServer.cs +236 -243
  45. package/Runtime/Impl/Networks/FishNet/FishNetServer.cs.meta +1 -1
  46. package/Runtime/Impl/Networks/FishNet.meta +2 -2
  47. package/Runtime/Impl/Networks/Mirror/MirrorClient.cs +192 -190
  48. package/Runtime/Impl/Networks/Mirror/MirrorClient.cs.meta +11 -11
  49. package/Runtime/Impl/Networks/Mirror/MirrorMessage.cs +20 -20
  50. package/Runtime/Impl/Networks/Mirror/MirrorMessage.cs.meta +11 -11
  51. package/Runtime/Impl/Networks/Mirror/MirrorMessageTags.cs +15 -15
  52. package/Runtime/Impl/Networks/Mirror/MirrorMessageTags.cs.meta +11 -11
  53. package/Runtime/Impl/Networks/Mirror/MirrorModeObserver.cs +49 -49
  54. package/Runtime/Impl/Networks/Mirror/MirrorModeObserver.cs.meta +11 -11
  55. package/Runtime/Impl/Networks/Mirror/MirrorServer.cs +286 -292
  56. package/Runtime/Impl/Networks/Mirror/MirrorServer.cs.meta +11 -11
  57. package/Runtime/Impl/Networks/Mirror.meta +8 -8
  58. package/Runtime/Impl/Networks.meta +8 -8
  59. package/Runtime/Impl/Outputs/StreamedAudioSourceOutput.cs +56 -56
  60. package/Runtime/Impl/Outputs/StreamedAudioSourceOutput.cs.meta +11 -11
  61. package/Runtime/Impl/Outputs.meta +8 -8
  62. package/Runtime/Impl.meta +8 -8
  63. package/Runtime/Interfaces/IAudioClient.cs +83 -77
  64. package/Runtime/Interfaces/IAudioClient.cs.meta +11 -11
  65. package/Runtime/Interfaces/IAudioFilter.cs +10 -10
  66. package/Runtime/Interfaces/IAudioFilter.cs.meta +11 -11
  67. package/Runtime/Interfaces/IAudioInput.cs.meta +11 -11
  68. package/Runtime/Interfaces/IAudioOutput.cs.meta +11 -11
  69. package/Runtime/Interfaces/IAudioOutputFactory.cs.meta +11 -11
  70. package/Runtime/Interfaces/IAudioServer.cs +41 -41
  71. package/Runtime/Interfaces/IAudioServer.cs.meta +11 -11
  72. package/Runtime/Interfaces.meta +8 -8
  73. package/Runtime/Types/AudioFrame.cs +27 -27
  74. package/Runtime/Types/AudioFrame.cs.meta +11 -11
  75. package/Runtime/Types/VoiceSettings.cs +253 -72
  76. package/Runtime/Types/VoiceSettings.cs.meta +11 -11
  77. package/Runtime/Types.meta +8 -8
  78. package/Runtime.meta +9 -9
  79. package/{Samples~ → Samples}/Adrenak.UniVoice.Samples.asmdef +16 -16
  80. package/{Samples~ → Samples}/Adrenak.UniVoice.Samples.asmdef.meta +7 -7
  81. package/{Samples~ → Samples}/Basic Setup Scripts/FishNet-SinglePrefabObjects.asset +15 -15
  82. package/{Samples~ → Samples}/Basic Setup Scripts/FishNet-SinglePrefabObjects.asset.meta +8 -8
  83. package/{Samples~ → Samples}/Basic Setup Scripts/UniVoiceFishNetSetupSample.cs +208 -208
  84. package/{Samples~ → Samples}/Basic Setup Scripts/UniVoiceFishNetSetupSample.cs.meta +11 -11
  85. package/{Samples~ → Samples}/Basic Setup Scripts/UniVoiceFishNetSetupSample.unity +335 -335
  86. package/{Samples~ → Samples}/Basic Setup Scripts/UniVoiceFishNetSetupSample.unity.meta +7 -7
  87. package/{Samples~ → Samples}/Basic Setup Scripts/UniVoiceMirrorSetupSample.cs +208 -208
  88. package/{Samples~ → Samples}/Basic Setup Scripts/UniVoiceMirrorSetupSample.cs.meta +11 -11
  89. package/{Samples~ → Samples}/Basic Setup Scripts/UniVoiceMirrorSetupSample.unity +435 -435
  90. package/{Samples~ → Samples}/Basic Setup Scripts/UniVoiceMirrorSetupSample.unity.meta +7 -7
  91. package/{Samples~ → Samples}/Basic Setup Scripts.meta +8 -8
  92. package/{Samples~ → Samples}/Group Chat Sample/Prefabs/Mic Toggle.prefab +235 -235
  93. package/{Samples~ → Samples}/Group Chat Sample/Prefabs/Mic Toggle.prefab.meta +7 -7
  94. package/{Samples~ → Samples}/Group Chat Sample/Prefabs/Peer View.prefab +851 -851
  95. package/{Samples~ → Samples}/Group Chat Sample/Prefabs/Peer View.prefab.meta +7 -7
  96. package/{Samples~ → Samples}/Group Chat Sample/Prefabs.meta +8 -8
  97. package/{Samples~ → Samples}/Group Chat Sample/Scenes/GroupVoiceCallSample-Mirror.unity +2202 -2202
  98. package/{Samples~ → Samples}/Group Chat Sample/Scenes/GroupVoiceCallSample-Mirror.unity.meta +7 -7
  99. package/{Samples~ → Samples}/Group Chat Sample/Scenes.meta +8 -8
  100. package/{Samples~ → Samples}/Group Chat Sample/Scripts/GroupVoiceCallMirrorSample.cs +194 -194
  101. package/{Samples~ → Samples}/Group Chat Sample/Scripts/GroupVoiceCallMirrorSample.cs.meta +11 -11
  102. package/{Samples~ → Samples}/Group Chat Sample/Scripts/PeerView.cs +74 -74
  103. package/{Samples~ → Samples}/Group Chat Sample/Scripts/PeerView.cs.meta +11 -11
  104. package/{Samples~ → Samples}/Group Chat Sample/Scripts.meta +8 -8
  105. package/{Samples~ → Samples}/Group Chat Sample/Sprites/mic.png.meta +88 -88
  106. package/{Samples~ → Samples}/Group Chat Sample/Sprites/off.png.meta +88 -88
  107. package/{Samples~ → Samples}/Group Chat Sample/Sprites/on.png.meta +88 -88
  108. package/{Samples~ → Samples}/Group Chat Sample/Sprites/speaker.png.meta +88 -88
  109. package/{Samples~ → Samples}/Group Chat Sample/Sprites.meta +8 -8
  110. package/{Samples~ → Samples}/Group Chat Sample.meta +8 -8
  111. package/Samples/Tags Sample/Fishnet Tags Sample.unity +3056 -0
  112. package/Samples/Tags Sample/Fishnet Tags Sample.unity.meta +7 -0
  113. package/Samples/Tags Sample/FishnetTagsSample.cs +32 -0
  114. package/Samples/Tags Sample/FishnetTagsSample.cs.meta +11 -0
  115. package/Samples/Tags Sample/Mirror Tags Sample.unity +2978 -0
  116. package/Samples/Tags Sample/Mirror Tags Sample.unity.meta +7 -0
  117. package/Samples/Tags Sample/MirrorTagsSample.cs +32 -0
  118. package/Samples/Tags Sample/MirrorTagsSample.cs.meta +11 -0
  119. package/Samples/Tags Sample.meta +8 -0
  120. package/Samples.meta +8 -0
  121. package/package.json +39 -39
  122. package/package.json.meta +7 -7
  123. /package/{Samples~ → Samples}/Group Chat Sample/Sprites/mic.png +0 -0
  124. /package/{Samples~ → Samples}/Group Chat Sample/Sprites/off.png +0 -0
  125. /package/{Samples~ → Samples}/Group Chat Sample/Sprites/on.png +0 -0
  126. /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://www.vatsalambastha.com/univoice
69
- * UniVoice blog: https://blog.vatsalambastha.com/search/label/univoice
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: