Commit 0a24875
authored
Fix WebRTC UI latency issue (#528)
* Fix write-driven WebRTC presentation
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>
* Cam2V UI Enhancement (#534)
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>
* Fix transient WebRTC disconnect handling
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>
* Decompose realtime input handling
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>
* Restore SlangPy Cam2V UI
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>
* Remove WebRTC A/B benchmark harness
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>
* Use continuous presentation for Cam2V
Hoist input trace correlation and recent frame-rate tracking into reusable runtime helpers, and remove the input/idle redraw hooks from the UI loop API.
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>
* Restore lossless event buffering
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>
* Remove input event tracing
Remove event correlation metadata and browser frame-marker updates while preserving presentation pacing, CUDA stream ordering, and the bounded WebRTC sender queue.
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>
* Remove presentation metrics instrumentation
Keep the existing metrics output sink limited to unmodified model results and remove presentation queue timing and depth diagnostics from the session runner.
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>
* Make CUDA output readiness automatic
Record readiness when CUDA StepResult objects are constructed, keep the event private, and centralize asynchronous consumer stream ordering without UI-loop event boilerplate.
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>
* Remove redundant StepResult tests
Keep the end-to-end CUDA stream-ordering regression and drop constructor microtests that duplicate the exercised presentation behavior.
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>
* Move presentation stream ownership to manager
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>
* Centralize compositing and simplify StepResult
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>
* Address comments
* Refine presentation timing and output access
Reanchor UI deadlines after blocking writes so presentation stalls do not trigger catch-up bursts. Encapsulate StepResult tensor access behind consumer-stream event synchronization.
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>
* Remove obsolete pointer coalescing test
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>
* Update Waypoint v2 for presentation API
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>
---------
Signed-off-by: Gangzheng Tong <gtong@nvidia.com>1 parent bfc857d commit 0a24875
55 files changed
Lines changed: 3734 additions & 981 deletions
File tree
- apps/cam2v
- tests
- flashdreams
- flashdreams
- api_v2
- runtime_v2
- serving
- web
- runtime
- t2v_v2
- test_v2
- integrations_v2
- cam2v_lingbot
- cam2v_lingbot
- tests
- color_fade/color_fade/tests
- red_screen/red_screen/tests
- slangpy_ui_demo/slangpy_ui_demo/tests
- t2v_self_forcing/t2v_self_forcing/tests
- waypoint/waypoint_v2
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
19 | 40 | | |
20 | 41 | | |
21 | 42 | | |
| |||
24 | 45 | | |
25 | 46 | | |
26 | 47 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 48 | + | |
| 49 | + | |
30 | 50 | | |
31 | 51 | | |
32 | 52 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | 103 | | |
111 | 104 | | |
112 | 105 | | |
| |||
143 | 136 | | |
144 | 137 | | |
145 | 138 | | |
146 | | - | |
147 | 139 | | |
148 | 140 | | |
149 | 141 | | |
| |||
204 | 196 | | |
205 | 197 | | |
206 | 198 | | |
207 | | - | |
208 | 199 | | |
| 200 | + | |
209 | 201 | | |
210 | 202 | | |
211 | 203 | | |
| |||
230 | 222 | | |
231 | 223 | | |
232 | 224 | | |
233 | | - | |
234 | | - | |
235 | 225 | | |
236 | 226 | | |
237 | 227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | | - | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 24 | | |
35 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
36 | 31 | | |
37 | 32 | | |
38 | 33 | | |
| |||
41 | 36 | | |
42 | 37 | | |
43 | 38 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
52 | 47 | | |
53 | 48 | | |
54 | 49 | | |
55 | | - | |
56 | | - | |
| 50 | + | |
| 51 | + | |
57 | 52 | | |
58 | 53 | | |
59 | 54 | | |
60 | | - | |
61 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
62 | 77 | | |
63 | 78 | | |
64 | 79 | | |
65 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
66 | 85 | | |
67 | 86 | | |
68 | | - | |
69 | | - | |
| 87 | + | |
| 88 | + | |
70 | 89 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
123 | 97 | | |
124 | 98 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
129 | 102 | | |
130 | 103 | | |
131 | 104 | | |
132 | | - | |
| 105 | + | |
133 | 106 | | |
134 | 107 | | |
135 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
| 91 | + | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 95 | + | |
99 | 96 | | |
100 | 97 | | |
101 | 98 | | |
102 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
118 | 116 | | |
119 | 117 | | |
| 118 | + | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
0 commit comments