Commit b9ce1cb
committed
fix: exclude video calls from Call Pull list (WT-1618)
Pulling a video call offers an audio-only INVITE; the server answer keeps the
original video m-line, the offer/answer m-line layout no longer matches and
setRemoteDescription rejects it, so the pulled call fails.
Thread a nullable has_video flag from the signaling dialog_info through the model
and the drift store, and exclude known-video dialogs from the pull list
(DialogInfo.pullable). The flag is nullable: until the backend reports media type
it stays null and behaviour is unchanged (audio pull keeps working); once the
backend sends has_video=true for video dialogs they drop out of the list
automatically, with no further client change.
- SignalingDialogInfo: parse/serialize has_video
- DialogInfo: hasVideo field + pullable gate
- app_database: dialog_info.has_video column + schema migration v24
- tests: signaling parsing, pullable gate1 parent eb55858 commit b9ce1cb
13 files changed
Lines changed: 6839 additions & 4 deletions
File tree
- lib
- mappers
- drift
- signaling
- models
- packages
- data/app_database/lib/src
- drift_schemas
- migrations
- generated
- tables
- webtrit_signaling
- lib/src/events/global
- test/src/events/global
- test/models
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
| |||
58 | 67 | | |
59 | 68 | | |
60 | 69 | | |
| 70 | + | |
61 | 71 | | |
62 | 72 | | |
63 | 73 | | |
64 | 74 | | |
65 | | - | |
| 75 | + | |
66 | 76 | | |
67 | 77 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments