tirtc-devtools-cli 0.0.12 → 0.0.14

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.
Files changed (138) hide show
  1. package/README.md +42 -46
  2. package/USAGE.md +90 -311
  3. package/dist/cli/src/embedded_paths.d.ts +0 -2
  4. package/dist/cli/src/embedded_paths.js +3 -25
  5. package/dist/cli/src/index.js +82 -584
  6. package/dist/cli/src/role_driver.d.ts +33 -0
  7. package/dist/cli/src/role_driver.js +500 -0
  8. package/dist/cli/src/token_command.js +29 -14
  9. package/dist/cli/src/token_issue.d.ts +9 -0
  10. package/dist/cli/src/token_issue.js +138 -0
  11. package/dist/cli/src/token_tool.d.ts +4 -4
  12. package/dist/cli/src/token_tool.js +66 -182
  13. package/package.json +1 -1
  14. package/vendor/devtools/driver/macos-arm64/devtools_driver_probe +0 -0
  15. package/vendor/devtools/driver/macos-arm64/runtime_validation_client_bin +0 -0
  16. package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/audio.h +83 -2
  17. package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/audio_io.h +9 -0
  18. package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/av.h +74 -0
  19. package/vendor/runtime/macos-arm64/include/tirtc/error.h +63 -0
  20. package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/media_downlink.h +58 -5
  21. package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/media_uplink.h +4 -0
  22. package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/transport.h +52 -15
  23. package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/trp.h +17 -5
  24. package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/video_codec.h +41 -0
  25. package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/video_io.h +7 -0
  26. package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/video_io_android.h +2 -0
  27. package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/lib/libmatrix_runtime_audio.a +0 -0
  28. package/vendor/runtime/macos-arm64/lib/libmatrix_runtime_facade.a +0 -0
  29. package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/lib/libmatrix_runtime_foundation_http.a +0 -0
  30. package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/lib/libmatrix_runtime_foundation_logging.a +0 -0
  31. package/vendor/runtime/macos-arm64/lib/libmatrix_runtime_media.a +0 -0
  32. package/vendor/runtime/macos-arm64/lib/libmatrix_runtime_transport.a +0 -0
  33. package/vendor/runtime/macos-arm64/lib/libmatrix_runtime_video.a +0 -0
  34. package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/manifest.txt +20 -25
  35. package/vendor/runtime/script/prepare_runtime_media_dataset.sh +308 -12
  36. package/dist/app-server/protocol-client/index.d.ts +0 -25
  37. package/dist/app-server/protocol-client/index.js +0 -114
  38. package/dist/cli/src/bootstrap_flows.d.ts +0 -46
  39. package/dist/cli/src/bootstrap_flows.js +0 -249
  40. package/dist/cli/src/config.d.ts +0 -26
  41. package/dist/cli/src/config.js +0 -62
  42. package/dist/cli/src/facade.d.ts +0 -430
  43. package/dist/cli/src/facade.js +0 -170
  44. package/dist/cli/src/guide.d.ts +0 -1
  45. package/dist/cli/src/guide.js +0 -47
  46. package/dist/cli/src/session_manager.d.ts +0 -25
  47. package/dist/cli/src/session_manager.js +0 -391
  48. package/dist/cli/src/transport.d.ts +0 -30
  49. package/dist/cli/src/transport.js +0 -84
  50. package/vendor/app-server/bin/native/linux-x64/credential_napi.node +0 -0
  51. package/vendor/app-server/bin/native/macos-arm64/credential_napi.node +0 -0
  52. package/vendor/app-server/bin/runtime/linux-x64/include/tirtc/credential.h +0 -34
  53. package/vendor/app-server/bin/runtime/linux-x64/include/tirtc/error.h +0 -33
  54. package/vendor/app-server/bin/runtime/linux-x64/lib/libcrypto.a +0 -0
  55. package/vendor/app-server/bin/runtime/linux-x64/lib/libmatrix_runtime_credential.a +0 -0
  56. package/vendor/app-server/bin/runtime/linux-x64/lib/libmatrix_runtime_foundation_http.a +0 -0
  57. package/vendor/app-server/bin/runtime/linux-x64/lib/libmatrix_runtime_foundation_logging.a +0 -0
  58. package/vendor/app-server/bin/runtime/linux-x64/lib/libssl.a +0 -0
  59. package/vendor/app-server/bin/runtime/linux-x64/lib/libxlog.a +0 -0
  60. package/vendor/app-server/bin/runtime/linux-x64/manifest.txt +0 -4
  61. package/vendor/app-server/bin/runtime/macos-arm64/include/tirtc/credential.h +0 -34
  62. package/vendor/app-server/bin/runtime/macos-arm64/include/tirtc/error.h +0 -33
  63. package/vendor/app-server/bin/runtime/macos-arm64/include/tirtc/foundation/build_info.h +0 -27
  64. package/vendor/app-server/bin/runtime/macos-arm64/include/tirtc/http.h +0 -57
  65. package/vendor/app-server/bin/runtime/macos-arm64/include/tirtc/logging.h +0 -55
  66. package/vendor/app-server/bin/runtime/macos-arm64/include/tirtc/media_fixture_av_sync.h +0 -61
  67. package/vendor/app-server/bin/runtime/macos-arm64/include/tirtc/media_fixture_source.h +0 -77
  68. package/vendor/app-server/bin/runtime/macos-arm64/include/tirtc/media_live_source.h +0 -71
  69. package/vendor/app-server/bin/runtime/macos-arm64/lib/libmatrix_runtime_credential.a +0 -0
  70. package/vendor/app-server/bin/runtime/macos-arm64/lib/libmatrix_runtime_facade.a +0 -0
  71. package/vendor/app-server/bin/runtime/macos-arm64/lib/libmatrix_runtime_media.a +0 -0
  72. package/vendor/app-server/bin/runtime/macos-arm64/lib/libmatrix_runtime_transport.a +0 -0
  73. package/vendor/app-server/bin/runtime/macos-arm64/lib/libmatrix_runtime_video.a +0 -0
  74. package/vendor/app-server/bin/tirtc-devtool-host.js +0 -2
  75. package/vendor/app-server/dist/host/ArtifactManager.d.ts +0 -18
  76. package/vendor/app-server/dist/host/ArtifactManager.js +0 -98
  77. package/vendor/app-server/dist/host/HostCommandCoordinator.d.ts +0 -19
  78. package/vendor/app-server/dist/host/HostCommandCoordinator.js +0 -196
  79. package/vendor/app-server/dist/host/HostProtocol.d.ts +0 -103
  80. package/vendor/app-server/dist/host/HostProtocol.js +0 -239
  81. package/vendor/app-server/dist/host/HostServer.d.ts +0 -52
  82. package/vendor/app-server/dist/host/HostServer.js +0 -727
  83. package/vendor/app-server/dist/host/HostState.d.ts +0 -69
  84. package/vendor/app-server/dist/host/HostState.js +0 -19
  85. package/vendor/app-server/dist/host/RuntimeAdapter.d.ts +0 -95
  86. package/vendor/app-server/dist/host/RuntimeAdapter.js +0 -636
  87. package/vendor/app-server/dist/host/RuntimeReceiveWorker.d.ts +0 -37
  88. package/vendor/app-server/dist/host/RuntimeReceiveWorker.js +0 -186
  89. package/vendor/app-server/dist/host/RuntimeSendWorker.d.ts +0 -58
  90. package/vendor/app-server/dist/host/RuntimeSendWorker.js +0 -438
  91. package/vendor/app-server/dist/host/TokenTool.d.ts +0 -15
  92. package/vendor/app-server/dist/host/TokenTool.js +0 -84
  93. package/vendor/app-server/dist/host/WebPreviewGateway.d.ts +0 -28
  94. package/vendor/app-server/dist/host/WebPreviewGateway.js +0 -815
  95. package/vendor/app-server/dist/host/native/RuntimeCredentialTokenIssuer.d.ts +0 -26
  96. package/vendor/app-server/dist/host/native/RuntimeCredentialTokenIssuer.js +0 -118
  97. package/vendor/app-server/dist/host/native/RuntimeHostBridge.d.ts +0 -32
  98. package/vendor/app-server/dist/host/native/RuntimeHostBridge.js +0 -157
  99. package/vendor/app-server/dist/host/runtime_backed_preflight.d.ts +0 -10
  100. package/vendor/app-server/dist/host/runtime_backed_preflight.js +0 -78
  101. package/vendor/app-server/dist/host/tests/helpers/host_socket_client.d.ts +0 -28
  102. package/vendor/app-server/dist/host/tests/helpers/host_socket_client.js +0 -85
  103. package/vendor/app-server/dist/host/tests/helpers/runtime_e2e_local_config.d.ts +0 -10
  104. package/vendor/app-server/dist/host/tests/helpers/runtime_e2e_local_config.js +0 -41
  105. package/vendor/app-server/dist/host/tests/helpers/runtime_test_env.d.ts +0 -11
  106. package/vendor/app-server/dist/host/tests/helpers/runtime_test_env.js +0 -32
  107. package/vendor/app-server/dist/protocol/contract.d.ts +0 -1128
  108. package/vendor/app-server/dist/protocol/contract.js +0 -217
  109. package/vendor/app-server/dist/protocol-client/index.d.ts +0 -25
  110. package/vendor/app-server/dist/protocol-client/index.js +0 -114
  111. package/vendor/app-server/dist/src/index.d.ts +0 -1
  112. package/vendor/app-server/dist/src/index.js +0 -294
  113. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/audio_codec.h +0 -0
  114. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/audio_frame.h +0 -0
  115. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/audio_io_android.h +0 -0
  116. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/audio_io_apple.h +0 -0
  117. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/audio_io_harmony.h +0 -0
  118. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/audio_io_windows.h +0 -0
  119. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/audio_processing.h +0 -0
  120. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/audio_sample_rate.h +0 -0
  121. /package/vendor/{app-server/bin/runtime/linux-x64 → runtime/macos-arm64}/include/tirtc/foundation/build_info.h +0 -0
  122. /package/vendor/{app-server/bin/runtime/linux-x64 → runtime/macos-arm64}/include/tirtc/http.h +0 -0
  123. /package/vendor/{app-server/bin/runtime/linux-x64 → runtime/macos-arm64}/include/tirtc/logging.h +0 -0
  124. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/media_codec.h +0 -0
  125. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/video_frame.h +0 -0
  126. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/video_io_apple.h +0 -0
  127. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/video_io_harmony.h +0 -0
  128. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/video_io_windows.h +0 -0
  129. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/include/tirtc/video_processing.h +0 -0
  130. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/lib/libTGTRP.a +0 -0
  131. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/lib/libTiRTC.a +0 -0
  132. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/lib/libcrypto.a +0 -0
  133. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/lib/libcrypto.dylib +0 -0
  134. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/lib/libssl.a +0 -0
  135. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/lib/libssl.dylib +0 -0
  136. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/lib/libtgrtc.dylib +0 -0
  137. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/lib/libwebrtc_apm.a +0 -0
  138. /package/vendor/{app-server/bin/runtime → runtime}/macos-arm64/lib/libxlog.a +0 -0
@@ -5,6 +5,7 @@
5
5
 
6
6
  #include "tirtc/audio.h"
7
7
  #include "tirtc/media_codec.h"
8
+ #include "tirtc/video_codec.h"
8
9
  #include "tirtc/video_io.h"
9
10
 
10
11
  #ifdef __cplusplus
@@ -13,6 +14,8 @@ extern "C" {
13
14
 
14
15
  typedef struct TirtcVideoInput TirtcVideoInput;
15
16
 
17
+ typedef struct TirtcVideoEncodedInput TirtcVideoEncodedInput;
18
+
16
19
  typedef struct TirtcVideoOutput TirtcVideoOutput;
17
20
 
18
21
  typedef enum TirtcVideoOutputState {
@@ -26,6 +29,29 @@ typedef enum TirtcVideoOutputState {
26
29
  TIRTC_VIDEO_OUTPUT_STATE_FAILED = 3,
27
30
  } TirtcVideoOutputState;
28
31
 
32
+ typedef struct TirtcVideoOutputStartupMetrics {
33
+ int has_connect_start;
34
+ int has_connected;
35
+ int has_first_video_input;
36
+ int has_first_video_decoded;
37
+ int has_first_video_rendered;
38
+ uint64_t connect_start_monotonic_ms;
39
+ uint64_t connected_monotonic_ms;
40
+ uint64_t first_video_input_monotonic_ms;
41
+ uint64_t first_video_decoded_monotonic_ms;
42
+ uint64_t first_video_rendered_monotonic_ms;
43
+ } TirtcVideoOutputStartupMetrics;
44
+
45
+ typedef struct TirtcVideoOutputMetricsSnapshot {
46
+ TirtcVideoOutputStartupMetrics startup;
47
+ TirtcOutputStutterMetrics stutter;
48
+ TirtcPendingDurationMetrics pending;
49
+ } TirtcVideoOutputMetricsSnapshot;
50
+
51
+ typedef struct TirtcVideoOutputOptions {
52
+ TirtcVideoDecoderPreference decoder_preference;
53
+ } TirtcVideoOutputOptions;
54
+
29
55
  typedef struct TirtcVideoInputOptions {
30
56
  TirtcMediaCodec codec;
31
57
 
@@ -36,6 +62,8 @@ typedef struct TirtcVideoInputOptions {
36
62
  uint32_t fps;
37
63
 
38
64
  uint32_t bitrate_kbps;
65
+
66
+ TirtcVideoEncoderPreference encoder_preference;
39
67
  } TirtcVideoInputOptions;
40
68
 
41
69
  /**
@@ -54,6 +82,23 @@ typedef struct TirtcVideoInputObserver {
54
82
  void* user_data);
55
83
  } TirtcVideoInputObserver;
56
84
 
85
+ typedef struct TirtcVideoEncodedInputOptions {
86
+ TirtcMediaCodec codec;
87
+ TirtcVideoBitstreamFormat bitstream_format;
88
+ } TirtcVideoEncodedInputOptions;
89
+
90
+ typedef struct TirtcVideoEncodedInputObserver {
91
+ void (*on_state_changed)(TirtcVideoEncodedInput* input, TirtcInputState state, void* user_data);
92
+
93
+ void (*on_output_size_changed)(TirtcVideoEncodedInput* input, uint32_t width, uint32_t height,
94
+ void* user_data);
95
+
96
+ void (*on_error)(TirtcVideoEncodedInput* input, TirtcError error, TirtcOwnedString* owned_message,
97
+ void* user_data);
98
+
99
+ void (*on_key_frame_requested)(TirtcVideoEncodedInput* input, void* user_data);
100
+ } TirtcVideoEncodedInputObserver;
101
+
57
102
  /**
58
103
  * Video output observer.
59
104
  *
@@ -106,8 +151,34 @@ TirtcError tirtc_video_input_detach_preview(TirtcVideoInput* input);
106
151
 
107
152
  void tirtc_video_input_destroy(TirtcVideoInput* input);
108
153
 
154
+ TirtcError tirtc_video_encoded_input_create(TirtcVideoEncodedInput** out_input);
155
+
156
+ TirtcError tirtc_video_encoded_input_set_options(TirtcVideoEncodedInput* input,
157
+ const TirtcVideoEncodedInputOptions* options);
158
+
159
+ TirtcError tirtc_video_encoded_input_set_observer(TirtcVideoEncodedInput* input,
160
+ const TirtcVideoEncodedInputObserver* observer,
161
+ void* user_data);
162
+
163
+ TirtcError tirtc_video_encoded_input_start(TirtcVideoEncodedInput* input);
164
+
165
+ TirtcError tirtc_video_encoded_input_stop(TirtcVideoEncodedInput* input);
166
+
167
+ TirtcError tirtc_video_encoded_input_attach(TirtcVideoEncodedInput* input, TirtcConn* connection,
168
+ uint8_t stream_id);
169
+
170
+ TirtcError tirtc_video_encoded_input_detach(TirtcVideoEncodedInput* input, TirtcConn* connection);
171
+
172
+ TirtcError tirtc_video_encoded_input_submit_frame(TirtcVideoEncodedInput* input,
173
+ const TirtcVideoEncodedFrame* frame);
174
+
175
+ void tirtc_video_encoded_input_destroy(TirtcVideoEncodedInput* input);
176
+
109
177
  TirtcError tirtc_video_output_create(TirtcVideoOutput** out_output);
110
178
 
179
+ TirtcError tirtc_video_output_set_options(TirtcVideoOutput* output,
180
+ const TirtcVideoOutputOptions* options);
181
+
111
182
  TirtcError tirtc_video_output_set_observer(TirtcVideoOutput* output,
112
183
  const TirtcVideoOutputObserver* observer,
113
184
  void* user_data);
@@ -127,6 +198,9 @@ TirtcError tirtc_video_output_start_raw_dump(TirtcVideoOutput* output);
127
198
 
128
199
  TirtcError tirtc_video_output_stop_raw_dump(TirtcVideoOutput* output);
129
200
 
201
+ TirtcError tirtc_metrics_video_output_get_snapshot(TirtcVideoOutput* output,
202
+ TirtcVideoOutputMetricsSnapshot* out_snapshot);
203
+
130
204
  #ifdef __cplusplus
131
205
  }
132
206
  #endif
@@ -0,0 +1,63 @@
1
+ #ifndef TIRTC_FOUNDATION_ERROR_H_
2
+ #define TIRTC_FOUNDATION_ERROR_H_
3
+
4
+ #ifdef __cplusplus
5
+ extern "C" {
6
+ #endif
7
+
8
+ typedef enum TirtcError {
9
+ TIRTC_ERROR_OK = 0,
10
+ TIRTC_ERROR_INVALID_ARGUMENT = 6000,
11
+ TIRTC_ERROR_NOT_INITIALIZED = 6001,
12
+ TIRTC_ERROR_INTERNAL = 6002,
13
+ TIRTC_ERROR_NOT_READY = 6003,
14
+ TIRTC_ERROR_UNSUPPORTED_LOOP_POLICY = 6004,
15
+ TIRTC_ERROR_SOURCE_HASH_MISMATCH = 6005,
16
+ TIRTC_ERROR_ALREADY_STOPPED = 6006,
17
+ TIRTC_ERROR_STOPPED = TIRTC_ERROR_ALREADY_STOPPED,
18
+ TIRTC_ERROR_ALREADY_DESTROYED = 6007,
19
+ TIRTC_ERROR_DESTROYED = TIRTC_ERROR_ALREADY_DESTROYED,
20
+ TIRTC_ERROR_TRANSPORT_INVALID_LICENSE = 6008,
21
+ TIRTC_ERROR_TRANSPORT_TIMEOUT = 6009,
22
+ TIRTC_ERROR_TRANSPORT_BUSY = 6010,
23
+ TIRTC_ERROR_TRANSPORT_CONNECTION_TIMEOUT_CLOSED = 6011,
24
+ TIRTC_ERROR_TRANSPORT_REMOTE_CLOSED = 6012,
25
+ TIRTC_ERROR_TRANSPORT_CONNECTION_OTHER_ERROR = 6013,
26
+ TIRTC_ERROR_TRANSPORT_TOKEN_EXPIRED = 6014,
27
+ TIRTC_ERROR_DUMP_ROOT_UNAVAILABLE = 6015,
28
+ TIRTC_ERROR_DUMP_ALREADY_ACTIVE = 6016,
29
+ TIRTC_ERROR_TRANSPORT_RESOURCE_EXHAUSTED = 6017,
30
+ TIRTC_ERROR_TRANSPORT_SERVER_ERROR = 6018,
31
+ TIRTC_ERROR_TRANSPORT_BACKEND_INTERNAL_ERROR = 6019,
32
+ TIRTC_ERROR_TRANSPORT_NO_SECRET_KEY = 6020,
33
+ TIRTC_ERROR_TRANSPORT_UNEXPECTED_RESPONSE = 6021,
34
+ TIRTC_ERROR_ALREADY_INITIALIZED = 6022,
35
+ TIRTC_ERROR_INVALID_THREAD = 6023,
36
+ TIRTC_ERROR_PERMISSION_DENIED = 6024,
37
+ TIRTC_ERROR_ALREADY_BOUND = 6025,
38
+ TIRTC_ERROR_IN_USE = 6026,
39
+ TIRTC_ERROR_NOT_STARTED = 6027,
40
+ TIRTC_ERROR_NOT_CONNECTED = 6028,
41
+ TIRTC_ERROR_NOT_BOUND = 6029,
42
+ TIRTC_ERROR_NOT_CONFIGURED = 6030,
43
+ TIRTC_ERROR_NOT_OPEN = 6031,
44
+ TIRTC_ERROR_APP_ID_REQUIRED = 6032,
45
+ TIRTC_ERROR_VIDEO_ENCODER_BACKEND_UNAVAILABLE = 6033,
46
+ TIRTC_ERROR_VIDEO_ENCODER_CODEC_UNSUPPORTED = 6034,
47
+ TIRTC_ERROR_VIDEO_ENCODER_INITIALIZATION_FAILED = 6035,
48
+ TIRTC_ERROR_VIDEO_DECODER_CODEC_UNSUPPORTED = 6036,
49
+ TIRTC_ERROR_VIDEO_DECODER_BACKEND_UNAVAILABLE = 6037,
50
+ TIRTC_ERROR_VIDEO_DECODER_INITIALIZATION_FAILED = 6038,
51
+ TIRTC_ERROR_VIDEO_DECODER_CONFIGURATION_FAILED = 6039,
52
+ TIRTC_ERROR_VIDEO_DECODER_RUNTIME_FAILED = 6040,
53
+ TIRTC_ERROR_VIDEO_OUTPUT_TARGET_UNAVAILABLE = 6041,
54
+ TIRTC_ERROR_VIDEO_OUTPUT_RENDER_FAILED = 6042,
55
+ } TirtcError;
56
+
57
+ const char* tirtc_error_to_string(TirtcError error);
58
+
59
+ #ifdef __cplusplus
60
+ }
61
+ #endif
62
+
63
+ #endif // TIRTC_FOUNDATION_ERROR_H_
@@ -5,7 +5,9 @@
5
5
 
6
6
  #include "tirtc/audio_frame.h"
7
7
  #include "tirtc/audio_io.h"
8
+ #include "tirtc/audio_processing.h"
8
9
  #include "tirtc/error.h"
10
+ #include "tirtc/video_codec.h"
9
11
  #include "tirtc/video_frame.h"
10
12
  #include "tirtc/video_io.h"
11
13
 
@@ -20,17 +22,19 @@ typedef enum TirtcMediaDownlinkState {
20
22
  TIRTC_MEDIA_DOWNLINK_STATE_IDLE = 0,
21
23
  TIRTC_MEDIA_DOWNLINK_STATE_RENDERING = 1,
22
24
  TIRTC_MEDIA_DOWNLINK_STATE_BUFFERING = 2,
23
- TIRTC_MEDIA_DOWNLINK_STATE_PAUSED = 3,
24
- TIRTC_MEDIA_DOWNLINK_STATE_COMPLETED = 4,
25
- TIRTC_MEDIA_DOWNLINK_STATE_FAILED = 5,
25
+ TIRTC_MEDIA_DOWNLINK_STATE_FAILED = 3,
26
26
  } TirtcMediaDownlinkState;
27
27
 
28
28
  typedef struct TirtcMediaDownlinkAudioOptions {
29
29
  uint32_t volume_percent;
30
- int gain_level;
31
- int noise_reduction_level;
30
+ TirtcAudioAgcLevel agc_level;
31
+ TirtcAudioAnsLevel ans_level;
32
32
  } TirtcMediaDownlinkAudioOptions;
33
33
 
34
+ typedef struct TirtcMediaDownlinkVideoOptions {
35
+ TirtcVideoDecoderPreference decoder_preference;
36
+ } TirtcMediaDownlinkVideoOptions;
37
+
34
38
  typedef struct TirtcMediaDownlinkAudioObserver {
35
39
  void (*on_state_changed)(TirtcMediaDownlinkAudio* downlink, TirtcMediaDownlinkState state,
36
40
  TirtcError error, void* user_data);
@@ -43,6 +47,45 @@ typedef struct TirtcMediaDownlinkVideoObserver {
43
47
  void* user_data);
44
48
  } TirtcMediaDownlinkVideoObserver;
45
49
 
50
+ typedef struct TirtcMediaDownlinkStutterMetricsSnapshot {
51
+ int session_started;
52
+ uint64_t session_duration_ms;
53
+ uint64_t session_stutter_total_ms;
54
+ uint32_t session_stutter_count;
55
+ uint64_t session_stutter_peak_ms;
56
+ double session_stutter_ratio;
57
+ uint32_t recent_window_duration_ms;
58
+ uint64_t recent_window_stutter_total_ms;
59
+ uint32_t recent_window_stutter_count;
60
+ uint64_t recent_window_stutter_peak_ms;
61
+ double recent_window_stutter_ratio;
62
+ } TirtcMediaDownlinkStutterMetricsSnapshot;
63
+
64
+ typedef struct TirtcMediaDownlinkPendingMetricsSnapshot {
65
+ uint64_t undecoded_pending_duration_ms;
66
+ uint64_t decoded_pending_duration_ms;
67
+ } TirtcMediaDownlinkPendingMetricsSnapshot;
68
+
69
+ typedef struct TirtcMediaDownlinkAudioMetricsSnapshot {
70
+ TirtcMediaDownlinkStutterMetricsSnapshot stutter;
71
+ TirtcMediaDownlinkPendingMetricsSnapshot pending;
72
+ } TirtcMediaDownlinkAudioMetricsSnapshot;
73
+
74
+ typedef struct TirtcMediaDownlinkVideoStartupMetricsSnapshot {
75
+ int has_first_video_input;
76
+ int has_first_video_decoded;
77
+ int has_first_video_rendered;
78
+ uint64_t first_video_input_monotonic_ms;
79
+ uint64_t first_video_decoded_monotonic_ms;
80
+ uint64_t first_video_rendered_monotonic_ms;
81
+ } TirtcMediaDownlinkVideoStartupMetricsSnapshot;
82
+
83
+ typedef struct TirtcMediaDownlinkVideoMetricsSnapshot {
84
+ TirtcMediaDownlinkVideoStartupMetricsSnapshot startup;
85
+ TirtcMediaDownlinkStutterMetricsSnapshot stutter;
86
+ TirtcMediaDownlinkPendingMetricsSnapshot pending;
87
+ } TirtcMediaDownlinkVideoMetricsSnapshot;
88
+
46
89
  TirtcError tirtc_media_downlink_audio_create(TirtcMediaDownlinkAudio** out_downlink);
47
90
  void tirtc_media_downlink_audio_retain(TirtcMediaDownlinkAudio* downlink);
48
91
  void tirtc_media_downlink_audio_release(TirtcMediaDownlinkAudio* downlink);
@@ -72,6 +115,8 @@ void tirtc_media_downlink_video_release(TirtcMediaDownlinkVideo* downlink);
72
115
  void tirtc_media_downlink_video_destroy(TirtcMediaDownlinkVideo* downlink);
73
116
  TirtcError tirtc_media_downlink_video_set_vout(TirtcMediaDownlinkVideo* downlink,
74
117
  TirtcVideoVout* vout);
118
+ TirtcError tirtc_media_downlink_video_set_options(TirtcMediaDownlinkVideo* downlink,
119
+ const TirtcMediaDownlinkVideoOptions* options);
75
120
  TirtcError tirtc_media_downlink_video_set_observer(TirtcMediaDownlinkVideo* downlink,
76
121
  const TirtcMediaDownlinkVideoObserver* observer,
77
122
  void* user_data);
@@ -94,6 +139,14 @@ TirtcError tirtc_media_downlink_video_start_raw_dump(TirtcMediaDownlinkVideo* do
94
139
  const char* prefix);
95
140
  TirtcError tirtc_media_downlink_video_stop_raw_dump(TirtcMediaDownlinkVideo* downlink);
96
141
 
142
+ TirtcError tirtc_media_downlink_audio_get_metrics_snapshot(
143
+ TirtcMediaDownlinkAudio* downlink, TirtcMediaDownlinkAudioMetricsSnapshot* out_snapshot);
144
+ void tirtc_media_downlink_audio_reset_metrics_session(TirtcMediaDownlinkAudio* downlink);
145
+
146
+ TirtcError tirtc_media_downlink_video_get_metrics_snapshot(
147
+ TirtcMediaDownlinkVideo* downlink, TirtcMediaDownlinkVideoMetricsSnapshot* out_snapshot);
148
+ void tirtc_media_downlink_video_reset_metrics_session(TirtcMediaDownlinkVideo* downlink);
149
+
97
150
  #ifdef __cplusplus
98
151
  }
99
152
  #endif
@@ -8,6 +8,7 @@
8
8
  #include "tirtc/audio_processing.h"
9
9
  #include "tirtc/error.h"
10
10
  #include "tirtc/media_codec.h"
11
+ #include "tirtc/video_codec.h"
11
12
  #include "tirtc/video_frame.h"
12
13
  #include "tirtc/video_io.h"
13
14
 
@@ -40,6 +41,7 @@ typedef struct TirtcMediaUplinkVideoOptions {
40
41
  uint32_t height;
41
42
  uint32_t fps;
42
43
  uint32_t bitrate_kbps;
44
+ TirtcVideoEncoderPreference encoder_preference;
43
45
  } TirtcMediaUplinkVideoOptions;
44
46
 
45
47
  typedef struct TirtcMediaUplinkAudioSink {
@@ -108,6 +110,8 @@ TirtcError tirtc_media_uplink_video_get_output_size(TirtcMediaUplinkVideo* uplin
108
110
  TirtcError tirtc_media_uplink_video_request_key_frame(TirtcMediaUplinkVideo* uplink);
109
111
  TirtcError tirtc_media_uplink_video_start(TirtcMediaUplinkVideo* uplink);
110
112
  TirtcError tirtc_media_uplink_video_stop(TirtcMediaUplinkVideo* uplink);
113
+ TirtcError tirtc_media_uplink_video_submit_encoded_frame(TirtcMediaUplinkVideo* uplink,
114
+ const TirtcVideoEncodedFrame* frame);
111
115
 
112
116
  #ifdef __cplusplus
113
117
  }
@@ -82,14 +82,42 @@ typedef enum TirtcTransportAudioSample {
82
82
  #define TIRTC_TRANSPORT_FRAME_FLAG_KEY_FRAME 0x01
83
83
 
84
84
  /**
85
- * @brief Opaque descriptor payload passed to transport backend.
86
- */
87
- typedef struct TirtcTransportDescriptor {
88
- /** Pointer to descriptor bytes. */
89
- const void* data;
90
- /** Descriptor byte length. */
91
- size_t length;
92
- } TirtcTransportDescriptor;
85
+ * @brief Network type hint passed to the transport backend.
86
+ */
87
+ typedef enum TirtcTransportNetworkType {
88
+ /** Use the backend default network behavior. */
89
+ TIRTC_TRANSPORT_NETWORK_TYPE_DEFAULT = 0,
90
+ /** Wi-Fi network path. */
91
+ TIRTC_TRANSPORT_NETWORK_TYPE_WIFI = 1,
92
+ /** 4G cellular network path. */
93
+ TIRTC_TRANSPORT_NETWORK_TYPE_4G = 2,
94
+ } TirtcTransportNetworkType;
95
+
96
+ /**
97
+ * @brief Transport runtime options shared by service and outgoing connection paths.
98
+ */
99
+ typedef struct TirtcTransportRuntimeOptions {
100
+ /** Required service endpoint URL. */
101
+ const char* endpoint;
102
+ /** Optional network type hint. Zero-initialized options use the backend default. */
103
+ TirtcTransportNetworkType network_type;
104
+ /** Non-zero enables backend wakeup support. */
105
+ uint8_t wakeup_enabled;
106
+ /** Non-zero enables restricted-network mode. */
107
+ uint8_t restricted_network;
108
+ } TirtcTransportRuntimeOptions;
109
+
110
+ /**
111
+ * @brief Connect-parameter cache policy for outgoing connections.
112
+ */
113
+ typedef enum TirtcTransportConnectCacheMode {
114
+ /** Use backend default cache policy. */
115
+ TIRTC_TRANSPORT_CONNECT_CACHE_DEFAULT = 0,
116
+ /** Disable backend connection-parameter cache. */
117
+ TIRTC_TRANSPORT_CONNECT_CACHE_DISABLED = 1,
118
+ /** Enable backend connection-parameter cache. */
119
+ TIRTC_TRANSPORT_CONNECT_CACHE_ENABLED = 2,
120
+ } TirtcTransportConnectCacheMode;
93
121
 
94
122
  typedef struct TirtcTransportConnService TirtcTransportConnService;
95
123
  typedef struct TirtcTransportConn TirtcTransportConn;
@@ -98,8 +126,11 @@ typedef struct TirtcTransportConn TirtcTransportConn;
98
126
  * @brief Options for starting service runtime.
99
127
  */
100
128
  typedef struct TirtcTransportConnServiceOptions {
101
- /** Required transport descriptor for service runtime. */
102
- const TirtcTransportDescriptor* descriptor;
129
+ /** Required service license. */
130
+ const char* license;
131
+
132
+ /** Required runtime options. */
133
+ TirtcTransportRuntimeOptions runtime_options;
103
134
 
104
135
  /**
105
136
  * @brief Maximum number of concurrently accepted connections for this
@@ -117,10 +148,16 @@ typedef struct TirtcTransportConnServiceOptions {
117
148
  * @brief Options for creating outgoing connection.
118
149
  */
119
150
  typedef struct TirtcTransportConnOptions {
120
- /** Target peer identifier. */
121
- const char* peer_id;
122
- /** Required transport descriptor for client connection. */
123
- const TirtcTransportDescriptor* descriptor;
151
+ /** Target remote identifier. */
152
+ const char* remote_id;
153
+ /** Required one-shot bootstrap token. */
154
+ const char* token;
155
+ /** Required runtime options. */
156
+ TirtcTransportRuntimeOptions runtime_options;
157
+ /** Backend connection-parameter cache policy. */
158
+ TirtcTransportConnectCacheMode connect_cache_mode;
159
+ /** Non-zero asks backend to try cached connect parameters before the explicit token. */
160
+ uint8_t prefer_cached_connect_params;
124
161
  } TirtcTransportConnOptions;
125
162
 
126
163
  /**
@@ -271,7 +308,7 @@ TirtcError tirtc_transport_enable_debug(uint8_t enabled);
271
308
  void tirtc_transport_uninit(void);
272
309
 
273
310
  /**
274
- * @brief Start service runtime with descriptor and service observer.
311
+ * @brief Start service runtime with typed options and service observer.
275
312
  */
276
313
  TirtcError tirtc_transport_conn_service_start(const TirtcTransportConnServiceOptions* options,
277
314
  const TirtcTransportConnServiceCallbacks* callbacks,
@@ -14,14 +14,16 @@
14
14
  extern "C" {
15
15
  #endif
16
16
 
17
- typedef struct TirtcOptions {
17
+ typedef struct TirtcInitOptions {
18
+ const char* app_id;
19
+
18
20
  const char* endpoint;
19
21
 
20
22
  const char* log_root_dir;
21
23
 
22
- int enable_console_log;
24
+ int console_log_enabled;
23
25
 
24
- } TirtcOptions;
26
+ } TirtcInitOptions;
25
27
 
26
28
  typedef enum TirtcMediaSendPolicy {
27
29
 
@@ -39,7 +41,7 @@ typedef struct TirtcConnServiceStartOptions {
39
41
  } TirtcConnServiceStartOptions;
40
42
 
41
43
  typedef struct TirtcConnConnectOptions {
42
- const char* peer_id;
44
+ const char* remote_id;
43
45
 
44
46
  const char* token;
45
47
  } TirtcConnConnectOptions;
@@ -81,6 +83,13 @@ typedef struct TirtcConnCommand {
81
83
  size_t length;
82
84
  } TirtcConnCommand;
83
85
 
86
+ typedef struct TirtcConnMetricsSnapshot {
87
+ int has_connect_start;
88
+ int has_connected;
89
+ uint64_t connect_start_monotonic_ms;
90
+ uint64_t connected_monotonic_ms;
91
+ } TirtcConnMetricsSnapshot;
92
+
84
93
  /** Heap-owned byte payload allocated by facade callback dispatch. */
85
94
  typedef struct TirtcOwnedBytes {
86
95
  /** Payload buffer allocated by facade, or `NULL` for zero-length payloads. */
@@ -127,7 +136,7 @@ typedef struct TirtcConnCallbacks {
127
136
  TirtcOwnedBytes* owned_payload, void* user_data);
128
137
  } TirtcConnCallbacks;
129
138
 
130
- TirtcError tirtc_init(const TirtcOptions* options);
139
+ TirtcError tirtc_init(const TirtcInitOptions* options);
131
140
 
132
141
  void tirtc_uninit(void);
133
142
 
@@ -168,6 +177,9 @@ void tirtc_owned_string_release(TirtcOwnedString* owned);
168
177
 
169
178
  TirtcError tirtc_conn_send_command(TirtcConn* connection, const TirtcConnCommand* command);
170
179
 
180
+ TirtcError tirtc_metrics_conn_get_snapshot(TirtcConn* connection,
181
+ TirtcConnMetricsSnapshot* out_snapshot);
182
+
171
183
  #ifdef __cplusplus
172
184
  }
173
185
  #endif
@@ -14,6 +14,30 @@ extern "C" {
14
14
  typedef struct TirtcVideoEncoder TirtcVideoEncoder;
15
15
  typedef struct TirtcVideoDecoder TirtcVideoDecoder;
16
16
 
17
+ typedef enum TirtcVideoEncoderPreference {
18
+ TIRTC_VIDEO_ENCODER_PREFERENCE_AUTO = 0,
19
+ TIRTC_VIDEO_ENCODER_PREFERENCE_SOFTWARE = 1,
20
+ TIRTC_VIDEO_ENCODER_PREFERENCE_HARDWARE = 2,
21
+ } TirtcVideoEncoderPreference;
22
+
23
+ typedef enum TirtcVideoDecoderPreference {
24
+ TIRTC_VIDEO_DECODER_PREFERENCE_AUTO = 0,
25
+ TIRTC_VIDEO_DECODER_PREFERENCE_SOFTWARE = 1,
26
+ TIRTC_VIDEO_DECODER_PREFERENCE_HARDWARE = 2,
27
+ } TirtcVideoDecoderPreference;
28
+
29
+ typedef enum TirtcVideoEncoderBackendKind {
30
+ TIRTC_VIDEO_ENCODER_BACKEND_KIND_SOFTWARE = 1,
31
+ TIRTC_VIDEO_ENCODER_BACKEND_KIND_HARDWARE = 2,
32
+ } TirtcVideoEncoderBackendKind;
33
+
34
+ typedef struct TirtcVideoEncoderRuntimeInfo {
35
+ TirtcVideoEncoderBackendKind actual_backend;
36
+ TirtcVideoEncoderPreference requested_encoder_preference;
37
+ int did_fallback;
38
+ TirtcVideoPixelFormat resolved_input_pixel_format;
39
+ } TirtcVideoEncoderRuntimeInfo;
40
+
17
41
  typedef struct TirtcVideoEncoderConfig {
18
42
  TirtcMediaCodec codec;
19
43
  TirtcVideoBitstreamFormat bitstream_format;
@@ -22,6 +46,14 @@ typedef struct TirtcVideoEncoderConfig {
22
46
  uint32_t fps;
23
47
  uint32_t bitrate_kbps;
24
48
  TirtcVideoPixelFormat input_pixel_format;
49
+ /**
50
+ * Selects the encoder backend family before the encoder is created.
51
+ *
52
+ * Zero-initialized configs use `AUTO`, which currently preserves the software encoder path.
53
+ * `HARDWARE` is strict: if the requested hardware backend is unavailable or cannot initialize,
54
+ * create fails with a video encoder error instead of falling back to software.
55
+ */
56
+ TirtcVideoEncoderPreference encoder_preference;
25
57
  } TirtcVideoEncoderConfig;
26
58
 
27
59
  typedef struct TirtcVideoDecoderConfig {
@@ -35,6 +67,15 @@ TirtcError tirtc_video_encoder_create(const TirtcVideoEncoderConfig* config,
35
67
  void tirtc_video_encoder_destroy(TirtcVideoEncoder* encoder);
36
68
  TirtcError tirtc_video_encoder_reset(TirtcVideoEncoder* encoder);
37
69
  TirtcError tirtc_video_encoder_request_key_frame(TirtcVideoEncoder* encoder);
70
+ /**
71
+ * Returns the backend decision made during encoder creation.
72
+ *
73
+ * `out_info` is caller-owned storage. The function writes a value copy and does not allocate or
74
+ * transfer ownership. It may be called after successful create and before destroy, including while
75
+ * another thread is using the encoder through the normal encode/control API.
76
+ */
77
+ TirtcError tirtc_video_encoder_get_runtime_info(const TirtcVideoEncoder* encoder,
78
+ TirtcVideoEncoderRuntimeInfo* out_info);
38
79
  TirtcError tirtc_video_encoder_encode(TirtcVideoEncoder* encoder,
39
80
  const TirtcVideoPixelFrame* in_frame, void* out_buffer,
40
81
  size_t out_buffer_capacity,
@@ -21,6 +21,11 @@ typedef struct TirtcVideoIoConfig {
21
21
  TirtcVideoPixelFormat pixel_format;
22
22
  } TirtcVideoIoConfig;
23
23
 
24
+ typedef struct TirtcVideoHeadlessVoutOptions {
25
+ const char* first_frame_json_path;
26
+ const char* first_frame_raw_path;
27
+ } TirtcVideoHeadlessVoutOptions;
28
+
24
29
  typedef void (*TirtcVideoVinOnFrameFn)(TirtcVideoVin* vin, const TirtcVideoPixelFrame* frame,
25
30
  void* user_data);
26
31
 
@@ -33,6 +38,8 @@ TirtcError tirtc_video_vin_close(TirtcVideoVin* vin);
33
38
  void tirtc_video_vin_destroy(TirtcVideoVin* vin);
34
39
 
35
40
  TirtcError tirtc_video_vout_open(TirtcVideoVout* vout, const TirtcVideoIoConfig* config);
41
+ TirtcError tirtc_video_vout_create_headless_capture(const TirtcVideoHeadlessVoutOptions* options,
42
+ TirtcVideoVout** out_vout);
36
43
  TirtcError tirtc_video_vout_get_actual_config(TirtcVideoVout* vout, TirtcVideoIoConfig* out_config);
37
44
  TirtcError tirtc_video_vout_render_frame(TirtcVideoVout* vout, const TirtcVideoPixelFrame* frame);
38
45
  TirtcError tirtc_video_vout_flush(TirtcVideoVout* vout);
@@ -18,6 +18,8 @@ typedef enum TirtcVideoAndroidVoutRenderer {
18
18
  typedef struct TirtcVideoAndroidSurfaceTextureVoutOptions {
19
19
  struct ANativeWindow* native_window;
20
20
  TirtcVideoAndroidVoutRenderer renderer;
21
+ const char* h264_decoder_name;
22
+ const char* h265_decoder_name;
21
23
  } TirtcVideoAndroidSurfaceTextureVoutOptions;
22
24
 
23
25
  TirtcError tirtc_video_android_create_surface_texture_vout(TirtcVideoVout** out_vout);
@@ -1,36 +1,32 @@
1
1
  platform=macos-arm64
2
- profile=credential
3
- staged_at_utc=2026-04-21T13:44:23Z
2
+ profile=full
3
+ staged_at_utc=2026-04-30T07:05:30Z
4
4
  source_sdk=/Users/allenfeng/Development/Repositories/tirtc-nexus/tirtc-matrix/.build/sdk/macos-arm64
5
5
 
6
- bfea7c19fdc3f25680946a575db9b3e60e8cd2b3fe1ddde8c7c93b57a6a3902c include/tirtc/audio.h
6
+ e962631f85675937fd973797720466fd75717f74335c8102c664814d59179113 include/tirtc/audio.h
7
7
  6d972ccfe150a3b4f2d7f18fa92b3ade9210c1c8bb754d061ac6b7997b59e2cb include/tirtc/audio_codec.h
8
8
  7bacbdb2d8bb10d6444036a8fef42f2a8e3ea34dfc38e165ee678d61f189db41 include/tirtc/audio_frame.h
9
- 84f1bbe67efa15ab3b2d995d661025aac43e2fe547a14a012a24d89cfe3cb859 include/tirtc/audio_io.h
9
+ fb8ea35263167c33487bd3aa503c26ed2dfbf97877f7bda92c10065cd5c97c13 include/tirtc/audio_io.h
10
10
  c2e1f31dcc75be461c577d18b1cebe32774f212d51cb4dd2a5b5a9bfe62b693e include/tirtc/audio_io_android.h
11
11
  878bb18220ac62304ec95807f31e83e050c8dac14811f873454f9b045028694a include/tirtc/audio_io_apple.h
12
12
  0569eb1d043ee7fa8d45ca43143eca1a22e4c4bf1507ca7e045e010a3ecbc288 include/tirtc/audio_io_harmony.h
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
- 339508d784d3114dd3cbf14ad90dd6345d633ec647ca0f9bb8942eb1b83533b2 include/tirtc/av.h
17
- 4198c95c48ae579d1c782635b00fa5c9009d0c56ba466e6e3873e8298faae029 include/tirtc/credential.h
18
- d29f24fc665d01ab45f993c06c09fccca2bd5c844250ddbdc3c9d8d0c8548803 include/tirtc/error.h
16
+ 94f378da8bc728a1b9a44fbe74a0367b06ad2401ae55fa5bb6bee63b447ce511 include/tirtc/av.h
17
+ 70d0e950f78309e12c927b37a6f7184fe3724edc5391176a697f7d7c7f49ab5a include/tirtc/error.h
19
18
  ae805545a9515edc9b94262e72ad2c7b7d649288166f4daeb450d8a55e82ae0b include/tirtc/foundation/build_info.h
20
19
  7cf8b372a3d48d4de4a65a04c7f102281a7b42cebb9ec247853d3c53afb63b6a include/tirtc/http.h
21
20
  70bbf93b84d9d1a85f376d9986de570c1f658319e1e5ab6d621f7a4d41033f5c include/tirtc/logging.h
22
21
  7e2f7f81afe37e22f5414d9db32438edd948ff775230c3a0a17ff9ac1a0b560e include/tirtc/media_codec.h
23
- 3fa1d5fe3c3c2644d134e13678cbf5562440a2c5d4a652dc24bf9f124731509a include/tirtc/media_downlink.h
24
- 21ef53b4d120aab600168c4082e7622c791ab4929fb20b3fb31f73ed01eee02a include/tirtc/media_fixture_av_sync.h
25
- 037d9a581cef71afe9233456b1f4ef866c3739150532f3c30a67d361e8af9eef include/tirtc/media_fixture_source.h
26
- a4f8ab44c1a20ad37f250363a403a9d4d007e61ddb2426c7966dbc05f6a04b4f include/tirtc/media_live_source.h
27
- 1b3be6954e547f91a047866438bff1820c8406afaf91cef68ddee29a6ac70234 include/tirtc/media_uplink.h
28
- 26b831c7b8bd69b7699017427f3243cd22393c90c9518a820f5eb87eb3792483 include/tirtc/transport.h
29
- 185183a736774cdf737504c091e4648d7f476c16abf18ee8c8ac0da2eb9a5c79 include/tirtc/trp.h
30
- dff5b0a0ac4a40ad17c93e1e56b3c416371c81ab365e287ea8cd6ce37ccbed3b include/tirtc/video_codec.h
22
+ 0d1c3a8d1537a839cb6050fe5b35079087f094673dd9eb5b4d9acdcc9a2dd5fc include/tirtc/media_downlink.h
23
+ e64191a39004165cdcd11b2ca824af34d4bfe02f7ec3c3101fa9291f56488c30 include/tirtc/media_uplink.h
24
+ 489f6c9caa3e4094566b660ef0a002a39c66c1956ef0a1bdb6eacca3798c849a include/tirtc/transport.h
25
+ bb9c1bf46f2ab51a9f7adb211276c8563b09e7968031c0c6abeebc0eddd66acb include/tirtc/trp.h
26
+ 118593dd6e57d1a982c4b861e7d26f066a4eb4b5f2e152dbf7b7205d87b467f2 include/tirtc/video_codec.h
31
27
  e51379666c199588cc33279ccf52248035d1cae3d1d468b1615ebf29f0b39c9c include/tirtc/video_frame.h
32
- d920afad955b9f206b02b19ca152315190fa84ab6f24e895a5b24c3ab9ffd701 include/tirtc/video_io.h
33
- 9294d144dbc56415ddbc06c68a26b4a662b51a3808f49ded81a37776ad243293 include/tirtc/video_io_android.h
28
+ 2a02645d82c58d433c7306a9f0bcd31d0f3e560b63822f7e80919761b81a6284 include/tirtc/video_io.h
29
+ 9930dce5e8e2b12a1ab28ee91f3fb46f6cf3487e515ea2b4ec0e00009bd5f070 include/tirtc/video_io_android.h
34
30
  005114b9213ec826e18d11eca4b9d65cce2ca0e7c781f03d85292365d9d5dfdd include/tirtc/video_io_apple.h
35
31
  cae0bbeb884e5466a56da15182c78cc22baab6c743f349a58d3595f623333585 include/tirtc/video_io_harmony.h
36
32
  65b5d24fe3a6bc2a299a2220148a153ba4eb0955a49c1c3baabf1fdfed8aabdd include/tirtc/video_io_windows.h
@@ -39,14 +35,13 @@ cae0bbeb884e5466a56da15182c78cc22baab6c743f349a58d3595f623333585 include/tirtc/
39
35
  8db86d6714264047e8fd4086ddd7315722d675749719e6175f89eb5a636b48a1 lib/libTiRTC.a
40
36
  b39daee6a3d39bf0ca20c45084601133c4198de8dca848dcff6dd9c70ae99016 lib/libcrypto.a
41
37
  c052857ef315e3d61db9c862cad10709a3a6b2487dc41799cbe4d74a805de875 lib/libcrypto.dylib
42
- a3cbd2372889b96346fb211846de94edb5ec7f5d15af02a150c3c24efb999187 lib/libmatrix_runtime_audio.a
43
- 012cf0bd9aaa49fe42a43de19edddb01b654df741a0f5782568c52f0d3c8dfbb lib/libmatrix_runtime_credential.a
44
- 75554a31b1c99be83d22f168de91584f19dc9ee69a13fe8b62d5dfdab6baf016 lib/libmatrix_runtime_facade.a
45
- a5235f14059d7807968353b32cefcddbebec2cc5808912898078a6c6cf9bdd50 lib/libmatrix_runtime_foundation_http.a
46
- dcb14497951c566352cf4b14a7b870872069824d6a2a067bfe5b421fc6500216 lib/libmatrix_runtime_foundation_logging.a
47
- 1b1b7980f498b603132bf11dce7d24f60bdc8a11d6a0ac916c4454dde4ebbc3f lib/libmatrix_runtime_media.a
48
- 6d6bf7d07cc35df568582218193487235452ef47dd736f36d7de3c95ac1bde18 lib/libmatrix_runtime_transport.a
49
- 0abee197077a906f6af3f5e05c72bcfe5b874478b65ad454b3013ab9df398af1 lib/libmatrix_runtime_video.a
38
+ d8467c6dd8da2b9ecf55b4969703ecc2fee1bd696828db0dace96b8250ba59a2 lib/libmatrix_runtime_audio.a
39
+ 395dc1ad1f45de3922a924f1a2a6b292e05a66c8f91781f3daf608467ff85e83 lib/libmatrix_runtime_facade.a
40
+ d7b60286d449e8e32ea2ba4b44d7c013d68df1892a731dd554a3715677faed48 lib/libmatrix_runtime_foundation_http.a
41
+ 1f17fcd4f27d12b04c94f3d2df89aeae4f691ade8a3c4da635c17859fb8e3ea4 lib/libmatrix_runtime_foundation_logging.a
42
+ ff0accd2e53381e9f8a4174df0a5409ddf48052c8646a4af63c22517bf4e7a8c lib/libmatrix_runtime_media.a
43
+ 31016e1e69ca8991f4d3862e6998f21c349e6578c8f47a8a9bc8b186f73d2cb3 lib/libmatrix_runtime_transport.a
44
+ 87aaeb7b243200f70312c21b715c235259782eb02a7c760d4c5f79fa43e0b3f8 lib/libmatrix_runtime_video.a
50
45
  c11c65d373a127028350c41fa58cd2d1223f2b5d70a84e13b115d90daaba25ca lib/libssl.a
51
46
  ef1c1104bbdd2528ed7b958fb7252bd6249875f92300b0c9577d6c4bd6c0d88a lib/libssl.dylib
52
47
  e14e846e43d64e240fa0e5745bf4e702b79d0f2442e7f768beb990610735c71b lib/libtgrtc.dylib