23 lines
302 B
Python
23 lines
302 B
Python
import os
|
|
from dotenv import load_dotenv
|
|
from videoreader import AvReader
|
|
|
|
|
|
from ws_manager import WsManager
|
|
|
|
load_dotenv()
|
|
|
|
web_addr = os.getenv('WEB_ADDR', )
|
|
web_port = os.getenv('WEB_PORT')
|
|
ws_path = f"ws://{web_addr}:{web_port}/source/"
|
|
|
|
ws = WsManager(ws_path)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__=='__main__':
|
|
|