你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

VideoParams()

Initializes a new instance of VideoParams.

Properties

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

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

Explicit Interface Implementations

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