We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fff8f85 commit e8c720eCopy full SHA for e8c720e
obs_cr/websocket_proxy.py
@@ -29,6 +29,7 @@ async def handle(conn):
29
#additional_headers=headers,
30
subprotocols=conn.request.headers['Sec-WebSocket-Protocol'].split(),
31
#extensions=conn.request.headers['Sec-WebSocket-Extensions'].split(),
32
+ max_size=10*2**20,
33
) as target_ws:
34
#await conn.send('test')
35
async def forward_messages():
@@ -123,6 +124,7 @@ async def main(target_url):
123
124
*args.bind.rsplit(':', 1),
125
subprotocols=['obswebsocket.json'],
126
ssl=ssl_context,
127
128
)
129
print(f'Server started on {args.bind}')
130
await server.serve_forever()
0 commit comments