1.0-dev6 (Option bar added and code cleaned)
This commit is contained in:
36
VDownload.Core/Objects/Stream.cs
Normal file
36
VDownload.Core/Objects/Stream.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using VDownload.Core.Enums;
|
||||
using VDownload.Core.Interfaces;
|
||||
|
||||
namespace VDownload.Core.Objects
|
||||
{
|
||||
public class Stream : IVStream, IAStream
|
||||
{
|
||||
#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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user