Method CreateStreamedViewer
CreateStreamedViewer(int, int, EncoderSettings, bool, WebRTCInfo?)
create a viewer for streaming
Declaration
[HandleProcessCorruptedStateExceptions]
public StreamedViewerInfo CreateStreamedViewer(int width, int height, EncoderSettings encoderSettings = null, bool useWebRTC = false, WebRTCInfo? webRTCInfo = null)
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 | useWebRTC | Switch between raw websockets and webRTC |
WebRTCInfo? | webRTCInfo | Info for web rtc signaling connection |
Returns
Type | Description |
---|---|
StreamedViewerInfo |