server: formatting

This commit is contained in:
Mathieu Virbel
2023-07-27 18:09:01 +02:00
parent fe85005e8e
commit c7f2453090
3 changed files with 6 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ version = "0.1.0"
description = "" description = ""
authors = ["Monadical team <ops@monadical.com>"] authors = ["Monadical team <ops@monadical.com>"]
readme = "README.md" readme = "README.md"
packages = [{include = "reflector_server"}] packages = []
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.11" python = "^3.11"

View File

@@ -14,7 +14,11 @@ from reflector.settings import settings
class StreamClient: class StreamClient:
def __init__( def __init__(
self, signaling, url="http://0.0.0.0:1250/offer", play_from=None, ping_pong=False self,
signaling,
url="http://0.0.0.0:1250/offer",
play_from=None,
ping_pong=False,
): ):
self.signaling = signaling self.signaling = signaling
self.server_url = url self.server_url = url

View File

@@ -61,6 +61,3 @@ async def test_basic_rtc_server(aiohttp_server, event_loop):
# stop the server # stop the server
await server.close() await server.close()
await client.stop() await client.stop()