mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-06 12:33:51 +08:00
raise max message size (#25)
This commit is contained in:
committed by
firestar5683
parent
242e2ac0a0
commit
2e6845146b
@@ -59,6 +59,8 @@ class WebRTCBaseStream(abc.ABC):
|
||||
config.force_media_transport = True
|
||||
config.disable_auto_negotiation = True
|
||||
config.ice_servers = [IceServer("stun:stun.l.google.com:19302")]
|
||||
# the peers negotiate the smaller of their limits, so this only raises it when both sides allow it
|
||||
config.max_message_size = 16 * 1024 * 1024
|
||||
if bind_address is not None:
|
||||
config.bind_address = bind_address
|
||||
|
||||
|
||||
Reference in New Issue
Block a user