Class WebRTC
Syntax
public static class WebRTC
Properties
enableLimitTextureSize
Declaration
public static bool enableLimitTextureSize { get; set; }
Property Value
Logger
Declaration
public static ILogger Logger { get; set; }
Property Value
Methods
Configure native logging settings for WebRTC.
Declaration
public static void ConfigureNativeLogging(bool enableNativeLogging, NativeLoggingSeverity nativeLoggingSeverity)
Parameters
Type |
Name |
Description |
Boolean |
enableNativeLogging |
Enables or disable native logging.
|
NativeLoggingSeverity |
nativeLoggingSeverity |
Sets the native logging level.
|
ExecutePendingTasks(Int32)
Executes any pending tasks generated asynchronously during the WebRTC runtime.
Declaration
public static bool ExecutePendingTasks(int millisecondTimeout)
Parameters
Type |
Name |
Description |
Int32 |
millisecondTimeout |
The amount of time in milliseconds that the task queue can take before task execution will cease.
|
Returns
Type |
Description |
Boolean |
true if all pending tasks were completed within milliseconds and false
otherwise.
|
Declaration
public static GraphicsFormat GetSupportedGraphicsFormat(GraphicsDeviceType type)
Parameters
Returns
GetSupportedRenderTextureFormat(GraphicsDeviceType)
Declaration
public static RenderTextureFormat GetSupportedRenderTextureFormat(GraphicsDeviceType type)
Parameters
Returns
GetSupportedTextureFormat(GraphicsDeviceType)
Declaration
public static TextureFormat GetSupportedTextureFormat(GraphicsDeviceType type)
Parameters
Returns
Update()
Declaration
public static IEnumerator Update()
Returns
Declaration
public static void ValidateGraphicsFormat(GraphicsFormat format)
Parameters