docs.unity3d.com
Version: 

    Struct EncoderSettings

    Fields

    frameRate UInt: Specifies the frame rate used for encoding in frames per second.

    averageBitRate UInt: Specifies the average bitrate(in bits/sec) used for encoding.

    maxBitRate UInt: Specifies the maximum bitrate for the encoded output. This is used for VBR and ignored for CBR mode.

    rateControl RateControl: Specifies the rate control mode. (Constant QP Mode, Constant bitrate mode, Variable bitrate mode.

    qp QP: Specifies the initial QP to be used for encoding, these values would be used for all frames if in Constant QP mode.

    targetQuality UInt: Target CQ (Constant Quality) level for VBR mode (range 0-51 with 0-automatic).

    Functions accepting this type or a list of this type as a parameter:

    • view.createStreamedViewer
    • view.resizeStreamedViewer
    • view.startRecording
    Namespace: View
    Syntax
    Version 2025.2.0.1
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX.