Broadcast
start_rtmp
Start an RTMP live stream.
eyeson.send({
type: 'start_rtmp',
url,
key
});
stop_rtmp
Stop an RTMP live stream.
eyeson.send({ type: 'stop_rtmp' });
publish_broadcast
Received after a broadcast has been published to the streaming platform.
{
type: 'publish_broadcast',
playerUrl
}
stop_broadcasts
To stop all currently running broadcasts
eyeson.send({ type: 'stop_broadcasts' });
broadcasts_update
One or more broadcast/s was/were updated.
{
type: 'broadcasts_update',
broadcasts: [
{
id,
platform: 'generic',
player_url,
user: { /* ... */ },
room: { /* ... */ }
}
]
}