Method CaptureStream
CaptureStream(Camera, int, int, int, RenderTextureDepth)
Declaration
public static MediaStream CaptureStream(this Camera cam, int width, int height, int bitrate, RenderTextureDepth depth = RenderTextureDepth.DEPTH_24)
Parameters
| Type | Name | Description |
|---|---|---|
| Camera | cam | |
| int | width | |
| int | height | |
| int | bitrate | |
| RenderTextureDepth | depth |
Returns
| Type | Description |
|---|---|
| MediaStream |