System::setNetworkTimeout

FMOD Studio API

Firelight Technologies FMOD Studio API

System::setNetworkTimeout

Set the timeout for network streams.

C++ Syntax

FMOD_RESULT System::setNetworkTimeout(
  int timeout
);

C Syntax

FMOD_RESULT FMOD_System_SetNetworkTimeout(
  FMOD_SYSTEM *system,
  int timeout
);

C# Syntax

RESULT System.setNetworkTimeout(
  int timeout
);

JavaScript Syntax

System.setNetworkTimeout(
  timeout                          
);

Parameters

timeout
The timeout value in ms.

Return Values

If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.

Remarks

The default timeout is 5000ms.

See Also




Version 1.10.03 Built on Feb 1, 2018