5e779f20ee
Issue: https://github.com/jellyfin/jellyfin/issues/6450 Enable DirectPlay responses Rewrite DirectPlay and DirectStream resolution Prefer copy transcode video codec options Enhance condition processor Support DirectStream and Transcode with parity Rework audio stream selection and add tests for ExternalAudio Update MediaInfoHelper to only call StreamBuilder once
40 lines
937 B
C#
40 lines
937 B
C#
#nullable disable
|
|
#pragma warning disable CS1591
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace MediaBrowser.Model.Session
|
|
{
|
|
public class TranscodingInfo
|
|
{
|
|
public string AudioCodec { get; set; }
|
|
|
|
public string VideoCodec { get; set; }
|
|
|
|
public string Container { get; set; }
|
|
|
|
public bool IsVideoDirect { get; set; }
|
|
|
|
public bool IsAudioDirect { get; set; }
|
|
|
|
public int? Bitrate { get; set; }
|
|
|
|
public float? Framerate { get; set; }
|
|
|
|
public double? CompletionPercentage { get; set; }
|
|
|
|
public int? Width { get; set; }
|
|
|
|
public int? Height { get; set; }
|
|
|
|
public int? AudioChannels { get; set; }
|
|
|
|
public HardwareEncodingType? HardwareAccelerationType { get; set; }
|
|
|
|
public TranscodeReason[] TranscodeReasons => TranscodeReason.ToArray();
|
|
|
|
[JsonIgnore]
|
|
public TranscodeReason TranscodeReason { get; set; }
|
|
}
|
|
}
|