15 lines
633 B
C#
15 lines
633 B
C#
using IntegrationGateway.Core.Models;
|
|
|
|
namespace IntegrationGateway.Core.Abstractions;
|
|
|
|
public interface IHasStreams : IIntegrationAdapter
|
|
{
|
|
Task<StreamUrls> GetLiveUrlAsync(string channelId);
|
|
Task<StreamUrls> GetPlaybackUrlAsync(string channelId, DateTime start, DateTime end);
|
|
Task StopPlayAsync(string channelId);
|
|
Task<StreamUrls> GetSnapshotAsync(string channelId);
|
|
Task PtzControlAsync(string channelId, string direction, float speed);
|
|
Task PtzStopAsync(string channelId);
|
|
Task<PagedResult<StandardRecording>> GetRecordingsAsync(string channelId, DateTime start, DateTime end, int page, int size);
|
|
}
|