jellyfin/Jellyfin.Data/Enums/MediaStreamProtocol.cs
Niels van Velzen 407cf5d0bf
Add MediaStreamProtocol enum (#10153)
* Add MediaStreamProtocol enum

* Add default handling for enum during deserialization

---------

Co-authored-by: Cody Robibero <cody@robibe.ro>
2024-03-04 16:44:54 -07:00

21 lines
322 B
C#

using System.ComponentModel;
namespace Jellyfin.Data.Enums;
/// <summary>
/// Media streaming protocol.
/// </summary>
[DefaultValue(Http)]
public enum MediaStreamProtocol
{
/// <summary>
/// HTTP.
/// </summary>
Http = 0,
/// <summary>
/// HTTP Live Streaming.
/// </summary>
Hls = 1
}