38 lines
906 B
C#
Raw Normal View History

2025-01-02 12:15:45 +08:00
//-----------------------------------------------------------------------------
// Copyright 2015-2020 RenderHeads Ltd. All rights reserved.
//-----------------------------------------------------------------------------
using System.Collections.Generic;
namespace RenderHeads.Media.AVProVideo
{
/// <summary>
/// Abstract class used to retrieving data from an adaptive Stream
/// generated by StreamParser. Currently implemented by HLSStream.
/// </summary>
public abstract class Stream
{
public struct Chunk
{
public string name;
}
public abstract int Width { get; }
public abstract int Height { get; }
public abstract int Bandwidth { get; }
public abstract string URL { get; }
public abstract List<Chunk> GetAllChunks();
public abstract List<Chunk> GetChunks();
public abstract List<Stream> GetAllStreams();
public abstract List<Stream> GetStreams();
}
}