Add Stream ID to stream.offline
Premise: stream.online
encodes an id of the stream. stream.offline
does not have such an id. Being able to pair this specific id with an online and offline state would be beneficial.
Objective: Add the matching id
to stream.offline
that pairs with stream.online
Notes: While it could be argued that a single broadcaster can only be live with a single id, it is still data oriented wise, more beneficial to have a symmetrical up and down payload, allowing quick queries on a state of a stream. Imagine a scenario where an online and offline event fire roughly at the same time. This creates a race condition that should not happen, but in theory still could at the current state.

-
ClydePossumfoot commented
I agree. There's a couple of events that would really be useful to correlate with the stream_id. E.g. channel.raid