Room.Stream

Representation of a broadcast (stream).

struct Room
static
struct Stream {}

Constructors

this
this(string idString)

Constructor.

Members

Functions

idString
auto idString()

Accessor to _idString.

toJSON
auto toJSON()

Serialises this Stream into a JSON representation.

update
void update(Stream updated)

Takes a second Stream and updates this one with values from it.

Static functions

fromJSON
auto fromJSON(JSONValue json)

Deserialises a Stream from a JSON representation.

Variables

activeViewers
RehashingAA!(string, bool) activeViewers;

Hashmap of active viewers (who have shown activity).

chattersSeen
RehashingAA!(string, bool) chattersSeen;

Users seen in the channel.

gameIDString
string gameIDString;

The unique ID of a game, as supplied by Twitch. In string form.

gameName
string gameName;

The name of the game that's being streamed.

live
bool live;

Whether or not the stream is currently ongoing.

maxViewerCount
long maxViewerCount;

The maximum number of people seen watching this stream.

startTime
SysTime startTime;

When the stream started.

stopTime
SysTime stopTime;

When the stream ended.

tags
string[] tags;

Stream tags.

title
string title;

The title of the stream.

userDisplayName
string userDisplayName;

The display name of the channel owner.

userIDString
string userIDString;

The numerical ID of the user/account of the channel owner. In string form.

userLogin
string userLogin;

The user/account name of the channel owner.

viewerCount
long viewerCount;

How many people were viewing the stream the last time the monitor Fiber checked.

Meta