Constructor VideoStreamTrack
VideoStreamTrack(Texture, CopyTexture)
Video Sender
Creates a new VideoStream object.
The track is created with a source
.
Declaration
public VideoStreamTrack(Texture texture, CopyTexture copyTexture = null)
Parameters
Type | Name | Description |
---|---|---|
Texture | texture | |
CopyTexture | copyTexture | By default, textures are copied vertically flipped, using CopyTextureHelper.VerticalFlipCopy, use Graphics.Blit for copy as is, CopyTextureHelper for flip, or write your own CopyTexture function |
Exceptions
Type | Condition |
---|---|
InvalidOperationException |