This commit is contained in:
Yami Odymel
2024-01-23 23:24:30 +08:00
parent f97539ab96
commit dc4a3d117f
21 changed files with 756 additions and 541 deletions

View File

@@ -70,10 +70,10 @@ func (h *ListChannelsHandler) Handle(c *gin.Context) {
ChannelURL: channel.ChannelURL,
Filename: channel.Filename(),
LastStreamedAt: channel.LastStreamedAt,
SegmentDuration: DurationStr(channel.SegmentDuration),
SplitDuration: DurationStr(channel.SplitDuration),
SegmentFilesize: ByteStr(channel.SegmentFilesize),
SplitFilesize: MBStr(channel.SplitFilesize),
SegmentDuration: channel.SegmentDurationStr(),
SplitDuration: channel.SplitDurationStr(),
SegmentFilesize: channel.SegmentFilesizeStr(),
SplitFilesize: channel.SplitFilesizeStr(),
IsOnline: channel.IsOnline,
IsPaused: channel.IsPaused,
Logs: channel.Logs,