#!/usr/bin/env python # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. # # Use of this source code is governed by a BSD-style license # that can be found in the LICENSE file in the root of the source # tree. An additional intellectual property rights grant can be found # in the file PATENTS. All contributing project authors may # be found in the AUTHORS file in the root of the source tree. """Builds the AppRTC collider using the golang toolchain.
The golang toolchain is downloaded by download_apprtc.py. We use that here
to build the AppRTC collider server.
This script needs to know the path to the 'src' directory in apprtc, the
root directory of 'go'and the output_dir. """
import fileinput import os import shutil import subprocess import sys
def _ConfigureApprtcServerToDeveloperMode(app_yaml_path): for line in fileinput.input(app_yaml_path, inplace=True): # We can't click past these in browser-based tests, so disable them.
line = line.replace('BYPASS_JOIN_CONFIRMATION: false', 'BYPASS_JOIN_CONFIRMATION: true')
sys.stdout.write(line)
def main(argv): if len(argv) != 4:
print(USAGE_STR.format(argv[0]))
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.