Method CreateStreamedViewer
CreateStreamedViewer(int, int, EncoderSettings, bool)
create a viewer for streaming
Declaration
public StreamedViewerInfo CreateStreamedViewer(int width, int height, EncoderSettings encoderSettings = null, bool webStreaming = false)
Parameters
| Type | Name | Description |
|---|---|---|
| int | width | Width of the viewer framebuffer |
| int | height | Height of the viewer framebuffer |
| EncoderSettings | encoderSettings | Settings used for the encoder |
| bool | webStreaming | Start a websocket server |
Returns
| Type | Description |
|---|---|
| StreamedViewerInfo |