Summary: |
should we transmit failed state to tp instead of exhausted candidates ? |
Product: |
Telepathy
|
Reporter: |
Fabrice Bellet <fabrice> |
Component: |
tp-farstream | Assignee: |
Olivier CrĂȘte <olivier.crete> |
Status: |
RESOLVED
MOVED
|
QA Contact: |
Telepathy bugs list <telepathy-bugs> |
Severity: |
normal
|
|
|
Priority: |
medium
|
|
|
Version: |
git master | |
|
Hardware: |
Other | |
|
OS: |
All | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
I'm not sure of this case, but the code handling the conversion from FS_STREAM_STATE_* to TP_STREAM_ENDPOINT_STATE_* looks a bit strange to me in cb_fs_component_state_changed(): > switch (fsstate) > { > default: > g_warning ("Unknown Farstream state, returning ExhaustedCandidates"); > /* fall through */ > case FS_STREAM_STATE_FAILED: > state = TP_STREAM_ENDPOINT_STATE_EXHAUSTED_CANDIDATES; > break; Why is state EXHAUSTED_CANDIDATES returned in case of failure, instead of TP_STREAM_ENDPOINT_STATE_FAILED ?