{% extends "base.html" %} {% load static %} {% block title %}Stream Sessions{% endblock %} {% block extra_css %} {% endblock %} {% block page_title %}

Stream Sessions

New Session
{% endblock %} {% block content %}

Stream Sessions

Monitor and manage your streaming sessions with real-time status updates

Session Management

Monitor real-time streaming sessions and their status

Filter sessions by channel, status, and date range

View detailed session information and performance metrics

Search & Filters

{% if request.GET.search or request.GET.status or request.GET.channel %} Clear {% endif %}
{% if sessions %}

Stream Sessions

{% for session in sessions %}
{% if session.status == 'active' %} {% elif session.status == 'completed' %} {% elif session.status == 'failed' %} {% else %} {% endif %}
{{ session.channel.name }}
{{ session.get_status_display }}
Started: {{ session.started_at|date:"M d, Y H:i" }}
{% if session.ended_at %}
Ended: {{ session.ended_at|date:"M d, Y H:i" }}
{% endif %} {% if session.duration %}
Duration: {{ session.duration }}
{% endif %}
{% if session.error_message %}
{{ session.error_message }}
{% endif %} {% if session.statistics %}
Segments
{{ session.statistics.total_segments|default:0 }}
Data Processed
{{ session.statistics.total_size|filesizeformat|default:"0 B" }}
Jingles Detected
{{ session.statistics.jingles_detected|default:0 }}
Ad Breaks
{{ session.statistics.ad_breaks|default:0 }}
{% endif %}
{% if session.status == 'active' %}
{% csrf_token %}
{% endif %} View
{% endfor %}
{% if is_paginated %} {% endif %} {% else %}

No sessions found

{% if request.GET.search or request.GET.status %}

Try adjusting your search or filter criteria

Clear Filters {% else %}

No streaming sessions have been created yet

Start New Stream {% endif %}
{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}