docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)