Class WebRTC
Syntax
public static class WebRTC
Properties
CodecInitializationResult
Not implement this property.
Please check each track about initialization. (VideoStreamTrack.IsInitialized)
This property will be removed next major version up.
Declaration
[Obsolete("Use 'VideoStreamTrack.IsInitialized' instead.", true)]
public static CodecInitializationResult CodecInitializationResult { get; }
Property Value
Exceptions
PeerList
Declaration
public static IReadOnlyList<RTCPeerConnection> PeerList { get; }
Property Value
SupportHardwareEncoder
Declaration
public static bool SupportHardwareEncoder { get; }
Property Value
Methods
Dispose()
Declaration
public static void Dispose()
GetEncoderType()
Declaration
public static EncoderType GetEncoderType()
Returns
GetSupportedRenderTextureFormat(GraphicsDeviceType)
Declaration
public static RenderTextureFormat GetSupportedRenderTextureFormat(GraphicsDeviceType type)
Parameters
Returns
Initialize(EncoderType)
Declaration
public static void Initialize(EncoderType type = EncoderType.Hardware)
Parameters
Sync(IntPtr, Action)
Declaration
public static void Sync(IntPtr ptr, Action callback)
Parameters
Update()
Declaration
public static IEnumerator Update()
Returns