using System; namespace MediaBrowser.Controller.MediaEncoding; /// /// Represents a durable record of an open live stream session, enabling HA pod recovery /// when the owning pod crashes or is evicted. /// public sealed class LiveStreamSession { /// /// Gets or sets the live stream identifier (e.g. a TV tuner channel token). /// public string LiveStreamId { get; set; } = string.Empty; /// /// Gets or sets the session identifier of the client that opened this live stream. /// public string SessionId { get; set; } = string.Empty; /// /// Gets or sets the play session identifier associated with this live stream, /// or an empty string when the client did not supply one. /// public string PlaySessionId { get; set; } = string.Empty; /// /// Gets or sets the name of the pod that currently holds this live stream open. /// public string OwnerPod { get; set; } = string.Empty; /// /// Gets or sets the UTC time at which this record was created. /// public DateTime OpenedAtUtc { get; set; } }