| 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 `--blimplet-endpoint` | 24 To have the client connect to a custom engine use the `--engine-ip`, |
| 25 flag. This takes values in the form of scheme:ip:port. The possible valid | 25 `--engine-port`, and `--engine-transport` flags. The possible valid |
| 26 schemes are 'tcp', 'quic', and 'ssl'. An example valid endpoint would be | 26 values for `--engine-transport` are 'tcp' and 'ssl'. |
| 27 `--blimplet-endpoint=tcp:127.0.0.1:25467`. | 27 An example valid endpoint would be |
| 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`.) |
| 28 | 33 |
| 29 To see your current command line, run `adb_blimp_command_line` without any | 34 To see your current command line, run `adb_blimp_command_line` without any |
| 30 arguments. | 35 arguments. |
| 31 | 36 |
| 32 Run the Blimp APK with: | 37 Run the Blimp APK with: |
| 33 | 38 |
| 34 ```bash | 39 ```bash |
| 35 ./build/android/adb_run_blimp_client | 40 ./build/android/adb_run_blimp_client |
| 36 ``` | 41 ``` |
| 37 | 42 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 118 |
| 114 ```bash | 119 ```bash |
| 115 out-linux/Debug/blimp_engine_app \ | 120 out-linux/Debug/blimp_engine_app \ |
| 116 --use-remote-compositing \ | 121 --use-remote-compositing \ |
| 117 --disable-cached-picture-raster \ | 122 --disable-cached-picture-raster \ |
| 118 --blimp-client-token-path=/tmp/blimpengine-token \ | 123 --blimp-client-token-path=/tmp/blimpengine-token \ |
| 119 --user-data-dir=/tmp/blimpengine \ | 124 --user-data-dir=/tmp/blimpengine \ |
| 120 --enable-logging=stderr \ | 125 --enable-logging=stderr \ |
| 121 --vmodule="blimp*=1" | 126 --vmodule="blimp*=1" |
| 122 ``` | 127 ``` |
| OLD | NEW |