diff --git a/index.html b/index.html index d3c4141..39488bf 100644 --- a/index.html +++ b/index.html @@ -102,7 +102,8 @@
- + +
diff --git a/main.py b/main.py index 00233e9..561dd43 100644 --- a/main.py +++ b/main.py @@ -11,7 +11,7 @@ from aiortc import RTCPeerConnection, RTCSessionDescription import cv2 import json import time - +from datetime import datetime ROOT = "./" @@ -64,6 +64,7 @@ async def answer_video(request): return web.Response(text="Ok") async def index(request): + print(f"{datetime.now()}, {request.remote}") content = open(os.path.join(ROOT, "index.html"), "r").read() return web.Response(content_type="text/html", text=content)