view libervia/web/pages/calls/page_meta.py @ 1564:bd3c880f4a47

browser (calls): add camera switching: - devices are listed on startup, and a `has_multiple_cameras` boolean is set - based on this data, switch camera button is hidden or not - a click/touch on the button will switch to the next available camera, and loop back to first one at the end
author Goffi <goffi@goffi.org>
date Fri, 18 Aug 2023 17:43:01 +0200
parents eb00d593801d
children c1c1d68d063e
line wrap: on
line source

#!/usr/bin/env python3


from libervia.backend.core.i18n import _
from libervia.backend.core.log import getLogger
from libervia.backend.tools.common import data_format
from twisted.internet import defer
import datetime
import time
from dateutil import tz

from libervia.web.server.constants import Const as C

log = getLogger(__name__)


name = "calls"
access = C.PAGES_ACCESS_PROFILE
template = "call/call.html"