Livestream

data class Livestream(val url: Uri? = null, val post: StrongRef? = null, val tags: List<String>? = null, val agent: String? = null, val thumb: Blob? = null, val title: String, val endedAt: Timestamp? = null, val activity: LivestreamActivityUnion? = null, val createdAt: Timestamp, val lastSeenAt: Timestamp? = null, val canonicalUrl: Uri? = null, val idleTimeoutSeconds: Long? = null, val notificationSettings: LivestreamNotificationSettings? = null)

Parameters

url

The URL where this stream can be found. This is primarily a hint for other Streamplace nodes to locate and replicate the stream.

post

The post that announced this livestream.

tags

Freeform tags for this stream. Each tag must be alphanumeric (a-z, A-Z, 0-9) plus colon. Tags with colons indicate a specific tag group (e.g. 'lang:en' indicates the stream's primary language).

agent

The source of the livestream, if available, in a User Agent format: <product> / <product-version> <comment> e.g. Streamplace/0.7.5 iOS

title

The title of the livestream, as it will be announced to followers.

endedAt

Client-declared timestamp when this livestream ended. Ended livestreams are not supposed to start up again.

activity

The game or activity being streamed.

createdAt

Client-declared timestamp when this livestream started.

lastSeenAt

Client-declared timestamp when this livestream was last seen by the Streamplace station.

canonicalUrl

The primary URL where this livestream can be viewed, if available.

idleTimeoutSeconds

Time in seconds after which this livestream should be automatically ended if idle. Zero means no timeout.

Constructors

Link copied to clipboard
constructor(url: Uri? = null, post: StrongRef? = null, tags: List<String>? = null, agent: String? = null, thumb: Blob? = null, title: String, endedAt: Timestamp? = null, activity: LivestreamActivityUnion? = null, createdAt: Timestamp, lastSeenAt: Timestamp? = null, canonicalUrl: Uri? = null, idleTimeoutSeconds: Long? = null, notificationSettings: LivestreamNotificationSettings? = null)

Properties

Link copied to clipboard

The game or activity being streamed.

Link copied to clipboard

The source of the livestream, if available, in a User Agent format: <product> / <product-version> <comment> e.g. Streamplace/0.7.5 iOS

Link copied to clipboard

The primary URL where this livestream can be viewed, if available.

Link copied to clipboard

Client-declared timestamp when this livestream started.

Link copied to clipboard

Client-declared timestamp when this livestream ended. Ended livestreams are not supposed to start up again.

Link copied to clipboard

Time in seconds after which this livestream should be automatically ended if idle. Zero means no timeout.

Link copied to clipboard

Client-declared timestamp when this livestream was last seen by the Streamplace station.

Link copied to clipboard

The post that announced this livestream.

Link copied to clipboard

Freeform tags for this stream. Each tag must be alphanumeric (a-z, A-Z, 0-9) plus colon. Tags with colons indicate a specific tag group (e.g. 'lang:en' indicates the stream's primary language).

Link copied to clipboard
val thumb: Blob?
Link copied to clipboard

The title of the livestream, as it will be announced to followers.

Link copied to clipboard
val url: Uri?

The URL where this stream can be found. This is primarily a hint for other Streamplace nodes to locate and replicate the stream.