view libervia/web/pages/calls/page_meta.py @ 1565:d282dbdd5ffd

browser (calls): restore UI state on reset: `on_reset` is now called when webRTC reset happens (notably when a call ends). The UI state is reset, in particular mute buttons so they don't appear in the wrong state during the next call.
author Goffi <goffi@goffi.org>
date Mon, 21 Aug 2023 15:23:22 +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"