// Copyright (c) Arlo Godfrey. All Rights Reserved.
// Licensed under the GNU Lesser General Public License, Version 3.0 with additional terms.
// See the LICENSE, LICENSE.LESSER and LICENSE.ADDITIONAL files in the project root for more information.
using System;
using System.IO;
using StrixMusic.Sdk.CoreModels;
namespace StrixMusic.Sdk.MediaPlayback
{
///
/// Defines configuration for a single playback source.
///
public interface IMediaSourceConfig
{
///
/// The being played.
///
public ICoreTrack Track { get; }
///
/// An identifier for this source.
///
public string Id { get; }
///
/// A Uri representing a media source.
///
public Uri? MediaSourceUri { get; }
///
/// A stream to a media file to be played.
///
public Stream? FileStreamSource { get; }
///
/// The content type of the .
///
public string? FileStreamContentType { get; }
///
/// The that this source config expires, if applicable.
///
public DateTime? ExpirationDate { get; }
}
}