37 lines
870 B
C#
37 lines
870 B
C#
using System;
|
|
using VDownload.Core.Enums;
|
|
using VDownload.Core.Interfaces;
|
|
|
|
namespace VDownload.Core.Objects
|
|
{
|
|
public class Stream : IBaseStream
|
|
{
|
|
#region CONSTRUCTORS
|
|
|
|
public Stream(Uri url, bool isChunked, StreamType streamType)
|
|
{
|
|
Url = url;
|
|
IsChunked = isChunked;
|
|
StreamType = streamType;
|
|
}
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region PROPERTIES
|
|
|
|
public Uri Url { get; private set; }
|
|
public bool IsChunked { get; private set; }
|
|
public StreamType StreamType { get; private set; }
|
|
public int Width { get; set; }
|
|
public int Height { get; set; }
|
|
public int FrameRate { get; set; }
|
|
public string VideoCodec { get; set; }
|
|
public int AudioBitrate { get; set; }
|
|
public string AudioCodec { get; set; }
|
|
|
|
#endregion
|
|
}
|
|
}
|