Class VideoStreamTrack
Implements
Inherited Members
Namespace: Unity.WebRTC
Assembly: solution.dll
Syntax
public class VideoStreamTrack : MediaStreamTrack, IDisposable
Constructors
| Name | Description |
|---|---|
| VideoStreamTrack(string, IntPtr, int, int, GraphicsFormat) | Creates a new VideoStream object.
The track is created with a source texture See Also: Texture.GetNativeTexturePtr |
| VideoStreamTrack(string, RenderTexture) | Creates a new VideoStream object.
The track is created with a |
| VideoStreamTrack(string, Texture) |
Properties
| Name | Description |
|---|---|
| IsDecoderInitialized | |
| IsEncoderInitialized | note: The videotrack cannot be used if the encoder has not been initialized. Do not use it until the initialization is complete. |
Methods
| Name | Description |
|---|---|
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| InitializeReceiver(int, int) |