Share via


VideoParams Class

Definition

Video streaming parameters for avatar.

public class VideoParams : System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.VideoParams>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.VideoParams>
type VideoParams = class
    interface IJsonModel<VideoParams>
    interface IPersistableModel<VideoParams>
Public Class VideoParams
Implements IJsonModel(Of VideoParams), IPersistableModel(Of VideoParams)
Inheritance
VideoParams
Implements

Constructors

Name Description
VideoParams()

Initializes a new instance of VideoParams.

Properties

Name Description
Background

Optional background settings for the video. Allows specifying either a solid color or an image URL.

Bitrate

Bitrate in bits per second (e.g., 2000000 for 2 Mbps).

Codec

Codec to use for encoding. Currently only 'h264' is supported.

Crop

Optional cropping settings for the video stream.

GopSize

Group of Pictures (GOP) size for video encoding. Controls the interval between keyframes, affecting compression efficiency and seeking performance.

Resolution

Optional resolution settings for the video stream.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<VideoParams>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<VideoParams>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<VideoParams>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<VideoParams>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<VideoParams>.Write(ModelReaderWriterOptions)

Applies to