/*
* 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 medialive-2017-10-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.MediaLive.Model
{
///
/// Audio Only Hls Settings
///
public partial class AudioOnlyHlsSettings
{
private string _audioGroupId;
private InputLocation _audioOnlyImage;
private AudioOnlyHlsTrackType _audioTrackType;
private AudioOnlyHlsSegmentType _segmentType;
///
/// Gets and sets the property AudioGroupId. Specifies the group to which the audio Rendition
/// belongs.
///
public string AudioGroupId
{
get { return this._audioGroupId; }
set { this._audioGroupId = value; }
}
// Check to see if AudioGroupId property is set
internal bool IsSetAudioGroupId()
{
return this._audioGroupId != null;
}
///
/// Gets and sets the property AudioOnlyImage. Optional. Specifies the .jpg or .png image
/// to use as the cover art for an audio-only output. We recommend a low bit-size file
/// because the image increases the output audio bandwidth.The image is attached to the
/// audio as an ID3 tag, frame type APIC, picture type 0x10, as per the "ID3 tag version
/// 2.4.0 - Native Frames" standard.
///
public InputLocation AudioOnlyImage
{
get { return this._audioOnlyImage; }
set { this._audioOnlyImage = value; }
}
// Check to see if AudioOnlyImage property is set
internal bool IsSetAudioOnlyImage()
{
return this._audioOnlyImage != null;
}
///
/// Gets and sets the property AudioTrackType. Four types of audio-only tracks are supported:Audio-Only
/// Variant StreamThe client can play back this audio-only stream instead of video in
/// low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest.Alternate
/// Audio, Auto Select, DefaultAlternate rendition that the client should try to play
/// back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES,
/// AUTOSELECT=YESAlternate Audio, Auto Select, Not DefaultAlternate rendition that the
/// client may try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest
/// with DEFAULT=NO, AUTOSELECT=YESAlternate Audio, not Auto SelectAlternate rendition
/// that the client will not try to play back by default. Represented as an EXT-X-MEDIA
/// in the HLS manifest with DEFAULT=NO, AUTOSELECT=NO
///
public AudioOnlyHlsTrackType AudioTrackType
{
get { return this._audioTrackType; }
set { this._audioTrackType = value; }
}
// Check to see if AudioTrackType property is set
internal bool IsSetAudioTrackType()
{
return this._audioTrackType != null;
}
///
/// Gets and sets the property SegmentType. Specifies the segment type.
///
public AudioOnlyHlsSegmentType SegmentType
{
get { return this._segmentType; }
set { this._segmentType = value; }
}
// Check to see if SegmentType property is set
internal bool IsSetSegmentType()
{
return this._segmentType != null;
}
}
}