/// <summary>
 /// Initializes a new instance of the SelectVideoTrackByAttribute
 /// class.
 /// </summary>
 /// <param name="attribute">The TrackAttribute to filter the tracks by.
 /// Possible values include: 'Bitrate', 'Language'</param>
 /// <param name="filter">The type of AttributeFilter to apply to the
 /// TrackAttribute in order to select the tracks. Possible values
 /// include: 'All', 'Top', 'Bottom', 'ValueEquals'</param>
 /// <param name="filterValue">The value to filter the tracks by.  Only
 /// used when AttributeFilter.ValueEquals is specified for the Filter
 /// property. For TrackAttribute.Bitrate, this should be an integer
 /// value in bits per second (e.g: '1500000').  The
 /// TrackAttribute.Language is not supported for video tracks.</param>
 public SelectVideoTrackByAttribute(TrackAttribute attribute, AttributeFilter filter, string filterValue = default(string))
 {
     Attribute   = attribute;
     Filter      = filter;
     FilterValue = filterValue;
     CustomInit();
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the SelectAudioTrackByAttribute
 /// class.
 /// </summary>
 /// <param name="attribute">The TrackAttribute to filter the tracks by.
 /// Possible values include: 'Bitrate', 'Language'</param>
 /// <param name="filter">The type of AttributeFilter to apply to the
 /// TrackAttribute in order to select the tracks. Possible values
 /// include: 'All', 'Top', 'Bottom', 'ValueEquals'</param>
 /// <param name="channelMapping">Optional designation for single
 /// channel audio tracks.  Can be used to combine the tracks into
 /// stereo or multi-channel audio tracks. Possible values include:
 /// 'FrontLeft', 'FrontRight', 'Center', 'LowFrequencyEffects',
 /// 'BackLeft', 'BackRight', 'StereoLeft', 'StereoRight'</param>
 /// <param name="filterValue">The value to filter the tracks by.  Only
 /// used when AttributeFilter.ValueEquals is specified for the Filter
 /// property.</param>
 public SelectAudioTrackByAttribute(TrackAttribute attribute, AttributeFilter filter, ChannelMapping?channelMapping = default(ChannelMapping?), string filterValue = default(string))
     : base(channelMapping)
 {
     Attribute   = attribute;
     Filter      = filter;
     FilterValue = filterValue;
     CustomInit();
 }