Front End Streaming Playback Improvements
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user