Front End Streaming Playback Improvements

This commit is contained in:
daniel-c-harvey
2025-09-13 15:22:26 -04:00
parent cdeb300d5e
commit 0fa8ac7379
8 changed files with 417 additions and 11 deletions
@@ -3,7 +3,7 @@ using NetBlocks.Models;
namespace DeepDrftWeb.Client.Clients;
public class TrackMediaResponse
public class TrackMediaResponse : IDisposable
{
public Stream Stream { get; }
public long ContentLength { get; }
@@ -13,6 +13,11 @@ public class TrackMediaResponse
Stream = stream;
ContentLength = contentLength;
}
public void Dispose()
{
Stream?.Dispose();
}
}
public class TrackMediaClient