mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-12-25 11:54:43 +08:00
34ba4ded08
Added StreamStarted and StreamEnded Close #269
30 lines
785 B
C#
30 lines
785 B
C#
using System;
|
|
using BililiveRecorder.Core.SimpleWebhook;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace BililiveRecorder.Core.Event
|
|
{
|
|
/// <summary>
|
|
/// <see cref="EventType.FileClosed"/>
|
|
/// </summary>
|
|
public sealed class RecordFileClosedEventArgs : RecordEventArgsBase, IRecordSessionEventArgs
|
|
{
|
|
internal RecordFileClosedEventArgs(IRoom room) : base(room) { }
|
|
|
|
public Guid SessionId { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public string FullPath { get; set; } = string.Empty;
|
|
|
|
public string RelativePath { get; set; } = string.Empty;
|
|
|
|
public long FileSize { get; set; }
|
|
|
|
public double Duration { get; set; }
|
|
|
|
public DateTimeOffset FileOpenTime { get; set; }
|
|
|
|
public DateTimeOffset FileCloseTime { get; set; }
|
|
}
|
|
}
|