Proxy playlist/segments
This commit is contained in:
@ -2,10 +2,30 @@ namespace NostrStreamer;
|
||||
|
||||
public class Config
|
||||
{
|
||||
public Uri SrsPublicHost { get; init; } = null!;
|
||||
public string App { get; init; } = null!;
|
||||
/// <summary>
|
||||
/// Ingest URL
|
||||
/// </summary>
|
||||
public Uri RtmpHost { get; init; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// SRS app name
|
||||
/// </summary>
|
||||
public string App { get; init; } = "live";
|
||||
|
||||
public Uri SrsApi { get; init; } = null!;
|
||||
/// <summary>
|
||||
/// SRS api server host
|
||||
/// </summary>
|
||||
public Uri SrsApiHost { get; init; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// SRS Http server host
|
||||
/// </summary>
|
||||
public Uri SrsHttpHost { get; init; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Public host where playlists are located
|
||||
/// </summary>
|
||||
public Uri DataHost { get; init; } = null!;
|
||||
|
||||
public string PrivateKey { get; init; } = null!;
|
||||
public string[] Relays { get; init; } = Array.Empty<string>();
|
||||
|
Reference in New Issue
Block a user