Rails API, app Flutter, infrastruttura Docker/MediaMTX, sito marketing e documentazione di deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
740 B
Plaintext
22 lines
740 B
Plaintext
<h2>Session <%= @session.id %></h2>
|
|
<p>Status: <strong><%= @session.status %></strong></p>
|
|
<p>Match: <%= @session.match.team.name %> vs <%= @session.match.opponent_name %></p>
|
|
<% if @session.youtube_broadcast_id %>
|
|
<p>YouTube: <a href="https://studio.youtube.com/video/<%= @session.youtube_broadcast_id %>/livestreaming" target="_blank">Broadcast</a></p>
|
|
<% end %>
|
|
<p>RTMP ingest: <code><%= @session.rtmp_ingest_url %></code></p>
|
|
|
|
<h3>Eventi</h3>
|
|
<table>
|
|
<thead><tr><th>Tipo</th><th>Quando</th><th>Meta</th></tr></thead>
|
|
<tbody>
|
|
<% @events.each do |e| %>
|
|
<tr>
|
|
<td><%= e.event_type %></td>
|
|
<td><%= e.occurred_at %></td>
|
|
<td><%= e.metadata.to_json %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|