Class DeviceProfile
  
  
  
  
    Inheritance
    System.Object
    DeviceProfile
   
  
  Assembly: MediaBrowser.Model.dll
  
  
    public class DeviceProfile
   
  Properties
  
  
  
  
  
  
  
  Declaration
  
    public CodecProfile[] CodecProfiles { get; set; }
   
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public ContainerProfile[] ContainerProfiles { get; set; }
   
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public string[] DeclaredFeatures { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String[] |  | 
    
  
  
  
  
  
  Gets or sets the direct play profiles.
Declaration
  
    public DirectPlayProfile[] DirectPlayProfiles { get; set; }
   
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public string Id { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
  
  
  
  
  
  Declaration
  
    public int? MaxStaticMusicBitrate { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Nullable<System.Int32> |  | 
    
  
  
  
  
  
  
  
  Declaration
  
    public long? MaxStreamingBitrate { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Nullable<System.Int64> |  | 
    
  
  
  
  
  
  
  
  Declaration
  
    public int? MusicStreamingTranscodingBitrate { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Nullable<System.Int32> |  | 
    
  
  
  
  
  
  
  
  Declaration
  
    public string Name { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String | The name. | 
    
  
  
  
  
  
  
  
  Declaration
  
    public ResponseProfile[] ResponseProfiles { get; set; }
   
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public SubtitleProfile[] SubtitleProfiles { get; set; }
   
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public string SupportedMediaTypes { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
  
  
  
  Gets or sets the transcoding profiles.
Declaration
  
    public TranscodingProfile[] TranscodingProfiles { get; set; }
   
  Property Value
  
  Methods
  
  
  
  
  
  
  
  Declaration
  
    public ResponseProfile GetAudioMediaProfile(ReadOnlySpan<char> container, ReadOnlySpan<char> audioCodec, int? audioChannels, int? audioBitrate, int? audioSampleRate, int? audioBitDepth)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.ReadOnlySpan<System.Char> | container |  | 
      
        | System.ReadOnlySpan<System.Char> | audioCodec |  | 
      
        | System.Nullable<System.Int32> | audioChannels |  | 
      
        | System.Nullable<System.Int32> | audioBitrate |  | 
      
        | System.Nullable<System.Int32> | audioSampleRate |  | 
      
        | System.Nullable<System.Int32> | audioBitDepth |  | 
    
  
  Returns
  
  
  
  
  
  
  
  Declaration
  
    public TranscodingProfile GetAudioTranscodingProfile(ReadOnlySpan<char> container, ReadOnlySpan<char> audioCodec)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.ReadOnlySpan<System.Char> | container |  | 
      
        | System.ReadOnlySpan<System.Char> | audioCodec |  | 
    
  
  Returns
  
  
  
  
  
  
  
  Declaration
  
    public ResponseProfile GetImageMediaProfile(ReadOnlySpan<char> container, int? width, int? height)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.ReadOnlySpan<System.Char> | container |  | 
      
        | System.Nullable<System.Int32> | width |  | 
      
        | System.Nullable<System.Int32> | height |  | 
    
  
  Returns
  
  
  
  
  
  
  
  Declaration
  
    public ReadOnlyMemory<char>[] GetSupportedMediaTypes()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.ReadOnlyMemory<System.Char>[] |  | 
    
  
  
  
  
  
  
  
  Declaration
  
    public ResponseProfile GetVideoMediaProfile(ReadOnlySpan<char> container, ReadOnlySpan<char> audioCodec, ReadOnlySpan<char> videoCodec, int? width, int? height, int? bitDepth, 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 | 
    
    
      
        | System.ReadOnlySpan<System.Char> | container |  | 
      
        | System.ReadOnlySpan<System.Char> | audioCodec |  | 
      
        | System.ReadOnlySpan<System.Char> | videoCodec |  | 
      
        | System.Nullable<System.Int32> | width |  | 
      
        | System.Nullable<System.Int32> | height |  | 
      
        | System.Nullable<System.Int32> | bitDepth |  | 
      
        | System.Nullable<System.Int32> | videoBitrate |  | 
      
        | System.ReadOnlySpan<System.Char> | videoProfile |  | 
      
        | System.ReadOnlySpan<System.Char> | videoRange |  | 
      
        | System.Nullable<System.Double> | videoLevel |  | 
      
        | System.Single | videoFramerate |  | 
      
        | 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
  
  
  
  
  
  
  
  Declaration
  
    public TranscodingProfile GetVideoTranscodingProfile(ReadOnlySpan<char> container, ReadOnlySpan<char> audioCodec, ReadOnlySpan<char> videoCodec)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.ReadOnlySpan<System.Char> | container |  | 
      
        | System.ReadOnlySpan<System.Char> | audioCodec |  | 
      
        | System.ReadOnlySpan<System.Char> | videoCodec |  | 
    
  
  Returns
  
  Extension Methods