| OLD | NEW |
| 1 # Running Blimp | 1 # Running Blimp |
| 2 | 2 |
| 3 See [build](build.md) for instructions on how to build Blimp. | 3 See [build](build.md) for instructions on how to build Blimp. |
| 4 | 4 |
| 5 ## Running the client | 5 ## Running the client |
| 6 | 6 |
| 7 There are both Android and Linux clients. The Android client is the shipping | 7 There are both Android and Linux clients. The Android client is the shipping |
| 8 client while the Linux client is used for development purposes. | 8 client while the Linux client is used for development purposes. |
| 9 | 9 |
| 10 ### Android Client | 10 ### Android Client |
| 11 | 11 |
| 12 Install the Blimp APK with the following: | 12 Install the Blimp APK with the following: |
| 13 | 13 |
| 14 ```bash | 14 ```bash |
| 15 ./build/android/adb_install_apk.py $(PRODUCT_DIR)/apks/Blimp.apk | 15 ./build/android/adb_install_apk.py $(PRODUCT_DIR)/apks/Blimp.apk |
| 16 ``` | 16 ``` |
| 17 | 17 |
| 18 Set up any command line flags with: | 18 Set up any command line flags with: |
| 19 | 19 |
| 20 ```bash | 20 ```bash |
| 21 ./build/android/adb_blimp_command_line --your-flag-here | 21 ./build/android/adb_blimp_command_line --your-flag-here |
| 22 ``` | 22 ``` |
| 23 | 23 |
| 24 To have the client connect to a custom engine use the `--engine-ip`, | 24 To have the client connect to a custom engine use the `--blimplet-endpoint` |
| 25 `--engine-port`, and `--engine-transport` flags. The possible valid | 25 flag. This takes values in the form of scheme:ip:port. The possible valid |
| 26 values for `--engine-transport` are 'tcp' and 'ssl'. | 26 schemes are 'tcp', 'quic', and 'ssl'. An example valid endpoint would be |
| 27 An example valid endpoint would be | 27 `--blimplet-endpoint=tcp:127.0.0.1:25467`. |
| 28 `--engine-ip=127.0.0.1 --engine-port=1234 --engine-transport=tcp`. | |
| 29 | |
| 30 SSL-encrypted connections take an additional flag | |
| 31 `--engine-cert-path` which specifies a path to a PEM-encoded certificate | |
| 32 file (e.g. `--engine-cert-path=/path/to/file.pem`.) | |
| 33 | 28 |
| 34 To see your current command line, run `adb_blimp_command_line` without any | 29 To see your current command line, run `adb_blimp_command_line` without any |
| 35 arguments. | 30 arguments. |
| 36 | 31 |
| 37 Run the Blimp APK with: | 32 Run the Blimp APK with: |
| 38 | 33 |
| 39 ```bash | 34 ```bash |
| 40 ./build/android/adb_run_blimp_client | 35 ./build/android/adb_run_blimp_client |
| 41 ``` | 36 ``` |
| 42 | 37 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 | 113 |
| 119 ```bash | 114 ```bash |
| 120 out-linux/Debug/blimp_engine_app \ | 115 out-linux/Debug/blimp_engine_app \ |
| 121 --use-remote-compositing \ | 116 --use-remote-compositing \ |
| 122 --disable-cached-picture-raster \ | 117 --disable-cached-picture-raster \ |
| 123 --blimp-client-token-path=/tmp/blimpengine-token \ | 118 --blimp-client-token-path=/tmp/blimpengine-token \ |
| 124 --user-data-dir=/tmp/blimpengine \ | 119 --user-data-dir=/tmp/blimpengine \ |
| 125 --enable-logging=stderr \ | 120 --enable-logging=stderr \ |
| 126 --vmodule="blimp*=1" | 121 --vmodule="blimp*=1" |
| 127 ``` | 122 ``` |
| OLD | NEW |