# -*- coding: utf-8 -*-
"""RTC8790_8791 entry point.

Runs the RTC viewer/capture service on HTTP 8790 and WebSocket 8791 by default.
This file is the only preferred direct entry point for the RTC8790_8791 module.
"""

from __future__ import annotations

import sys
from pathlib import Path

ROOT = Path(__file__).resolve().parent
if str(ROOT) not in sys.path:
    sys.path.insert(0, str(ROOT))

from yjm_win2rtc_capture import main  # noqa: E402

if __name__ == "__main__":
    raise SystemExit(main())
