Resources
Get VoicePatrol running in minutes!
Unity Engine
- Download: Download the VoicePatrol Unity package from the Get Started page.
- Import the Unity Package: Right-click in your Unity assets folder, select Import Package > Custom Package... open the VoicePatrol Unity package file.
- Add to Unity Scene: Drag the VoicePatrol unity prefab into your start scene.
- Enter API Key: Copy your project API key from the Settings page and paste to the VoicePatrol unity prefab.
- Voice Engine Integration: Open the VoicePatrolUnityExample script and uncomment out applicable voice engine code.
Now VoicePatrol is active in your Unity project! See full details here.
Unreal Engine
- Download: Download the VoicePatrol Unreal plugin from the Get Started page.
- Extract: Extract the downloaded file to your plugins folder (if you don't have a plugins folder you can create one in your project root folder).
- Use Actor: Drag and drop the OpticoSDK blueprint actor located at /All/Plugins/Classes_VoicePatrolSDK/VoicePatrolSDK/Public into your starting scene.
- Configure Actor:
- - Enter your API token from the dashboard
- - Ensure muted is set to false (the SDK starts in the muted state by default)
- - Set optional fields: specify your own Unique ID, additional logging, UI overlay widget
- Configure Actor:

Introduction
VoicePatrol is a comprehensive voice moderation SDK that provides real-time analysis of voice communications in multiplayer games. It offers automated content moderation, age verification, player reporting, and voice analytics to create safer gaming environments.
Real-time Voice Moderation
Automatically detect harmful speech patterns, harassment, and inappropriate content.
Age Verification
Estimate player age from voice samples for age-appropriate experiences.
Player Reporting
Capture audio evidence for manual moderation review.
Voice Business Intelligence
Analytics and insights from voice communications.
Multi-platform Support
Android, Windows, macOS, and Linux
Voice Engine Agnostics
Works with Vivox, Photon Voice, Dissonance, and custom solutions.
Installation & Setup
Prerequisites
- - Unity 2020.3 LTS or newer
- - Target platforms: Android API 23+, Windows 10+, macOS 10.15+
- - Microphone permissions on target platforms
- - Internet access
Installation Steps
- Download the Package
- Download the VoicePatrol Unity package from your dashboard at dashboard.voicepatrol.dev - Import the Package
- Right-click in Unity Assets folder → Import
- Package → Custom Package...
- Select the VoicePatrol Unity package - Add to Scene
- Drag theVoicePatrol
prefab into your main/startup scene
- The prefab includes all necessary components and will persist across scenes - Configure Settings
- Select the VoicePatrol prefab in your scene
- In the Inspector, enter your API key from the VoicePatrol dashboard
- Configure optional features (Voice BI, Age Verification, Debug Logs)
Core Concepts
SDK Lifecycle
The VoicePatrol SDK follows a specific lifecycle pattern.
- Initialization: SDK starts and establishes server connections
- Muted State: SDK begins in muted state (no processing)
- Active State: SDK processes audio when unmuted
- Room Management: Optional room joining/leaving for context
- Shutdown: Proper cleanup when application closes
Audio Processing Pipeline
Microphone Input → Stream to Server → Audio Analysis → Violation Detection → Callback Events
Key Components
VoicePatrolWrapper: Main interface for all SDK operations
- - Static methods for easy access from anywhere in your code
- - Thread-safe event system for violation callbacks
- - Automatic permission handling on Android
AudioCaptureProxy: Captures game audio for analysis
- - Automatically attached to AudioListener components
- - Captures mixed audio output for comprehensive monitoring
- - Required for player reporting features
Permission Manager: Handles microphone permissions
- - Automatic permission requests on Android
- - Graceful degradation when permissions denied
- - Platform-specific implementation
Install Guide
Video Guide (2 minutes)
The VoicePatrol SDK follows a specific lifecycle pattern.
Basic Integration (5 minutes)
1. Add the VoicePatrol prefab to your scene
2. Initialize in your game manager:
using VoicePatrol.Scripts;
public class GameManager : MonoBehaviour
{
[SerializeField] private string apiKey = "your-api-key-here";
void Start()
{
// Start VoicePatrol with basic settings
string result = VoicePatrolWrapper.StartVoicePatrol(token: apiKey);
Debug.Log($"VoicePatrol: {result}");
}
}
3. Handle muting based on your voice chat state:
void Start()
{
// Check voice chat state every second instead of every frame
InvokeRepeating(nameof(UpdateVoicePatrolMutedState), 1f, 1f);
}
private void UpdateVoicePatrolMutedState()
{
// Example: Mute VoicePatrol when not in voice chat
bool shouldMute = !IsInVoiceChat() || IsVoiceChatMuted();
VoicePatrolWrapper.SetMuted(shouldMute);
}
4. Listen for violations:
void OnEnable()
{
VoicePatrolWrapper.OnViolationDetected += HandleViolation;
}
void OnDisable()
{
VoicePatrolWrapper.OnViolationDetected -= HandleViolation;
}
private void HandleViolation(VoicePatrolWrapper.ViolationEventData violation)
{
Debug.Log($"Violation detected for {violation.UniqueId}: {violation.Priority}");
// Take action based on violation
switch (violation.Priority.ToLower())
{
case "severe":
// Immediate action required
MutePlayer(violation.UniqueId);
break;
case "high":
// Warning or temporary action
WarnPlayer(violation.UniqueId);
break;
case "medium":
// Log for review
LogViolation(violation);
break;
}
}
Room Management
// When joining a multiplayer room
void OnJoinedRoom(string roomId)
{
VoicePatrolWrapper.OnJoinedRoom(roomId);
}
// When leaving a room
void OnLeftRoom()
{
VoicePatrolWrapper.OnLeftRoom();
}
API Reference
VoicePatrolWrapper Static Methods
public static string StartVoicePatrol(
string token,
string uniqueID = null,
bool voiceBI = false,
bool ageVerification = false,
bool debugLogs = false
)
Parameters:
- token: Your VoicePatrol API key from the dashboard
- uniqueID: Optional custom user identifier (null = device ID)
- voiceBI: Optional flag to enable Business Intelligence tool
- ageVerification: Optional flag to enable age verification feature
- debugLogs: Optional flag to enable detailed debug logging
Returns: Status message indicating initialization result
Checks if the VoicePatrol SDK is currently running
public static string IsSdkRunning()
Returns: True if SDK is running, false otherwise
Notifies the SDK when joining a multiplayer room
public static string OnJoinedRoom(string roomId)
Parameters:
- roomId: The unique identifier for the room
Returns: Status message indicating room join result
Notifies the SDK when leaving a multiplayer room
public static string OnLeftRoom()
Returns: Status message indicating room leave result
Stops the VoicePatrol SDK and releases resources
public static string StopVoicePatrol()
Returns: Status message indicating shutdown result
Do not call this unless explicitly required - instead, use SetMuted to control the state of VoicePatrol.
Toggles voice analysis and usage time incrementation
public static string SetMuted(bool value)
Parameters:
- value: True to mute, false to unmute
Returns: Status message indicating mute state change result
Setting the muted state is not computationally expensive - it simply sets an internal boolean flag that causes early returns in audio processing functions. You can call SetMuted() frequently without performance concerns.
Checks if VoicePatrol is currently muted
public static bool IsMuted()
Returns: True if muted, false otherwise
Process a pre-recorded audio clip for testing or analysis
public static string ProcessAudioFile(AudioClip audioClip)
Parameters:
- audioClip: The audio clip to process
Returns: Status message indicating processing result
Audio clip must be uncompressed or load type set to Decompress On Load.
Submit the last 60 seconds of game audio as evidence for manual review
public static string SubmitPlayerReport(string reportedUniqueID)
Parameters:
- reportedUniqueID: The unique identifier of the player being reported
Returns: Status message indicating whether the report submission started successfully
Attach custom JSON-serializable metadata (max 200 bytes) to audio submissions
public static string SetMetadata(T metadata)
Parameters:
- metadata: The JSON-serializable data
Returns: Status message indicating setting result
Example:
var metadata = new {
playerLevel = 42,
gameMode = "Competitive",
mapName = "Dust2",
teamSize = 5
};
VoicePatrolWrapper.SetMetadata(metadata);
Voice Engine Integration
VoicePatrol works alongside your existing voice chat solution. The recommended approach is to check your voice engine's muted state once per second rather than every frame. Here are integration examples:
void Start()
{
// Check Vivox state every second
InvokeRepeating(nameof(UpdateVoicePatrolMutedState), 1f, 1f);
}
private void UpdateVoicePatrolMutedState()
{
bool isMuted = Unity.Services.Vivox.VivoxService.Instance == null ||
Unity.Services.Vivox.VivoxService.Instance.ActiveChannels.Count == 0 ||
Unity.Services.Vivox.VivoxService.Instance.IsInputDeviceMuted;
VoicePatrolWrapper.SetMuted(isMuted);
}
void Start()
{
InvokeRepeating(nameof(UpdateVoicePatrolMutedState), 1f, 1f);
}
private void UpdateVoicePatrolMutedState()
{
bool isMuted = PhotonVoiceNetwork.Instance == null ||
PhotonVoiceNetwork.Instance.ClientState != ClientState.Joined ||
!PhotonVoiceNetwork.Instance.PrimaryRecorder.IsRecording;
VoicePatrolWrapper.SetMuted(isMuted);
}
private DissonanceComms _dissonanceComms;
void Start()
{
_dissonanceComms = FindObjectOfType();
InvokeRepeating(nameof(UpdateVoicePatrolMutedState), 1f, 1f);
}
private void UpdateVoicePatrolMutedState()
{
bool isMuted = _dissonanceComms == null || _dissonanceComms.IsMuted;
VoicePatrolWrapper.SetMuted(isMuted);
}
void Start()
{
InvokeRepeating(nameof(UpdateVoicePatrolMutedState), 1f, 1f);
}
private void UpdateVoicePatrolMutedState()
{
bool isMuted = !MyVoiceEngine.IsConnected() ||
!MyVoiceEngine.IsMicrophoneActive() ||
MyVoiceEngine.IsLocalPlayerMuted();
VoicePatrolWrapper.SetMuted(isMuted);
}
Advanced Features
Age Verification
When enabled, VoicePatrol analyzes the first 60 seconds of clear speech to estimate player age. The model returns specific age ranges: 0-5, 6-6, 7-7, 8-8, 9-11, 11-12, 13-15, 16-100.
void OnEnable()
{
VoicePatrolWrapper.OnAgeVerified += HandleAgeVerification;
}
private void HandleAgeVerification(VoicePatrolWrapper.AgeVerificationData data)
{
Debug.Log($"Player {data.UniqueId} estimated age range: {data.MinAge}-{data.MaxAge}");
// Apply age-appropriate restrictions based on specific ranges
if (data.MaxAge <= 12)
{
// Child safety measures (0-5, 6-6, 7-7, 8-8, 9-11, 11-12)
EnableChildSafetyMode();
RestrictChatFeatures();
RequireParentalSupervision();
}
else if (data.MaxAge <= 15)
{
// Teen safety features (13-15)
EnableTeenSafetyFeatures();
EnableContentFiltering();
}
else
{
// Adult content allowed (16-100)
EnableFullFeatures();
}
}
Player Reporting System
Implement an evidence based reporting system:
public class PlayerReportingSystem : MonoBehaviour
{
public void ReportPlayer(string playerId, string reportReason)
{
// Submit audio evidence
string result = VoicePatrolWrapper.SubmitPlayerReport(playerId, reportReason);
Debug.Log($"VoicePatrol: {result}");
}
}
How Player Reporting Works:
VoicePatrol continuously captures a rolling 2-minute window of your game's mixed audio output - everything the player says and hears through their speakers or headphones. When SubmitPlayerReport() is called, it immediately uploads the last 2 minutes of captured audio as evidence.
This approach ensures reliable evidence collection because:
- - No audio loss: Evidence is already captured before the report is made
- - Complete context: Captures all audio the player heard, regardless of voice chat complexity
- - Works with any setup: Proximity chat, team channels, spatial audio - if the player heard it, it's captured
The submitted audio file is tagged with the reported player's ID and sent for human moderation review in your dashboard.
Voice Business Intelligence
Track voice communication patterns and player sentiment:
// Enable Voice BI during SDK initialization
VoicePatrolWrapper.StartVoicePatrol(
token: apiKey,
voiceBI: true // Enable BI features
);
Best Practices
Performance Optimization
Muting Logic - Check Voice Engine State Periodically
Setting the muted state is not computationally expensive - it simply sets an internal boolean flag that causes early returns in processing functions. Check your voice engine's muted state once per second rather than every frame:
void Start()
{
// Check voice engine muted state every second
InvokeRepeating(nameof(UpdateVoicePatrolMutedState), 1f, 1f);
}
private void UpdateVoicePatrolMutedState()
{
bool shouldMute = !IsInVoiceChat() || IsVoiceChatMuted();
VoicePatrolWrapper.SetMuted(shouldMute);
}
// Example voice engine state checking
private bool IsInVoiceChat()
{
// Replace with your voice engine's connection check
return MyVoiceEngine.IsConnectedToChannel();
}
private bool IsVoiceChatMuted()
{
// Replace with your voice engine's muted state
return MyVoiceEngine.IsMicrophoneMuted();
}
Memory Management
void OnDestroy()
{
// Always clean up event subscriptions
VoicePatrolWrapper.OnViolationDetected -= HandleViolation;
VoicePatrolWrapper.OnAgeVerified -= HandleAgeVerification;
}
void OnApplicationPause(bool pauseStatus)
{
if (pauseStatus)
{
// Mute when app is backgrounded
VoicePatrolWrapper.SetMuted(true);
}
}
Troubleshooting
Common Issues
Audio Clip Processing Fails.
// Ensure audio clip is properly configured
if (audioClip.loadType != AudioClipLoadType.DecompressOnLoad)
{
Debug.LogError("Audio clip must be set to 'Decompress On Load' for processing");
return;
}
Debug Information
Debug logs will show SDK initialization progress, audio device detection, age verification buffer status, player report uploads, and authentication issues. This information is essential for diagnosing microphone access problems, API key issues, and feature-specific troubleshooting.
// Start with debug logs enabled
VoicePatrolWrapper.StartVoicePatrol(
token: apiKey,
debugLogs: true
);
Platform-Specific Notes
Android
- - Requires API level 23 (Android 6.0) minimum
- - Microphone permission automatically requested
- - Supports ARM64 architecture
- - Tested on various Android versions and devices
Windows/Mac/Linux
- - No special permissions required
- - Supports x64 architecture
- - Tested with various audio drivers and hardware
Build Settings
#if UNITY_ANDROID
// Android-specific code
#elif UNITY_STANDALONE
// Desktop-specific code
#endif
Introduction
VoicePatrol is a comprehensive voice moderation SDK that provides real-time analysis of voice communications in multiplayer games. It offers automated content moderation, age verification, player reporting, and voice analytics to create safer gaming environments.
Real-time Voice Moderation
Automatically detect harmful speech patterns, harassment, and inappropriate content.
Age Verification
Estimate player age from voice samples for age-appropriate experiences.
Multi-platform Support
Android, Windows, macOS, and Linux
Voice Engine Agnostics
Works with Vivox, Photon Voice, Dissonance, and custom solutions.
Installation & Setup
Prerequisites
- - Unreal Engine 4.0 or newer
- - Target platforms: Android API 23+, Windows 10+, macOS 10.15+
- - Microphone permissions on target platforms
- - Internet access
Installation Steps
- Download: Download the VoicePatrol Unreal plugin from the Get Started page.
- Extract: Extract the downloaded file to your plugins folder (if you don't have a plugins folder you can create one in your project root folder).
- Use Actor: Drag and drop the OpticoSDK blueprint actor located at /All/Plugins/Classes_VoicePatrolSDK/VoicePatrolSDK/Public into your starting scene.
- Configure Actor:
- - Enter your API token from the dashboard
- - Ensure muted is set to false (the SDK starts in the muted state by default)
- - Set optional fields: specify your own Unique ID, additional logging, UI overlay widget
- Configure Actor:

Privacy Policy Requirements
We also understand that data privacy can be a confusing topic so we wanted to make sure that our customers have the correct information for your privacy policy. Since you are using VoicePatrol’s services, you might need to make changes to your privacy policy to address that you have a subprocessor (i.e. third parties that you share data with). As such we want to inform you of these possible changes and some sample language that you might be able to use.
*******DISCLAIMER*******
The following information, including clauses, are provided to our customers for informational purposes only and are intended to help them understand the Privacy Requirements from Meta so they can ask the right questions with the attorney of your choice. Nothing here is intended to substitute for legal advice from a licensed attorney and is not intended to constitute legal advice. Our customers should seek legal advice to update your Privacy Policy. Information here may not constitute the most up-to-date information. All liability with respect to actions taken or not taken based on this information are hereby expressly disclaimed. The information here is provided "as is" and no representations are made that the content is error-free.
**************
Meta requires that you share with your users that you are sharing data with third parties such as VoicePatrol. You have to disclose this information in two places: 1) in your privacy policy and 2) on your website. Within your privacy policy you must state that you share data with third parties and the reason for sharing this data. The following is an example of a clause that could be used in privacy policy specifying that you share data with third parties such as VoicePatrol (note: these clauses may need to be adapted according to your specific privacy policy requirements):
-----------------------
“We may provide your personal information to third parties, where we do not receive a monetary payment, including: To Service Providers: A “Service Provider” is a company or person which processes your personal information for a business purpose under a written contract between us and the Service Provider. We may transfer your personal information to a third party Service Provider for business purposes. Examples of a business purpose are providing services such as searching for unauthorized content.”
-----------------------
Within your website you must state that you have sub-processors. You must have a list of sub-processors, the reason/purpose for sharing this data, and where the data is being processed by the third party. The following is an example of a statement that could be used on your website for VoicePatrol. (note: these clauses may need to be adapted according to your specific privacy policy requirements):
**************
VENDOR Optico, Inc. - The VoicePatrol product
PURPOSE VoicePatrol Services is used to monitor unauthorized content
DATA CENTERS United States
Frequently Asked
General
Delays can allow harmful behavior to escalate, leading to poor user experiences and increased churn. VoicePatrol’s real-time detection addresses issues instantly—typically within 30 seconds—minimizing harm to your community.
With no monthly minimum, VoicePatrol costs only ¢1.99 per audio hour and offers a 2 week free trial for new users.
Yes, VoicePatrol is compatible with major platforms, including Unity, and integrates quickly with minimal setup.
Setup and Functionality
VoicePatrol is designed for rapid integration—setup takes about 4 minutes in Unity, with only minimal back-end support needed.
No, VoicePatrol only stores flagged interactions, discarding all other data immediately to prioritize privacy.
Yes, VoicePatrol allows custom settings for toxicity categories, severity levels, and automated responses to align with your platform’s needs.
Yes, our AI fully automates the detection process, reducing the need for human moderation and lowering operational costs.
Product Benefits and Impact
By filtering out harmful interactions, VoicePatrol creates a positive community experience, leading to happier, more engaged users. Platforms report a 24% reduction in churn and an 11% boost in revenue after one quarter.
The web-based dashboard provides data on flagged incidents, severity levels, and community health trends, enabling long-term management and improvement.
VoicePatrol offers competitive pricing, fast integration, and real-time filtering across multiple formats without a monthly minimum, unlike many alternatives.
Yes, VoicePatrol scales to manage large volumes of interactions, making it ideal for high-traffic platforms.
Industry Standards and Data
Studies show 80% of players encounter toxicity online, with 67% avoiding certain spaces due to these interactions.
Proactive filtering like VoicePatrol’s reduces harm immediately, creating a more positive environment and boosting user satisfaction and trust.
Unchecked harmful behavior can damage a platform’s image. Filtering keeps spaces safe and inclusive, contributing to positive brand sentiment and user loyalty.
New laws, such as the California Kids Code, impose fines on platforms that fail to manage harmful interactions. VoicePatrol helps reduce PR and legal risks.
Trial and Support
Yes, new users can try VoicePatrol with 500 free audio hours to test its impact.
Absolutely, we offer customer support during setup and a demo to walk you through features, customization, and integration.
Yes, book a demo to explore VoicePatrol’s functionality and see how it fits your needs.
Still have questions?
Start Your Free Trial Today
Not sure how many audio-hours you have? Find out during the no-limit, 2-week free trial.
