Skip to content
Snippets Groups Projects
Commit 554fdb14 authored by Nicholas Nakano's avatar Nicholas Nakano
Browse files

Attempted rework of Voice Chat UI Widget. Still work in progress.

parent 37363443
No related branches found
No related tags found
No related merge requests found
......@@ -124,6 +124,16 @@ TArray<FVoiceDevice> AARNOPlayerController::GetOutputDevices()
return OutputDevices;
}
void AARNOPlayerController::SetVoiceInputDevice(FString DeviceID)
{
VoiceChatUser->SetInputDeviceId(DeviceID);
}
void AARNOPlayerController::SetVoiceOutputDevice(FString DeviceID)
{
VoiceChatUser->SetOutputDeviceId(DeviceID);
}
void AARNOPlayerController::MuteVOIP()
{
if (VoiceChatUser!=nullptr && VoiceChatUser->IsLoggedIn())
......
......@@ -62,6 +62,12 @@ public:
UFUNCTION(BlueprintCallable)
TArray<FVoiceDevice> GetOutputDevices();
UFUNCTION(BlueprintCallable)
void SetVoiceInputDevice(FString DeviceID);
UFUNCTION(BlueprintCallable)
void SetVoiceOutputDevice(FString DeviceID);
UFUNCTION(BlueprintCallable)
void MuteVOIP();
UFUNCTION(BlueprintCallable)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment