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.
- package/LICENSE +21 -21
- package/LICENSE.meta +7 -7
- package/README.md +32 -54
- package/README.md.meta +7 -7
- package/Runtime/Adrenak.UniVoice.Runtime.asmdef +19 -3
- package/Runtime/Adrenak.UniVoice.Runtime.asmdef.meta +7 -7
- package/Runtime/ClientSession.cs +137 -0
- package/Runtime/{Types/ChatroomAgentMode.cs.meta → ClientSession.cs.meta} +11 -11
- package/Runtime/Common/Utils.cs +55 -0
- package/Runtime/{Interfaces/IChatroomNetwork.cs.meta → Common/Utils.cs.meta} +11 -11
- package/Runtime/Common.meta +8 -0
- package/Runtime/Impl/Filters/GaussianAudioBlur.cs +90 -0
- package/Runtime/{ChatroomAgent.cs.meta → Impl/Filters/GaussianAudioBlur.cs.meta} +11 -11
- package/Runtime/Impl/Filters/OpusFilter.cs +85 -0
- package/Runtime/Impl/Filters/OpusFilter.cs.meta +11 -0
- package/Runtime/Impl/Filters.meta +8 -0
- package/Runtime/Impl/Inputs/UniMicInput.cs +39 -0
- package/Runtime/Impl/Inputs/UniMicInput.cs.meta +11 -0
- package/Runtime/Impl/Inputs.meta +8 -0
- package/Runtime/Impl/Networks/Mirror/MirrorClient.cs +161 -0
- package/Runtime/Impl/Networks/Mirror/MirrorClient.cs.meta +11 -0
- package/Runtime/Impl/Networks/Mirror/MirrorMessage.cs +21 -0
- package/Runtime/Impl/Networks/Mirror/MirrorMessage.cs.meta +11 -0
- package/Runtime/Impl/Networks/Mirror/MirrorMessageTags.cs +16 -0
- package/Runtime/Impl/Networks/Mirror/MirrorMessageTags.cs.meta +11 -0
- package/Runtime/Impl/Networks/Mirror/MirrorModeObserver.cs +43 -0
- package/Runtime/Impl/Networks/Mirror/MirrorModeObserver.cs.meta +11 -0
- package/Runtime/Impl/Networks/Mirror/MirrorServer.cs +234 -0
- package/Runtime/Impl/Networks/Mirror/MirrorServer.cs.meta +11 -0
- package/Runtime/Impl/Networks/Mirror.meta +8 -0
- package/Runtime/Impl/Networks.meta +8 -0
- package/Runtime/Impl/Outputs/StreamedAudioSourceOutput.cs +56 -0
- package/Runtime/Impl/Outputs/StreamedAudioSourceOutput.cs.meta +11 -0
- package/Runtime/Impl/Outputs.meta +8 -0
- package/Runtime/Impl.meta +8 -0
- package/Runtime/Interfaces/IAudioClient.cs +77 -0
- package/Runtime/Interfaces/IAudioClient.cs.meta +11 -0
- package/Runtime/Interfaces/IAudioFilter.cs +10 -0
- package/Runtime/Interfaces/IAudioFilter.cs.meta +11 -0
- package/Runtime/Interfaces/IAudioInput.cs +1 -24
- package/Runtime/Interfaces/IAudioInput.cs.meta +11 -11
- package/Runtime/Interfaces/IAudioOutput.cs +6 -30
- package/Runtime/Interfaces/IAudioOutput.cs.meta +11 -11
- package/Runtime/Interfaces/IAudioOutputFactory.cs +2 -7
- package/Runtime/Interfaces/IAudioOutputFactory.cs.meta +11 -11
- package/Runtime/Interfaces/IAudioServer.cs +41 -0
- package/Runtime/Interfaces/IAudioServer.cs.meta +11 -0
- package/Runtime/Interfaces.meta +8 -8
- package/Runtime/Types/{ChatroomAudioSegment.cs → AudioFrame.cs} +27 -26
- package/Runtime/Types/{ChatroomAudioSegment.cs.meta → AudioFrame.cs.meta} +11 -11
- package/Runtime/Types/VoiceSettings.cs +53 -0
- package/Runtime/Types/VoiceSettings.cs.meta +11 -0
- package/Runtime/Types.meta +8 -8
- package/Runtime.meta +9 -9
- package/Samples~/Group Chat Sample/Prefabs/Mic Toggle.prefab +235 -0
- package/{CHANGELOG.md.meta → Samples~/Group Chat Sample/Prefabs/Mic Toggle.prefab.meta } +7 -7
- package/Samples~/Group Chat Sample/Prefabs/Peer View.prefab +851 -0
- package/Samples~/Group Chat Sample/Prefabs/Peer View.prefab.meta +7 -0
- package/Samples~/Group Chat Sample/Prefabs.meta +8 -0
- package/Samples~/Group Chat Sample/Scenes/GroupVoiceCallSample-Mirror.unity +2160 -0
- package/Samples~/Group Chat Sample/Scenes/GroupVoiceCallSample-Mirror.unity.meta +7 -0
- package/Samples~/Group Chat Sample/Scenes.meta +8 -0
- package/Samples~/Group Chat Sample/Scripts/GroupVoiceCallMirrorSample.cs +217 -0
- package/Samples~/Group Chat Sample/Scripts/GroupVoiceCallMirrorSample.cs.meta +11 -0
- package/Samples~/Group Chat Sample/Scripts/PeerView.cs +74 -0
- package/Samples~/Group Chat Sample/Scripts/PeerView.cs.meta +11 -0
- package/Samples~/Group Chat Sample/Scripts.meta +8 -0
- package/Samples~/Group Chat Sample/Sprites/mic.png +0 -0
- package/Samples~/Group Chat Sample/Sprites/mic.png.meta +88 -0
- package/Samples~/Group Chat Sample/Sprites/off.png +0 -0
- package/Samples~/Group Chat Sample/Sprites/off.png.meta +88 -0
- package/Samples~/Group Chat Sample/Sprites/on.png +0 -0
- package/Samples~/Group Chat Sample/Sprites/on.png.meta +88 -0
- package/Samples~/Group Chat Sample/Sprites/speaker.png +0 -0
- package/Samples~/Group Chat Sample/Sprites/speaker.png.meta +88 -0
- package/Samples~/Group Chat Sample/Sprites.meta +8 -0
- package/Samples~/Group Chat Sample.meta +8 -0
- package/package.json +39 -20
- package/package.json.meta +7 -7
- package/CHANGELOG.md +0 -67
- package/Runtime/ChatroomAgent.cs +0 -215
- package/Runtime/Extensions.cs +0 -39
- package/Runtime/Extensions.cs.meta +0 -12
- package/Runtime/Interfaces/IChatroomNetwork.cs +0 -121
- package/Runtime/Types/ChatroomAgentMode.cs +0 -22
- package/Runtime/Types/ChatroomPeerSettings.cs +0 -18
- 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
|
-
}
|