阿星
阿星
mkdir -p $GOPATH/src/golang.org/x/ cd $GOPATH/src/golang.org/x/ git clone https://github.com/golang/net.git net go install net
This is what I summarized when I built the WebRTC server. https://github.com/Axingx/WebRTC-Server-Setup
@sabaleroshan URL need to fill in your own ip, API key don't need to fill.
`# Turn/Stun server override. This allows AppRTC to connect to turn servers # directly rather than retrieving them from an ICE server provider. #ICE_SERVER_OVERRIDE = None # Enable by uncomment...
def get_wss_parameters(request): ws_host_port_pair = request.get('wshpp') ws_tls = request.get('wstls') if not ws_host_port_pair: memcache_client = memcache.Client() ws_active_host = memcache_client.get(constants.WSS_HOST_ACTIVE_HOST_KEY) if ws_active_host in constants.WSS_HOST_PORT_PAIRS: ws_host_port_pair = ws_active_host else: logging.warning( 'Invalid or no value...