Skip to content

Commit

Permalink
Merge branch 'main' into ios-microphone-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt-Carey committed Jun 18, 2024
2 parents d7a808a + faaab67 commit 55329ea
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,12 @@ UInworldAIEditorSettings::UInworldAIEditorSettings(const FObjectInitializer& Obj
CharacterPlaybacks = { UInworldCharacterPlaybackTrigger::StaticClass() };
OtherCharacterComponents = { UInworldCharacterAudioComponent::StaticClass() };

InworldStudioWidget = "/InworldAI/StudioWidget/EUW_InworldStudio.EUW_InworldStudio";
static ConstructorHelpers::FClassFinder<UActorComponent> ChatComponent3DClassFinder(TEXT("/InworldAI/Components/ChatBubbles/BP_ChatBubblesComponent"));
if (ChatComponent3DClassFinder.Class)
{
OtherCharacterComponents.Add(ChatComponent3DClassFinder.Class);
}


InworldStudioWidget = FSoftObjectPath{ TEXT("EditorUtilityWidgetBlueprint'/InworldAI/StudioWidget/EUW_InworldStudio.EUW_InworldStudio'") };
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ typedef void (*Callback)(bool);

-(int) getPermission
{
if(nil == [[NSBundle mainBundle] objectForInfoDictionaryKey:@"NSMicrophoneUsageDescription"]) return -1;

switch([AVCaptureDevice authorizationStatusForMediaType : AVMediaTypeAudio])
{
case AVAuthorizationStatusAuthorized:
Expand Down

0 comments on commit 55329ea

Please sign in to comment.