-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add documentation comments to public classes, interfaces
- Loading branch information
1 parent
8391388
commit 8c9f783
Showing
139 changed files
with
2,851 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/LiveStreamingServerNet.Flv/Configurations/FlvConfiguration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
namespace LiveStreamingServerNet.Flv.Configurations | ||
{ | ||
/// <summary> | ||
/// Configuration settings for FLV streaming | ||
/// </summary> | ||
public class FlvConfiguration | ||
{ | ||
/// <summary> | ||
/// Maximum time to wait for a stream to become ready (receiving the first non-header packet). | ||
/// Default: 15 seconds. | ||
/// </summary> | ||
public TimeSpan ReadinessTimeout { get; set; } = TimeSpan.FromSeconds(15); | ||
|
||
/// <summary> | ||
/// Timeout duration for stream continuation after interruption. | ||
/// A value of Zero indicates no continuation allowed. | ||
/// Default: TimeSpan.Zero. | ||
/// </summary> | ||
public TimeSpan StreamContinuationTimeout { get; set; } = TimeSpan.Zero; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
src/LiveStreamingServerNet.Flv/Configurations/MediaStreamingConfiguration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,34 @@ | ||
namespace LiveStreamingServerNet.Flv.Configurations | ||
{ | ||
/// <summary> | ||
/// Configuration settings for media streaming buffer management. | ||
/// </summary> | ||
public class MediaStreamingConfiguration | ||
{ | ||
/// <summary> | ||
/// Target number of media packets to maintain in the buffer. | ||
/// Default: 64 packets. | ||
/// </summary> | ||
public int TargetOutstandingMediaPacketsCount { get; set; } = 64; | ||
|
||
/// <summary> | ||
/// Target total size of buffered media packets in bytes. | ||
/// Default: 1MB (1,048,576 bytes). | ||
/// </summary> | ||
public long TargetOutstandingMediaPacketsSize { get; set; } = 1024 * 1024; | ||
|
||
/// <summary> | ||
/// Maximum number of media packets allowed in the buffer. | ||
/// When exceeded, newer packets will be dropped. | ||
/// Default: 512 packets. | ||
/// </summary> | ||
public int MaxOutstandingMediaPacketsCount { get; set; } = 512; | ||
|
||
/// <summary> | ||
/// Maximum total size of buffered media packets in bytes. | ||
/// When exceeded, newer packets will be dropped. | ||
/// Default: 8MB (8,388,608 bytes). | ||
/// </summary> | ||
public long MaxOutstandingMediaPacketsSize { get; set; } = 8 * 1024 * 1024; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.