407cf5d0bf
* Add MediaStreamProtocol enum * Add default handling for enum during deserialization --------- Co-authored-by: Cody Robibero <cody@robibe.ro>
21 lines
322 B
C#
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
|
|
}
|