Commit 67ffab4
Playback refactor (#432)
* remove parent message dispatcher and genserver helper
* POC pipeline & elements startup
* termination mvp
* children removal bug fixes
* add linking order test, fix getting clock and bin termination
* remove playback state checks, fix tests
* remove status and add playback
* don't remove children until they're linked
* fix long running sync test
* Add option to name processes to ease debugging with observer
* make dialyzer happy
* fix linking test
* fixed most credo issues
* improve pipeline initialization
* using dynamic filter from test/support
* docs update
* add terminate action
* improve logs in supervisors
* ignore playback action when terminating
* Update lib/membrane/core/bin/action_handler.ex
Co-authored-by: Łukasz Kita <[email protected]>
* Update lib/membrane/core/pipeline/action_handler.ex
Co-authored-by: Łukasz Kita <[email protected]>
* Update lib/membrane/pipeline.ex
Co-authored-by: Łukasz Kita <[email protected]>
* Update lib/membrane/pipeline.ex
Co-authored-by: Łukasz Kita <[email protected]>
* start remote controlled pipeline with start_supervised in tests
* fixes for CR
* add test for element play
* fixes for CR
Co-authored-by: Bartosz Błaszków <[email protected]>
* handle_play -> handle_playing
* play_request? -> playing_requested?
* Play -> Playing
* Apply suggestions from code review
Co-authored-by: Bartosz Błaszków <[email protected]>
* refactor component path
* Improved ChildrenSupervisor, ResourceGuard and Observability (#447)
* supervisors refactor
* resource guard
* add utility supervisor to context
* refactor element tests not to use State.new
* Update lib/membrane/resource_guard.ex
Co-authored-by: Bartosz Błaszków <[email protected]>
* run resource cleanup in a separate process
* refactor observability setup
* improve children supervisor API
* add docs and test for utility supervisor and resource guard
* add timeout to resource
* use a boring function name instead of go_brrr
* unlink cleanup task in resource guard before killing it
* Add list of available callbacks in each component (#449)
* Add an aggregated list of all callbacks that can be implemented by `Filter`, `Endpoint`, `Source` and `Sink` element behaviours.
Co-authored-by: Mateusz Front <[email protected]>
* add docs for Observability.setup
Co-authored-by: Bartosz Błaszków <[email protected]>
Co-authored-by: Łukasz Kita <[email protected]>
* Playback termination (#451)
* handle_terminate_request in parent
* add handle_terminate_request to element
* fix unlinking pads
* add terminate action type to element and bin
* Rewrite espec tests (#452)
* Remove unecessary ESpec tests
* Rewrite some crucial ESpec tests
* Unify the support modules from ExUnit and ESpec
* fix linking test
* fix resource guard test
* Apply suggestions from code review
Co-authored-by: Bartosz Błaszków <[email protected]>
Co-authored-by: Łukasz Kita <[email protected]>
* Update lib/membrane/bin.ex
Co-authored-by: Bartosz Błaszków <[email protected]>
* CallbackContext.Other -> Info
* fix typos <3
* Callback contexts for handle_terminate_request
* add docs for zombies
* use ResourceGuard to report termination via telemetry
* Add a test to check the links between processes in the pipeline_test.exs. Fix the bug in the test case
* add deferred termination tests
* add description for children supervisor
* fix RC in child removal test
* ChildrenSupervisor -> SubprocessSupervisor
Co-authored-by: Łukasz Kita <[email protected]>
Co-authored-by: Bartosz Błaszków <[email protected]>
* Fix spawning children on remote nodes (#456)
* fix spawning children on remote nodes
* remove redundant checks in element and bin
* Fix filter aggregator (#455)
* termporairly fix distribution
* re-enable filter aggregator tests
* make filter aggregator work again
* add context to handle_init
* unify handle_init default impl across components
* filter aggregator test improvements
* remove redundant match
* Fixes for CR
Co-authored-by: Łukasz Kita <[email protected]>
* RemoteControlled.Pipeline await_play -> await_playing
* put back relevant tests
Co-authored-by: Łukasz Kita <[email protected]>
Co-authored-by: Bartosz Błaszków <[email protected]>1 parent 4ad63c5 commit 67ffab4
File tree
157 files changed
+3783
-3614
lines changed- assets/images
- lib/membrane
- bin
- callback_context
- core
- bin
- child
- element
- filter_aggregator
- parent
- child_life_controller
- pipeline
- element
- callback_context
- pipeline
- callback_context
- remote_controlled
- testing
- spec
- membrane
- core/element
- support/element
- test
- membrane
- core
- element
- filter_aggregator
- integration
- sync_test
- remote_controlled
- testing
- support
- bin
- child_crash_test
- child_removal_test
- demands_test
- element
- log_metadata_test
- sync
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
157 files changed
+3783
-3614
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 39 | + | |
48 | 40 | | |
49 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
50 | 46 | | |
51 | | - | |
52 | | - | |
| 47 | + | |
| 48 | + | |
53 | 49 | | |
54 | 50 | | |
55 | | - | |
| 51 | + | |
56 | 52 | | |
57 | 53 | | |
58 | 54 | | |
| |||
62 | 58 | | |
63 | 59 | | |
64 | 60 | | |
65 | | - | |
| 61 | + | |
66 | 62 | | |
67 | 63 | | |
68 | 64 | | |
| |||
72 | 68 | | |
73 | 69 | | |
74 | 70 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 71 | + | |
83 | 72 | | |
84 | | - | |
85 | | - | |
86 | | - | |
| 73 | + | |
87 | 74 | | |
88 | | - | |
89 | | - | |
| 75 | + | |
| 76 | + | |
90 | 77 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
| 78 | + | |
103 | 79 | | |
104 | 80 | | |
105 | | - | |
106 | | - | |
| 81 | + | |
107 | 82 | | |
108 | | - | |
109 | | - | |
| 83 | + | |
| 84 | + | |
110 | 85 | | |
111 | 86 | | |
112 | 87 | | |
113 | 88 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | 89 | | |
124 | 90 | | |
125 | 91 | | |
| |||
143 | 109 | | |
144 | 110 | | |
145 | 111 | | |
146 | | - | |
| 112 | + | |
147 | 113 | | |
148 | 114 | | |
149 | 115 | | |
150 | | - | |
| 116 | + | |
151 | 117 | | |
152 | | - | |
153 | | - | |
| 118 | + | |
154 | 119 | | |
155 | 120 | | |
156 | 121 | | |
| |||
173 | 138 | | |
174 | 139 | | |
175 | 140 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
| 141 | + | |
181 | 142 | | |
182 | 143 | | |
183 | 144 | | |
| |||
195 | 156 | | |
196 | 157 | | |
197 | 158 | | |
198 | | - | |
199 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
200 | 168 | | |
201 | 169 | | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
| 170 | + | |
| 171 | + | |
207 | 172 | | |
208 | 173 | | |
209 | 174 | | |
210 | 175 | | |
211 | 176 | | |
212 | 177 | | |
213 | | - | |
| 178 | + | |
| 179 | + | |
214 | 180 | | |
215 | 181 | | |
216 | 182 | | |
| |||
314 | 280 | | |
315 | 281 | | |
316 | 282 | | |
317 | | - | |
| 283 | + | |
| 284 | + | |
318 | 285 | | |
319 | 286 | | |
320 | | - | |
| 287 | + | |
321 | 288 | | |
322 | 289 | | |
323 | 290 | | |
| |||
326 | 293 | | |
327 | 294 | | |
328 | 295 | | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
| 296 | + | |
336 | 297 | | |
337 | 298 | | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
| 299 | + | |
342 | 300 | | |
343 | 301 | | |
344 | 302 | | |
| |||
358 | 316 | | |
359 | 317 | | |
360 | 318 | | |
361 | | - | |
362 | | - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
363 | 323 | | |
364 | 324 | | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
| 325 | + | |
| 326 | + | |
370 | 327 | | |
371 | 328 | | |
372 | 329 | | |
373 | 330 | | |
374 | 331 | | |
375 | | - | |
| 332 | + | |
| 333 | + | |
376 | 334 | | |
377 | 335 | | |
378 | 336 | | |
| 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 | | |
| |||
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
29 | | - | |
| 27 | + | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
85 | 100 | | |
86 | 101 | | |
87 | 102 | | |
| |||
96 | 111 | | |
97 | 112 | | |
98 | 113 | | |
| 114 | + | |
99 | 115 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments