You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 25, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+9-20Lines changed: 9 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,9 @@ The Open WebRTC Toolkit(OWT) client SDK for native Windows/Linux/Android/iOS app
5
5
of real time communication applications on these platforms. It supports peer to peer communication, and conference mode communication working with
6
6
Open WebRTC Toolkit conference server.
7
7
8
-
- Supported Windows platform: Windows 8 and above.
8
+
- Supported Windows platform: Windows 10 and above.
9
9
- Supported Linux platform: Ubuntu 20.04 and above.
10
-
- Supported iOS platform: iOS 9.0 and above.
10
+
- Supported iOS platform: iOS 12.0 and above.
11
11
12
12
## Documentation
13
13
To generate the API document, go to the `scripts` directory, and run `python build-win.py --docs` for Windows or `./gendoc.sh` in `talk/owt/docs/ios` for iOS.
@@ -18,12 +18,12 @@ You need [Doxygen](http://www.doxygen.nl/) in your path.
18
18
19
19
### Prepare the development environment
20
20
Before you start, make sure you have the following prerequisites installed/configured:
-[WebRTC stack build dependencies](https://webrtc.googlesource.com/src/+/refs/heads/master/docs/native-code/development/prerequisite-sw/index.md), except the Visual Studio part.
-[Intel Media SDK for Windows, version 2020 R1 or higher](https://software.intel.com/en-us/media-sdk/choose-download/client).
25
+
-[Visual Studio](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/windows_build_instructions.md#visual-studio). Only Visual Studio 2022 version 17.4.4 is tested.
26
+
-[Intel Media SDK for Windows, version 2021 R1 or higher](https://software.intel.com/en-us/media-sdk/choose-download/client).
27
27
28
28
### Get the code
29
29
- Make sure you clone the source code to a directory named `src`.
@@ -51,7 +51,6 @@ target_os = []
51
51
1. Go to the `src/scripts` directory, and run: `python build-win.py --gn_gen --sdk --tests --ssl_root /path/to/ssl --msdk_root /path/to/msdk --output_path /path/to/output`.
52
52
- The optional `msdk_root` should be set to the directory of your Intel MediaSDK for Windows, version 2020 R1 or higher. This is typically
53
53
`C:\Program Files (x86)\IntelSWTools\Intel(R) Media SDK 2020 R1\Software Development Kit`. If specified, will enable hardware accelerated video codecs for most of the video codecs.
54
-
- The optional `--sdk` is to inform the build script to use `lib.exe` that is part of Visual Studio toolchain for merging owt libraries with external openssl libraries.
55
54
56
55
57
56
#### Linux
@@ -65,11 +64,10 @@ target_os = []
65
64
Common build options shared by Windows and Linux:
66
65
- By default `x86|Debug` library will be created. Specify `--arch x64` if you want to build x64 libraries; Specify `--scheme release` if release version of library is to be built.
67
66
- The built binary will be under path specified by `--output_path`. If `--output_path` is not set, the built binary will be under `src/out` directory.
68
-
- The optional `--ssl_root` should be set to the root directory of lastest OpenSSL 3.0 series directory. If specified, build tool will search external OpenSSL headers in `ssl_root/include` and OpenSSL binaries in `ssl_root/bin`. But binaries are not included in OWT SDK, so applications still need to link libcrypto and libssl.
69
-
- Use `--gn_gen` to generate args.gn during the first build or when you change either `ssl_root`/`msdk_root`/`quic_root` options.
70
-
- The optional `--quic_root` should point to the directory containing WebTransport library pre-built from owt-sdk-quic repo. This will build the SDK with WebTransport enabled for
71
-
conference mode. Refer to [README.webtransport](https://github.com/open-webrtc-toolkit/owt-client-native/blob/main/README.webtransport) for the version of webtransport library to be used.
67
+
- The optional `--ssl_root` should be set to the root directory of lastest OpenSSL 3.0 series directory. If specified, build tool will search external OpenSSL headers in `ssl_root/include` and OpenSSL binaries in `ssl_root/lib`. But binaries are not included in OWT SDK, so applications still need to link libcrypto and libssl.
68
+
- Use `--gn_gen` to generate args.gn during the first build or when you change either `ssl_root`/`msdk_root` options.
72
69
- The optional `--tests` will trigger unit tests after build.
70
+
- Run `build*.py` with `--help` for argument description.
73
71
74
72
#### iOS
75
73
Update to latest macOS(Big Sur) and Xcode. iOS SDK can only be built on macOS.
@@ -78,16 +76,7 @@ Update to latest macOS(Big Sur) and Xcode. iOS SDK can only be built on macOS.
78
76
1. Run `scripts\build.py`.
79
77
80
78
#### Android
81
-
1. Replace the last line of .gclient with target_os=["android"]
82
-
1. Run gclient sync. It may take long time to download large amount of data.
83
-
1. Build libwebrtc for OWT Android SDK with scripts/build_android.py.
84
-
85
-
#### Linux
86
-
- Run `gclient sync` in the directory that contains 'src'. It may take a long time to download a large amount of data.
87
-
- Go to the `src/scripts` directory, and run:
88
-
`python build_linux.py --gn_gen --sdk --output_path /path/to/out --fake_audio`. The built binary will be under `output_path`,
89
-
- The document for sdk will also be copied to this directory if docs have been generated.
90
-
- If `output_path` is not set, the built binary will be under the `src/out` directory.
79
+
This branch doesn't support Android build. owt-client-android depends on 5.0.x branch of this repository.
0 commit comments