tirtc-devtools-cli 0.0.15 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/USAGE.md +6 -3
- package/dist/cli/src/index.js +19 -3
- package/dist/cli/src/media_assets.js +27 -6
- package/dist/cli/src/role_driver.js +8 -3
- package/package.json +1 -1
- package/vendor/devtools/driver/linux-x64/devtools_driver_probe +0 -0
- package/vendor/devtools/driver/macos-arm64/devtools_driver_probe +0 -0
- package/vendor/runtime/linux-x64/include/tirtc/audio.h +237 -0
- package/vendor/runtime/linux-x64/include/tirtc/audio_codec.h +23 -0
- package/vendor/runtime/linux-x64/include/tirtc/audio_frame.h +36 -0
- package/vendor/runtime/linux-x64/include/tirtc/audio_io.h +65 -0
- package/vendor/runtime/linux-x64/include/tirtc/audio_io_android.h +19 -0
- package/vendor/runtime/linux-x64/include/tirtc/audio_io_apple.h +19 -0
- package/vendor/runtime/linux-x64/include/tirtc/audio_io_harmony.h +19 -0
- package/vendor/runtime/linux-x64/include/tirtc/audio_io_windows.h +19 -0
- package/vendor/runtime/linux-x64/include/tirtc/audio_processing.h +56 -0
- package/vendor/runtime/linux-x64/include/tirtc/audio_sample_rate.h +18 -0
- package/vendor/runtime/linux-x64/include/tirtc/av.h +236 -0
- package/vendor/runtime/linux-x64/include/tirtc/error.h +102 -0
- package/vendor/runtime/linux-x64/include/tirtc/foundation/build_info.h +27 -0
- package/vendor/runtime/linux-x64/include/tirtc/http.h +57 -0
- package/vendor/runtime/linux-x64/include/tirtc/logging.h +55 -0
- package/vendor/runtime/linux-x64/include/tirtc/media_codec.h +21 -0
- package/vendor/runtime/linux-x64/include/tirtc/media_downlink.h +199 -0
- package/vendor/runtime/linux-x64/include/tirtc/media_uplink.h +120 -0
- package/vendor/runtime/linux-x64/include/tirtc/transport.h +445 -0
- package/vendor/runtime/linux-x64/include/tirtc/trp.h +187 -0
- package/vendor/runtime/linux-x64/include/tirtc/video_codec.h +112 -0
- package/vendor/runtime/linux-x64/include/tirtc/video_frame.h +55 -0
- package/vendor/runtime/linux-x64/include/tirtc/video_io.h +53 -0
- package/vendor/runtime/linux-x64/include/tirtc/video_io_android.h +34 -0
- package/vendor/runtime/linux-x64/include/tirtc/video_io_apple.h +47 -0
- package/vendor/runtime/linux-x64/include/tirtc/video_io_harmony.h +32 -0
- package/vendor/runtime/linux-x64/include/tirtc/video_io_windows.h +26 -0
- package/vendor/runtime/linux-x64/include/tirtc/video_processing.h +34 -0
- package/vendor/runtime/linux-x64/lib/libTiRTC.a +0 -0
- package/vendor/runtime/linux-x64/lib/libcrypto.a +0 -0
- package/vendor/runtime/linux-x64/lib/libmatrix_runtime_audio.a +0 -0
- package/vendor/runtime/linux-x64/lib/libmatrix_runtime_facade.a +0 -0
- package/vendor/runtime/linux-x64/lib/libmatrix_runtime_foundation_http.a +0 -0
- package/vendor/runtime/linux-x64/lib/libmatrix_runtime_foundation_logging.a +0 -0
- package/vendor/runtime/linux-x64/lib/libmatrix_runtime_media.a +0 -0
- package/vendor/runtime/linux-x64/lib/libmatrix_runtime_transport.a +0 -0
- package/vendor/runtime/linux-x64/lib/libmatrix_runtime_video.a +0 -0
- package/vendor/runtime/linux-x64/lib/libssl.a +0 -0
- package/vendor/runtime/linux-x64/lib/libwebrtc_apm.a +0 -0
- package/vendor/runtime/linux-x64/lib/libxlog.a +0 -0
- package/vendor/runtime/linux-x64/manifest.txt +45 -0
- package/vendor/runtime/macos-arm64/include/tirtc/audio.h +21 -0
- package/vendor/runtime/macos-arm64/include/tirtc/av.h +28 -0
- package/vendor/runtime/macos-arm64/include/tirtc/error.h +41 -2
- package/vendor/runtime/macos-arm64/include/tirtc/media_downlink.h +45 -0
- package/vendor/runtime/macos-arm64/include/tirtc/video_codec.h +13 -0
- package/vendor/runtime/macos-arm64/lib/libmatrix_runtime_audio.a +0 -0
- package/vendor/runtime/macos-arm64/lib/libmatrix_runtime_facade.a +0 -0
- package/vendor/runtime/macos-arm64/lib/libmatrix_runtime_foundation_http.a +0 -0
- package/vendor/runtime/macos-arm64/lib/libmatrix_runtime_foundation_logging.a +0 -0
- package/vendor/runtime/macos-arm64/lib/libmatrix_runtime_media.a +0 -0
- package/vendor/runtime/macos-arm64/lib/libmatrix_runtime_transport.a +0 -0
- package/vendor/runtime/macos-arm64/lib/libmatrix_runtime_video.a +0 -0
- package/vendor/runtime/macos-arm64/manifest.txt +13 -13
- package/vendor/runtime/script/prepare_runtime_media_dataset.sh +15 -0
- package/vendor/devtools/driver/macos-arm64/runtime_validation_client_bin +0 -0
|
@@ -26,6 +26,19 @@ typedef enum TirtcVideoDecoderPreference {
|
|
|
26
26
|
TIRTC_VIDEO_DECODER_PREFERENCE_HARDWARE = 2,
|
|
27
27
|
} TirtcVideoDecoderPreference;
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Backend family that is actually handling a video decoder route.
|
|
31
|
+
*
|
|
32
|
+
* `UNKNOWN` means the runtime has not locked a decoder route or the current snapshot cannot prove
|
|
33
|
+
* one. The enum intentionally reports only the supported backend family; platform-specific decoder
|
|
34
|
+
* names and native handles are not part of this public surface.
|
|
35
|
+
*/
|
|
36
|
+
typedef enum TirtcVideoDecoderBackendKind {
|
|
37
|
+
TIRTC_VIDEO_DECODER_BACKEND_KIND_UNKNOWN = 0,
|
|
38
|
+
TIRTC_VIDEO_DECODER_BACKEND_KIND_SOFTWARE = 1,
|
|
39
|
+
TIRTC_VIDEO_DECODER_BACKEND_KIND_HARDWARE = 2,
|
|
40
|
+
} TirtcVideoDecoderBackendKind;
|
|
41
|
+
|
|
29
42
|
typedef enum TirtcVideoEncoderBackendKind {
|
|
30
43
|
TIRTC_VIDEO_ENCODER_BACKEND_KIND_SOFTWARE = 1,
|
|
31
44
|
TIRTC_VIDEO_ENCODER_BACKEND_KIND_HARDWARE = 2,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
platform=macos-arm64
|
|
2
2
|
profile=full
|
|
3
|
-
staged_at_utc=2026-04-
|
|
3
|
+
staged_at_utc=2026-04-30T09:35:10Z
|
|
4
4
|
source_sdk=/Users/allenfeng/Development/Repositories/tirtc-nexus/tirtc-matrix/.build/sdk/macos-arm64
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
bfc096be1484ac2b1c2776ccabfa2a4c6a982e869abf875192ff06fad85e82ca include/tirtc/audio.h
|
|
7
7
|
6d972ccfe150a3b4f2d7f18fa92b3ade9210c1c8bb754d061ac6b7997b59e2cb include/tirtc/audio_codec.h
|
|
8
8
|
7bacbdb2d8bb10d6444036a8fef42f2a8e3ea34dfc38e165ee678d61f189db41 include/tirtc/audio_frame.h
|
|
9
9
|
fb8ea35263167c33487bd3aa503c26ed2dfbf97877f7bda92c10065cd5c97c13 include/tirtc/audio_io.h
|
|
@@ -13,17 +13,17 @@ c2e1f31dcc75be461c577d18b1cebe32774f212d51cb4dd2a5b5a9bfe62b693e include/tirtc/
|
|
|
13
13
|
51cbc911fe9f9834046f0e0a1a7cdd814a8e194a615894a8b4d11f9e5f095610 include/tirtc/audio_io_windows.h
|
|
14
14
|
21f60729117260a44af22c1af986ef17d22673b102b7b7a035f492d0665cce16 include/tirtc/audio_processing.h
|
|
15
15
|
0ca7c3c630b1242f51a0fd8154097c0a332b4c816a5707090e4381719852998c include/tirtc/audio_sample_rate.h
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
58807ba56770f38f47aec995661cadf9d3c1d6ea7bfc940767f1ce67317c7546 include/tirtc/av.h
|
|
17
|
+
0f3e2f454c35e8c2f79bdc93ed77f9f1622751e5a05defa8c9d4213ed8a797c5 include/tirtc/error.h
|
|
18
18
|
ae805545a9515edc9b94262e72ad2c7b7d649288166f4daeb450d8a55e82ae0b include/tirtc/foundation/build_info.h
|
|
19
19
|
7cf8b372a3d48d4de4a65a04c7f102281a7b42cebb9ec247853d3c53afb63b6a include/tirtc/http.h
|
|
20
20
|
70bbf93b84d9d1a85f376d9986de570c1f658319e1e5ab6d621f7a4d41033f5c include/tirtc/logging.h
|
|
21
21
|
7e2f7f81afe37e22f5414d9db32438edd948ff775230c3a0a17ff9ac1a0b560e include/tirtc/media_codec.h
|
|
22
|
-
|
|
22
|
+
ca63fe4fa0c787f20923e264e116fa6d7cb8194a227c03be4e9843d0ce5a9864 include/tirtc/media_downlink.h
|
|
23
23
|
e64191a39004165cdcd11b2ca824af34d4bfe02f7ec3c3101fa9291f56488c30 include/tirtc/media_uplink.h
|
|
24
24
|
489f6c9caa3e4094566b660ef0a002a39c66c1956ef0a1bdb6eacca3798c849a include/tirtc/transport.h
|
|
25
25
|
bb9c1bf46f2ab51a9f7adb211276c8563b09e7968031c0c6abeebc0eddd66acb include/tirtc/trp.h
|
|
26
|
-
|
|
26
|
+
92b3db6e2cb02265ad5db01881edce9d4e095b1dadf449dce5d8bb5362957e33 include/tirtc/video_codec.h
|
|
27
27
|
e51379666c199588cc33279ccf52248035d1cae3d1d468b1615ebf29f0b39c9c include/tirtc/video_frame.h
|
|
28
28
|
2a02645d82c58d433c7306a9f0bcd31d0f3e560b63822f7e80919761b81a6284 include/tirtc/video_io.h
|
|
29
29
|
9930dce5e8e2b12a1ab28ee91f3fb46f6cf3487e515ea2b4ec0e00009bd5f070 include/tirtc/video_io_android.h
|
|
@@ -35,13 +35,13 @@ cae0bbeb884e5466a56da15182c78cc22baab6c743f349a58d3595f623333585 include/tirtc/
|
|
|
35
35
|
8db86d6714264047e8fd4086ddd7315722d675749719e6175f89eb5a636b48a1 lib/libTiRTC.a
|
|
36
36
|
b39daee6a3d39bf0ca20c45084601133c4198de8dca848dcff6dd9c70ae99016 lib/libcrypto.a
|
|
37
37
|
c052857ef315e3d61db9c862cad10709a3a6b2487dc41799cbe4d74a805de875 lib/libcrypto.dylib
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
38
|
+
8196040f7450f650ebdfcb15abe5b08c0b7e2dcb93c9c8cb557e2a831fd032ae lib/libmatrix_runtime_audio.a
|
|
39
|
+
24dad84f6d7f29841cd73ef069d44d5bccf9db234bfd3adeda0ee048d1448509 lib/libmatrix_runtime_facade.a
|
|
40
|
+
12ccfbe34a6ed3496c9cbbdc9c58193daac90987b792eae3535743cfa76d0a67 lib/libmatrix_runtime_foundation_http.a
|
|
41
|
+
caddced4a0d14c5256b1e53683e7655034ac57bbad0288b5a3d9451633470984 lib/libmatrix_runtime_foundation_logging.a
|
|
42
|
+
6f0ec3bb2586ac965c67692e8e746a030512a4f3622d2a92e5892aa8267a2e05 lib/libmatrix_runtime_media.a
|
|
43
|
+
31797ff96ad7a63a898e22b30c97be6cea5cd9f95bdd6354c6054666b1f96f37 lib/libmatrix_runtime_transport.a
|
|
44
|
+
6de3cc7602dd1da437fcf803f72d81b08a82b061bc743dcae8b72d838dfaf284 lib/libmatrix_runtime_video.a
|
|
45
45
|
c11c65d373a127028350c41fa58cd2d1223f2b5d70a84e13b115d90daaba25ca lib/libssl.a
|
|
46
46
|
ef1c1104bbdd2528ed7b958fb7252bd6249875f92300b0c9577d6c4bd6c0d88a lib/libssl.dylib
|
|
47
47
|
e14e846e43d64e240fa0e5745bf4e702b79d0f2442e7f768beb990610735c71b lib/libtgrtc.dylib
|
|
@@ -145,6 +145,21 @@ readonly k_audio_codec="g711a"
|
|
|
145
145
|
readonly k_output_audio_format="pcm_s16"
|
|
146
146
|
readonly k_output_video_format="rgba8888"
|
|
147
147
|
|
|
148
|
+
AUDIO_STREAM_PRESENT="$(
|
|
149
|
+
AUDIO_STREAM_JSON="$("$FFPROBE_BIN" -v error -select_streams a:0 \
|
|
150
|
+
-show_entries stream=index -of json "$SOURCE_ABS")" \
|
|
151
|
+
node <<'NODE'
|
|
152
|
+
const payload = process.env.AUDIO_STREAM_JSON;
|
|
153
|
+
if (!payload) {
|
|
154
|
+
throw new Error('missing AUDIO_STREAM_JSON');
|
|
155
|
+
}
|
|
156
|
+
const parsed = JSON.parse(payload);
|
|
157
|
+
const stream = Array.isArray(parsed.streams) ? parsed.streams[0] : null;
|
|
158
|
+
process.stdout.write(stream ? '1' : '0');
|
|
159
|
+
NODE
|
|
160
|
+
)"
|
|
161
|
+
[[ "$AUDIO_STREAM_PRESENT" == "1" ]] || fail "invalid_source_media: source mp4 is missing an audio stream: $SOURCE_ABS"
|
|
162
|
+
|
|
148
163
|
VIDEO_STREAM_FIELDS="$(
|
|
149
164
|
VIDEO_STREAM_JSON="$("$FFPROBE_BIN" -v error -select_streams v:0 \
|
|
150
165
|
-show_entries stream=width,height,bit_rate -of json "$SOURCE_ABS")" \
|
|
Binary file
|