diff --git a/livekit-api/livekit/api/api.py b/livekit-api/livekit/api/api.py index 68f5d60d..fe531d3e 100644 --- a/livekit-api/livekit/api/api.py +++ b/livekit-api/livekit/api/api.py @@ -10,10 +10,9 @@ def __init__( api_key: str = os.getenv("LIVEKIT_API_KEY", ""), api_secret: str = os.getenv("LIVEKIT_API_SECRET", ""), *, - loop: Optional[asyncio.AbstractEventLoop] = asyncio.get_event_loop(), timeout: float = 60, # 1 minutes by default ): - self._session = aiohttp.ClientSession(timeout=timeout, loop=loop) + self._session = aiohttp.ClientSession(timeout=timeout) self._room = RoomService(url, api_key, api_secret, self._session) self._ingress = IngressService(url, api_key, api_secret, self._session) self._egress = EgressService(url, api_key, api_secret, self._session)