⚗️(backend) annotate when and what is required for ee2e

commit will be dropped.
This commit is contained in:
lebaudantoine
2025-01-04 12:07:28 +01:00
parent 4c0230d537
commit ac65404ad6
+6
View File
@@ -210,6 +210,10 @@ class RoomViewSet(
Allow unregistered rooms when activated. Allow unregistered rooms when activated.
For unregistered rooms we only return a null id and the livekit room and token. For unregistered rooms we only return a null id and the livekit room and token.
""" """
# todo - determine whether encryption is needed store a shared secret in memory or in redis
# todo - check if a secret already exists, else create one.
try: try:
instance = self.get_object() instance = self.get_object()
except Http404: except Http404:
@@ -343,6 +347,8 @@ class RoomViewSet(
{"message": f"Recording stopped for room {room.slug}."} {"message": f"Recording stopped for room {room.slug}."}
) )
# todo - support a callback endpoint when a room is finished, to invalidate cached key
class ResourceAccessListModelMixin: class ResourceAccessListModelMixin:
"""List mixin for resource access API.""" """List mixin for resource access API."""