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