mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 09:11:10 +00:00
Adds the playback delivery decision service
This commit is contained in:
1 parent
f97c5bed47
commit
7dc5953e1d
18 files changed
+952
No files matched your search
@@ -0,0 +1,22 @@
|
||||
namespace Lumina.Domain.SharedKernel.Common.Enums.Playback;
|
||||
|
||||
/// <summary>
|
||||
/// Enumeration for the ways in which a track's audio is delivered to a player.
|
||||
/// </summary>
|
||||
public enum PlaybackDeliveryMode
|
||||
{
|
||||
/// <summary>
|
||||
/// The original audio file is delivered unchanged, because the player can demux its container and decode its codec as stored.
|
||||
/// </summary>
|
||||
DirectPlay,
|
||||
|
||||
/// <summary>
|
||||
/// The audio is repackaged into a container the player can demux, without re-encoding its codec.
|
||||
/// </summary>
|
||||
Remux,
|
||||
|
||||
/// <summary>
|
||||
/// The audio is re-encoded into a codec the player can decode, because the stored codec is not one the player supports.
|
||||
/// </summary>
|
||||
Transcode,
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
namespace Lumina.Domain.SharedKernel.Common.Enums.Playback;
|
||||
|
||||
/// <summary>
|
||||
/// Enumeration for the shapes in which delivered audio is addressed and seeked.
|
||||
/// </summary>
|
||||
public enum PlaybackDeliveryShape
|
||||
{
|
||||
/// <summary>
|
||||
/// The delivered media is the original file itself, addressed and seeked by byte range.
|
||||
/// </summary>
|
||||
ByteRangeSeekable,
|
||||
|
||||
/// <summary>
|
||||
/// The delivered media is a sequence of fixed duration segments, addressed and seeked by time, so that finding a time never
|
||||
/// requires mapping a byte range to it.
|
||||
/// </summary>
|
||||
TimeAddressedSegments,
|
||||
}
|
||||
Reference in new issue
Block a user