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.
* Do not use internal ffmpeg for client SDK build.
By default we should not build ffmpeg for client SDK. If you need to use ffmpeg
for d3d11va decoding, you need to specify owt_ffmpeg_header_root gn arg which
points to the source root of external ffmpeg, so the build process can find
ffmpeg headers there. Your application needs to explicitly link to ffmpeg libraries,
which includes but not limited to avutil.lib, avcodec.lib & avformat.lib.
* Update scripts for external FFmpeg.
* Roll WebRTC revision.
* Limit d3d11va_h264_decoder to Windows only.
---------
Co-authored-by: Johny Qiu <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,8 +64,9 @@ target_os = []
64
64
Common build options shared by Windows and Linux:
65
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.
66
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.
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
67
- The argument `--sio_root` should be set to the root directory of Socket.IO cpp 3.x SDK, with headers in `include` sub-folder, libsioclient_tls.a in `lib` sub-folder.
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/lib`. But binaries are not included in OWT SDK, so applications still need to link libcrypto and libssl.
69
+
- The optional `--ffmpeg_root` should be set to the root directory of FFmpeg, with headers in `include` sub-folder, and libs in `lib` sub-folder. Binary libraries are not necessary for building OWT SDK, but it's needed by your application or tests when this argument is specified. If this argument is not specified, FFmpeg will not be used. If neither `--ffmpeg_root` nor `--msdk_root` is specified, and external decoder doesn't support H.264, GN arg `rtc_use_h264` should be set to `false`, otherwise, a runtime error will occur.
69
70
- Use `--gn_gen` to generate args.gn during the first build or when you change either `ssl_root`/`msdk_root` options.
70
71
- The optional `--tests` will trigger unit tests after build.
71
72
- Run `build*.py` with `--help` for argument description.
@@ -79,7 +80,6 @@ Update to latest macOS and Xcode. iOS SDK can only be built on macOS.
79
80
#### Android
80
81
This branch doesn't support Android build. owt-client-android depends on 5.0.x branch of this repository.
81
82
82
-
83
83
## How to contribute
84
84
We warmly welcome community contributions to the owt-client-native repository. If you are willing to contribute your features and ideas to OWT, follow the process below:
parser.add_argument('--msdk_root', help='Path for MSDK.')
174
177
parser.add_argument('--quic_root', help='Path to QUIC library. Not supported yet.')
175
178
parser.add_argument('--sio_root', required=False, help='Path to Socket.IO cpp. Headers in include sub-folder, libsioclient_tls.a in lib sub-folder.')
179
+
parser.add_argument('--ffmpeg_root', required=False, help='Path to to root directory of FFmpeg, with headers in include sub-folder, and libs in lib sub-folder. Binary libraries are not necessary for building OWT SDK, but it is needed by your application or tests when this argument is specified.')
parser.add_argument('--ssl_root', help='Path for OpenSSL.')
186
183
parser.add_argument('--sio_root', required=False, help='Path to Socket.IO cpp. Headers in include sub-folder, libsioclient_tls.a in lib sub-folder.')
184
+
parser.add_argument('--ffmpeg_root', required=False, help='Path to to root directory of FFmpeg, with headers in include sub-folder, and libs in lib sub-folder. Binary libraries are not necessary for building OWT SDK, but it is needed by your application or tests when this argument is specified.')
187
185
parser.add_argument('--msdk_root', help='Path for MSDK.')
188
186
parser.add_argument('--quic_root', help='Path to QUIC library')
0 commit comments