Browse Source

tweak streaming engine editor

pull/2865/head
Jason Dove 1 month ago
parent
commit
9882b00802
No known key found for this signature in database
  1. 14
      ErsatzTV/ViewModels/ChannelEditViewModel.cs

14
ErsatzTV/ViewModels/ChannelEditViewModel.cs

@ -31,7 +31,19 @@ public class ChannelEditViewModel
set => PlayoutOffset = new TimeSpan(hours: value, minutes: 0, seconds: 0); set => PlayoutOffset = new TimeSpan(hours: value, minutes: 0, seconds: 0);
} }
public StreamingEngine StreamingEngine { get; set; } public StreamingEngine StreamingEngine
{
get;
set
{
field = value;
if (value is StreamingEngine.Next)
{
StreamingMode = StreamingMode.HttpLiveStreamingSegmenter;
}
}
}
public StreamingMode StreamingMode { get; set; } public StreamingMode StreamingMode { get; set; }
public int? WatermarkId { get; set; } public int? WatermarkId { get; set; }
public int? FallbackFillerId { get; set; } public int? FallbackFillerId { get; set; }

Loading…
Cancel
Save