com.adrenak.univoice 2.0.2 → 4.0.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 (87) hide show
  1. package/LICENSE +21 -21
  2. package/LICENSE.meta +7 -7
  3. package/README.md +32 -54
  4. package/README.md.meta +7 -7
  5. package/Runtime/Adrenak.UniVoice.Runtime.asmdef +19 -3
  6. package/Runtime/Adrenak.UniVoice.Runtime.asmdef.meta +7 -7
  7. package/Runtime/ClientSession.cs +137 -0
  8. package/Runtime/{Types/ChatroomAgentMode.cs.meta → ClientSession.cs.meta} +11 -11
  9. package/Runtime/Common/Utils.cs +55 -0
  10. package/Runtime/{Interfaces/IChatroomNetwork.cs.meta → Common/Utils.cs.meta} +11 -11
  11. package/Runtime/Common.meta +8 -0
  12. package/Runtime/Impl/Filters/GaussianAudioBlur.cs +90 -0
  13. package/Runtime/{ChatroomAgent.cs.meta → Impl/Filters/GaussianAudioBlur.cs.meta} +11 -11
  14. package/Runtime/Impl/Filters/OpusFilter.cs +85 -0
  15. package/Runtime/Impl/Filters/OpusFilter.cs.meta +11 -0
  16. package/Runtime/Impl/Filters.meta +8 -0
  17. package/Runtime/Impl/Inputs/UniMicInput.cs +39 -0
  18. package/Runtime/Impl/Inputs/UniMicInput.cs.meta +11 -0
  19. package/Runtime/Impl/Inputs.meta +8 -0
  20. package/Runtime/Impl/Networks/Mirror/MirrorClient.cs +161 -0
  21. package/Runtime/Impl/Networks/Mirror/MirrorClient.cs.meta +11 -0
  22. package/Runtime/Impl/Networks/Mirror/MirrorMessage.cs +21 -0
  23. package/Runtime/Impl/Networks/Mirror/MirrorMessage.cs.meta +11 -0
  24. package/Runtime/Impl/Networks/Mirror/MirrorMessageTags.cs +16 -0
  25. package/Runtime/Impl/Networks/Mirror/MirrorMessageTags.cs.meta +11 -0
  26. package/Runtime/Impl/Networks/Mirror/MirrorModeObserver.cs +43 -0
  27. package/Runtime/Impl/Networks/Mirror/MirrorModeObserver.cs.meta +11 -0
  28. package/Runtime/Impl/Networks/Mirror/MirrorServer.cs +234 -0
  29. package/Runtime/Impl/Networks/Mirror/MirrorServer.cs.meta +11 -0
  30. package/Runtime/Impl/Networks/Mirror.meta +8 -0
  31. package/Runtime/Impl/Networks.meta +8 -0
  32. package/Runtime/Impl/Outputs/StreamedAudioSourceOutput.cs +56 -0
  33. package/Runtime/Impl/Outputs/StreamedAudioSourceOutput.cs.meta +11 -0
  34. package/Runtime/Impl/Outputs.meta +8 -0
  35. package/Runtime/Impl.meta +8 -0
  36. package/Runtime/Interfaces/IAudioClient.cs +77 -0
  37. package/Runtime/Interfaces/IAudioClient.cs.meta +11 -0
  38. package/Runtime/Interfaces/IAudioFilter.cs +10 -0
  39. package/Runtime/Interfaces/IAudioFilter.cs.meta +11 -0
  40. package/Runtime/Interfaces/IAudioInput.cs +1 -24
  41. package/Runtime/Interfaces/IAudioInput.cs.meta +11 -11
  42. package/Runtime/Interfaces/IAudioOutput.cs +6 -30
  43. package/Runtime/Interfaces/IAudioOutput.cs.meta +11 -11
  44. package/Runtime/Interfaces/IAudioOutputFactory.cs +2 -7
  45. package/Runtime/Interfaces/IAudioOutputFactory.cs.meta +11 -11
  46. package/Runtime/Interfaces/IAudioServer.cs +41 -0
  47. package/Runtime/Interfaces/IAudioServer.cs.meta +11 -0
  48. package/Runtime/Interfaces.meta +8 -8
  49. package/Runtime/Types/{ChatroomAudioSegment.cs → AudioFrame.cs} +27 -26
  50. package/Runtime/Types/{ChatroomAudioSegment.cs.meta → AudioFrame.cs.meta} +11 -11
  51. package/Runtime/Types/VoiceSettings.cs +53 -0
  52. package/Runtime/Types/VoiceSettings.cs.meta +11 -0
  53. package/Runtime/Types.meta +8 -8
  54. package/Runtime.meta +9 -9
  55. package/Samples~/Group Chat Sample/Prefabs/Mic Toggle.prefab +235 -0
  56. package/{CHANGELOG.md.meta → Samples~/Group Chat Sample/Prefabs/Mic Toggle.prefab.meta } +7 -7
  57. package/Samples~/Group Chat Sample/Prefabs/Peer View.prefab +851 -0
  58. package/Samples~/Group Chat Sample/Prefabs/Peer View.prefab.meta +7 -0
  59. package/Samples~/Group Chat Sample/Prefabs.meta +8 -0
  60. package/Samples~/Group Chat Sample/Scenes/GroupVoiceCallSample-Mirror.unity +2160 -0
  61. package/Samples~/Group Chat Sample/Scenes/GroupVoiceCallSample-Mirror.unity.meta +7 -0
  62. package/Samples~/Group Chat Sample/Scenes.meta +8 -0
  63. package/Samples~/Group Chat Sample/Scripts/GroupVoiceCallMirrorSample.cs +217 -0
  64. package/Samples~/Group Chat Sample/Scripts/GroupVoiceCallMirrorSample.cs.meta +11 -0
  65. package/Samples~/Group Chat Sample/Scripts/PeerView.cs +74 -0
  66. package/Samples~/Group Chat Sample/Scripts/PeerView.cs.meta +11 -0
  67. package/Samples~/Group Chat Sample/Scripts.meta +8 -0
  68. package/Samples~/Group Chat Sample/Sprites/mic.png +0 -0
  69. package/Samples~/Group Chat Sample/Sprites/mic.png.meta +88 -0
  70. package/Samples~/Group Chat Sample/Sprites/off.png +0 -0
  71. package/Samples~/Group Chat Sample/Sprites/off.png.meta +88 -0
  72. package/Samples~/Group Chat Sample/Sprites/on.png +0 -0
  73. package/Samples~/Group Chat Sample/Sprites/on.png.meta +88 -0
  74. package/Samples~/Group Chat Sample/Sprites/speaker.png +0 -0
  75. package/Samples~/Group Chat Sample/Sprites/speaker.png.meta +88 -0
  76. package/Samples~/Group Chat Sample/Sprites.meta +8 -0
  77. package/Samples~/Group Chat Sample.meta +8 -0
  78. package/package.json +39 -20
  79. package/package.json.meta +7 -7
  80. package/CHANGELOG.md +0 -67
  81. package/Runtime/ChatroomAgent.cs +0 -215
  82. package/Runtime/Extensions.cs +0 -39
  83. package/Runtime/Extensions.cs.meta +0 -12
  84. package/Runtime/Interfaces/IChatroomNetwork.cs +0 -121
  85. package/Runtime/Types/ChatroomAgentMode.cs +0 -22
  86. package/Runtime/Types/ChatroomPeerSettings.cs +0 -18
  87. package/Runtime/Types/ChatroomPeerSettings.cs.meta +0 -11
@@ -1,18 +0,0 @@
1
- namespace Adrenak.UniVoice {
2
- [System.Serializable]
3
- /// <summary>
4
- /// Represents settings associated with a peer in the chatroom
5
- /// </summary>
6
- public class ChatroomPeerSettings {
7
- /// <summary>
8
- /// Whether this peer is muted. Use this to ignore a person.
9
- /// </summary>
10
- public bool muteThem = false;
11
-
12
- /// <summary>
13
- /// Whether this peer will receive out voice. Use this to
14
- /// stop sending your audio to a peer.
15
- /// </summary>
16
- public bool muteSelf = false;
17
- }
18
- }
@@ -1,11 +0,0 @@
1
- fileFormatVersion: 2
2
- guid: 8aa96a7270a41ab42a055ed9a5bcfacd
3
- MonoImporter:
4
- externalObjects: {}
5
- serializedVersion: 2
6
- defaultReferences: []
7
- executionOrder: 0
8
- icon: {instanceID: 0}
9
- userData:
10
- assetBundleName:
11
- assetBundleVariant: