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
|
|
|
|
{
|
2018-11-24 23:45:08 +08:00
|
|
|
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();
|
|
|
|
|
2019-08-21 23:57:54 +08:00
|
|
|
void RefreshRoomInfo();
|
|
|
|
|
2018-10-30 20:33:44 +08:00
|
|
|
void Shutdown();
|
2018-10-24 14:33:05 +08:00
|
|
|
}
|
|
|
|
}
|