File size: 330 Bytes
5bb42f0
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import extensions.api.blocking_api as blocking_api
import extensions.api.streaming_api as streaming_api
from modules import shared


def setup():
    blocking_api.start_server(shared.args.api_blocking_port, share=shared.args.public_api)
    streaming_api.start_server(shared.args.api_streaming_port, share=shared.args.public_api)