Class CustomVideoSource<T>
Abstract base component for a custom video source delivering raw video frames directly to the WebRTC implementation.
Inheritance
CustomVideoSource<T>
Inherited Members
Namespace: Microsoft.MixedReality.WebRTC.Unity
Assembly: cs.temp.dll.dll
Syntax
public abstract class CustomVideoSource<T> : VideoTrackSource where T : IVideoFrameStorage
Type Parameters
Name | Description |
---|---|
T |
Methods
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()
OnFrameRequested(in FrameRequest)
Declaration
protected abstract void OnFrameRequested(in FrameRequest request)
Parameters
Type | Name | Description |
---|---|---|
FrameRequest | request |