@ -29,6 +29,9 @@ public class EpicVoiceChatTest : MonoBehaviour
// This also allows multiple clients to connect to the same lobby without having to communicate the ID among each other.
// This also allows multiple clients to connect to the same lobby without having to communicate the ID among each other.
private const string DebugLobbyId = "a0f6a51f-6b61-4c95-9ed8-a1d508fe4eb6" ;
private const string DebugLobbyId = "a0f6a51f-6b61-4c95-9ed8-a1d508fe4eb6" ;
[SerializeField]
private string devAuthAddress ;
private readonly StringBuilder status = new StringBuilder ( "Status:\n" ) ;
private readonly StringBuilder status = new StringBuilder ( "Status:\n" ) ;
private PlatformInterface platformInterface ;
private PlatformInterface platformInterface ;
@ -247,12 +250,19 @@ public class EpicVoiceChatTest : MonoBehaviour
#else
#else
private Credentials GetEpicCredentials ( ) // This is platform-specific (actually it's not, we can skip this on consoles)
private Credentials GetEpicCredentials ( ) // This is platform-specific (actually it's not, we can skip this on consoles)
{
{
if ( ! string . IsNullOrEmpty ( devAuthAddress ) )
{
return new Credentials
{
Id = devAuthAddress ,
Type = LoginCredentialType . Developer ,
Token = SystemInfo . deviceName ,
} ;
}
return new Credentials
return new Credentials
{
{
// Type = LoginCredentialType.AccountPortal, // Use ExternalAuth on console platform
Id = "192.168.1.100:8888" ,
Type = LoginCredentialType . Developer ,
Token = SystemInfo . deviceName ,
Type = LoginCredentialType . AccountPortal , // Use ExternalAuth on console platform
} ;
} ;
}
}