{% extends "base.html" %} {% block title %}Viewer{% endblock %} {% block header_title %}Camera Display for {{ address }}{% endblock %} {% block id %}viewer{% endblock %} {% macro information(label, value, id, class=None) %} {% endmacro %} {% macro checkbox(label, id, selected, disabled=False) %}
{{ label }}:
{% endmacro %} {% macro select(id, label, options, selected, readonly=False) -%}
{%- endmacro %} {% macro button33(options, function) %} {% for option in options %} {{option}} {% endfor %} {% endmacro %} {% macro inputbox(label, id, value, disabled=False) %} {% endmacro %} {% macro tab_controls() %}
{{ button( "javascript: switchState()", "Connect", extra='id="stream-connect"', theme="b", enable=not camera.status) }} {{ button( "javascript: switchState()", "Disconnect", extra='id="stream-disconnect"', theme="e", enable = camera.status ) }}
{{ button( "/setup.html?address="+camera.address, "Setup" ) }}
Resolution: {{ button33(camera.capabilities.size, "switchResolution") }}
Pan:
Flash: On Off
Voice: On Off
Exposure: 66ms 135ms 270ms 533ms 1 s 2 s
{% endmacro %} {% macro tab_information() %} {{ information("Address", camera.address, "stream-address") }} {{ information("Name", camera.name, "stream-name") }} {{ information("Type", camera.type, "stream-type") }} {{ information("Status", camera.status, "stream-status") }} {{ information("Stream URL", "/stream/"+camera.address, "stream-url") }} {{ information("Last Connection", camera.last, "stream-last") }} {{ information("Transport", camera.transport, "stream-transport") }} {# {{ information("Automatically Reconnect", camera.reconnect, "stream-reconnect") }} {{ information("Reconnect Timeout", camera.reconnect_timeout, "stream-reconnect_timeout") }} #} {% if pairing_supported %} {{ information("Use Device PIN", camera.enable_pincode, "stream-enable_pincode") }} {{ information("PIN Code", camera.pin, "stream-pin") }} {% endif %} {% if camera.capabilities.battery %} {{ information("Battery (mv)", camera.battery, "stream-battery") }} {% else %} {{ information("Battery (mv)", "Not supported", "stream-battery", class="ui-body-e") }} {% endif %} {% endmacro %} {% block extra_header %}
{# style="display: none">#}
{% endblock %} {% block content %}
You don't have Flash installed, you can't use this viewer.
But you can watch the stream here
{{ tab_controls() }}
{{ tab_information() }}
You don't have Flash installed, you can't use this viewer.
But you can watch the stream here

Device Information

{{ tab_information () }}

Camera Management

{{ tab_controls() }}
{% endblock %}