mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
* 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
|
|
}
|