Class WebRTC
Syntax
public static class WebRTC
Properties
PeerList
Declaration
public static IReadOnlyList<WeakReference<RTCPeerConnection>> PeerList { get; }
Property Value
Methods
Dispose()
Declaration
public static void Dispose()
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
Initialize(Boolean, Boolean, NativeLoggingSeverity)
Declaration
public static void Initialize(bool limitTextureSize = true, bool enableNativeLog = false, NativeLoggingSeverity nativeLoggingSeverity = NativeLoggingSeverity.LS_INFO)
Parameters
Update()
Declaration
public static IEnumerator Update()
Returns
Declaration
public static void ValidateGraphicsFormat(GraphicsFormat format)
Parameters
ValidateTextureSize(Int32, Int32, RuntimePlatform)
Declaration
public static RTCError ValidateTextureSize(int width, int height, RuntimePlatform platform)
Parameters
Returns