/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the ivs-2020-07-14.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.IVS.Model
{
///
/// Object specifying a stream’s video configuration, as set up by the broadcaster (usually
/// in an encoder). This is part of the IngestConfiguration object and used for
/// monitoring stream health.
///
public partial class VideoConfiguration
{
private string _avcLevel;
private string _avcProfile;
private string _codec;
private string _encoder;
private long? _targetBitrate;
private long? _targetFramerate;
private long? _videoHeight;
private long? _videoWidth;
///
/// Gets and sets the property AvcLevel.
///
/// Indicates the degree of required decoder performance for a profile. Normally this
/// is set automatically by the encoder. For details, see the H.264 specification.
///
///
public string AvcLevel
{
get { return this._avcLevel; }
set { this._avcLevel = value; }
}
// Check to see if AvcLevel property is set
internal bool IsSetAvcLevel()
{
return this._avcLevel != null;
}
///
/// Gets and sets the property AvcProfile.
///
/// Indicates to the decoder the requirements for decoding the stream. For definitions
/// of the valid values, see the H.264 specification.
///
///
public string AvcProfile
{
get { return this._avcProfile; }
set { this._avcProfile = value; }
}
// Check to see if AvcProfile property is set
internal bool IsSetAvcProfile()
{
return this._avcProfile != null;
}
///
/// Gets and sets the property Codec.
///
/// Codec used for the video encoding.
///
///
public string Codec
{
get { return this._codec; }
set { this._codec = value; }
}
// Check to see if Codec property is set
internal bool IsSetCodec()
{
return this._codec != null;
}
///
/// Gets and sets the property Encoder.
///
/// Software or hardware used to encode the video.
///
///
public string Encoder
{
get { return this._encoder; }
set { this._encoder = value; }
}
// Check to see if Encoder property is set
internal bool IsSetEncoder()
{
return this._encoder != null;
}
///
/// Gets and sets the property TargetBitrate.
///
/// The expected ingest bitrate (bits per second). This is configured in the encoder.
///
///
public long TargetBitrate
{
get { return this._targetBitrate.GetValueOrDefault(); }
set { this._targetBitrate = value; }
}
// Check to see if TargetBitrate property is set
internal bool IsSetTargetBitrate()
{
return this._targetBitrate.HasValue;
}
///
/// Gets and sets the property TargetFramerate.
///
/// The expected ingest framerate. This is configured in the encoder.
///
///
public long TargetFramerate
{
get { return this._targetFramerate.GetValueOrDefault(); }
set { this._targetFramerate = value; }
}
// Check to see if TargetFramerate property is set
internal bool IsSetTargetFramerate()
{
return this._targetFramerate.HasValue;
}
///
/// Gets and sets the property VideoHeight.
///
/// Video-resolution height in pixels.
///
///
public long VideoHeight
{
get { return this._videoHeight.GetValueOrDefault(); }
set { this._videoHeight = value; }
}
// Check to see if VideoHeight property is set
internal bool IsSetVideoHeight()
{
return this._videoHeight.HasValue;
}
///
/// Gets and sets the property VideoWidth.
///
/// Video-resolution width in pixels.
///
///
public long VideoWidth
{
get { return this._videoWidth.GetValueOrDefault(); }
set { this._videoWidth = value; }
}
// Check to see if VideoWidth property is set
internal bool IsSetVideoWidth()
{
return this._videoWidth.HasValue;
}
}
}