Kick from edge forward

This commit is contained in:
2023-08-01 11:25:31 +01:00
parent 9a8aca72ab
commit 0634622c4d
20 changed files with 523 additions and 74 deletions

View File

@ -10,6 +10,14 @@ public class SrsApi
{
_client = client;
_client.BaseAddress = config.SrsApiHost;
_client.Timeout = TimeSpan.FromSeconds(5);
}
public SrsApi(HttpClient client, Uri baseAddress)
{
_client = client;
_client.BaseAddress = baseAddress;
_client.Timeout = TimeSpan.FromSeconds(5);
}
public async Task<List<Stream>> ListStreams()