Class IcecastServer
An Icecast server
Implements
Namespace: BassBoom.Basolia.Radio
Assembly: BassBoom.Basolia.dll
Syntax
public class IcecastServer : IRadioServer
Properties
| Edit this page View SourceActiveStreams
Active streams in the server
Declaration
public int ActiveStreams { get; }
Property Value
Type | Description |
---|---|
int |
CurrentListeners
How many people are listening to the server at this time?
Declaration
public int CurrentListeners { get; }
Property Value
Type | Description |
---|---|
int |
MimeType
MIME type of a stream
Declaration
public string MimeType { get; }
Property Value
Type | Description |
---|---|
string |
PeakListeners
How many listeners did the server ever get at peak times?
Declaration
public int PeakListeners { get; }
Property Value
Type | Description |
---|---|
int |
ServerHost
Server IP address
Declaration
public string ServerHost { get; }
Property Value
Type | Description |
---|---|
string |
ServerHostFull
Server IP address with port
Declaration
public string ServerHostFull { get; }
Property Value
Type | Description |
---|---|
string |
ServerHttps
Whether the Shoutcast server is using HTTPS or not
Declaration
public bool ServerHttps { get; }
Property Value
Type | Description |
---|---|
bool |
ServerPort
Server port
Declaration
public int ServerPort { get; }
Property Value
Type | Description |
---|---|
int |
ServerType
Always Icecast for Icecast radio servers
Declaration
public RadioServerType ServerType { get; }
Property Value
Type | Description |
---|---|
RadioServerType |
Streams
Available streams and their statistics
Declaration
public StreamInfo[] Streams { get; }
Property Value
Type | Description |
---|---|
StreamInfo[] |
TotalStreams
Total number of streams in the server
Declaration
public int TotalStreams { get; }
Property Value
Type | Description |
---|---|
int |
Methods
| Edit this page View SourceRefresh()
Refreshes the statistics
Declaration
public void Refresh()
RefreshAsync()
Refreshes the statistics
Declaration
public Task RefreshAsync()
Returns
Type | Description |
---|---|
Task |