Class ConditionProcessor
  
  
  
  
    Inheritance
    System.Object
    ConditionProcessor
   
  
  Assembly: MediaBrowser.Model.dll
  
  
    public class ConditionProcessor
   
  Methods
  
  
  
  
  
  
  
  Declaration
  
    public bool IsAudioConditionSatisfied(ProfileCondition condition, int? audioChannels, int? audioBitrate, int? audioSampleRate, int? audioBitDepth)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | ProfileCondition | condition |  | 
      
        | System.Nullable<System.Int32> | audioChannels |  | 
      
        | System.Nullable<System.Int32> | audioBitrate |  | 
      
        | System.Nullable<System.Int32> | audioSampleRate |  | 
      
        | System.Nullable<System.Int32> | audioBitDepth |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
  
  
  
  
  
  Declaration
  
    public bool IsImageConditionSatisfied(ProfileCondition condition, int? width, int? height)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | ProfileCondition | condition |  | 
      
        | System.Nullable<System.Int32> | width |  | 
      
        | System.Nullable<System.Int32> | height |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
  
  
  
  
  
  Declaration
  
    public bool IsVideoAudioConditionSatisfied(ProfileCondition condition, int? audioChannels, int? audioBitrate, int? audioSampleRate, int? audioBitDepth, ReadOnlySpan<char> audioProfile, bool? isSecondaryTrack, bool? isExternalTrack)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | ProfileCondition | condition |  | 
      
        | System.Nullable<System.Int32> | audioChannels |  | 
      
        | System.Nullable<System.Int32> | audioBitrate |  | 
      
        | System.Nullable<System.Int32> | audioSampleRate |  | 
      
        | System.Nullable<System.Int32> | audioBitDepth |  | 
      
        | System.ReadOnlySpan<System.Char> | audioProfile |  | 
      
        | System.Nullable<System.Boolean> | isSecondaryTrack |  | 
      
        | System.Nullable<System.Boolean> | isExternalTrack |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
  
  
  
  
  
  Declaration
  
    public bool IsVideoConditionSatisfied(ProfileCondition condition, int? width, int? height, int? videoBitDepth, int? videoBitrate, ReadOnlySpan<char> videoProfile, ReadOnlySpan<char> videoRange, double? videoLevel, float videoFramerate, TransportStreamTimestamp? timestamp, bool? isAnamorphic, bool? isInterlaced, int? refFrames, int? videoRotation, int? numVideoStreams, int? numAudioStreams, ReadOnlySpan<char> videoCodecTag)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | ProfileCondition | condition |  | 
      
        | System.Nullable<System.Int32> | width |  | 
      
        | System.Nullable<System.Int32> | height |  | 
      
        | System.Nullable<System.Int32> | videoBitDepth |  | 
      
        | System.Nullable<System.Int32> | videoBitrate |  | 
      
        | System.ReadOnlySpan<System.Char> | videoProfile |  | 
      
        | System.ReadOnlySpan<System.Char> | videoRange |  | 
      
        | System.Nullable<System.Double> | videoLevel |  | 
      
        | System.Single | videoFramerate |  | 
      
        | System.Nullable<TransportStreamTimestamp> | timestamp |  | 
      
        | System.Nullable<System.Boolean> | isAnamorphic |  | 
      
        | System.Nullable<System.Boolean> | isInterlaced |  | 
      
        | System.Nullable<System.Int32> | refFrames |  | 
      
        | System.Nullable<System.Int32> | videoRotation |  | 
      
        | System.Nullable<System.Int32> | numVideoStreams |  | 
      
        | System.Nullable<System.Int32> | numAudioStreams |  | 
      
        | System.ReadOnlySpan<System.Char> | videoCodecTag |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  Extension Methods