<% if broadcast.streamer_connected? || (broadcast.streamer_recording? && !broadcast.active?) %>
  <p class="mb-1">Live stream has connected successfully and will be available soon.</p>
  <div class="badge badge-pill badge-success mb-2 text-uppercase">Connected</div>
<% elsif broadcast.streamer_recording? && broadcast.active? %>
  <p class="mb-1">Live stream has begun, click play to watch it.</p>
  <div class="badge badge-pill badge-danger mb-2 text-uppercase">Live</div>
<% elsif broadcast.streamer_disconnected? %>
  <p class="mb-1">Live stream got disconnected.</p>
  <div class="badge badge-pill badge-warning mb-2 text-uppercase">Disconnected</div>
<% elsif (broadcast.idle? && broadcast.streamer_idle?) || (broadcast.created? && broadcast.streamer_idle?) %>
  <p class="mb-1">Live stream is waiting to begin.</p>
  <div class="badge badge-pill badge-primary mb-2 text-uppercase">Idle</div>
<% end %>
