BililiveRecorder/BililiveRecorder.Core/IRecordedRoom.cs

38 lines
814 B
C#
Raw Normal View History

2020-12-05 18:30:04 +08:00
using BililiveRecorder.FlvProcessor;
2018-11-03 07:45:56 +08:00
using System;
2018-10-24 14:33:05 +08:00
using System.ComponentModel;
namespace BililiveRecorder.Core
{
public interface IRecordedRoom : INotifyPropertyChanged, IDisposable
2018-10-24 14:33:05 +08:00
{
2020-12-05 18:30:04 +08:00
Guid Guid { get; }
2019-08-22 01:26:18 +08:00
int ShortRoomId { get; }
int RoomId { get; }
2018-10-24 14:33:05 +08:00
string StreamerName { get; }
IStreamMonitor StreamMonitor { get; }
2018-11-03 07:45:56 +08:00
IFlvStreamProcessor Processor { get; }
2018-10-24 14:33:05 +08:00
bool IsMonitoring { get; }
bool IsRecording { get; }
2018-11-03 07:45:56 +08:00
double DownloadSpeedPersentage { get; }
2019-11-24 09:08:29 +08:00
double DownloadSpeedMegaBitps { get; }
2018-10-24 14:33:05 +08:00
DateTime LastUpdateDateTime { get; }
2018-10-31 06:22:38 +08:00
void Clip();
2018-10-24 14:33:05 +08:00
bool Start();
void Stop();
void StartRecord();
void StopRecord();
void RefreshRoomInfo();
void Shutdown();
2018-10-24 14:33:05 +08:00
}
}