{% extends "base.html" %} {% load static %} {% block title %}Streaming Channels - Stream Processor{% endblock %} {% block extra_css %} {% endblock %} {% block page_title %}
Streaming Channels
{% endblock %} {% block content %}

Streaming Channels

Manage your live streaming channels and monitor their status

Total Channels

{{ channels.count|default:0 }}

Active Streams

{{ active_streams_count|default:0 }}

Idle Channels

{{ idle_channels_count|default:0 }}

Total Views

{{ total_views|default:0 }}

Search & Filters

{% if search or status_filter %} Clear {% endif %}
{% if channels %}

Channels ({{ channels|length }})

{% for channel in channels %}
{{ channel.name }}
{% if channel.is_active %} Active {% else %} Inactive {% endif %} {% if channel.active_session %} Live {% endif %}
{% if channel.active_session %}
{% csrf_token %}
{% elif channel.is_active %} {% endif %}
{% if channel.description %}

{{ channel.description }}

{% endif %}
HLS URL:
{{ channel.hls_url|default:"Not configured" }} {% if channel.hls_url %} {% endif %}
Segment Duration: {{ channel.segment_duration|default:"6s" }}
Max Segments: {{ channel.max_segments|default:"10" }}
{{ channel.created_by.username|default:"System" }}
{{ channel.created_at|date:"M d, Y" }}
{% if channel.active_session %}
{% csrf_token %}
{% elif channel.is_active %} {% endif %} Edit
{% endfor %}
{% else %}

No channels found

Get started by creating your first streaming channel.

Create Channel
{% endif %} {% if is_paginated %}
{% if page_obj.has_previous %} Previous {% endif %} {% if page_obj.has_next %} Next {% endif %}

Showing {{ page_obj.start_index }} to {{ page_obj.end_index }} of {{ paginator.count }} results

{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}