daemon: call continues with errors after network disconnects
Issue generated from Tuleap's migration script. Originally submitted by: Stepan Salenikovich (ssalenik)
If the network disconnects during a call, the daemon continues the call with lots of encoder errors... the daemon should instead put the call in a failed state as soon as it detects network errors such as "ice send failed: Network is unreachable"
[1468940732.826| 955|media\_decoder.cpp:465 ] Creating audio resampler [1468940743.837| 954|ice\_transport.cpp:822 ] ice send failed: Network is unreachable [1468940743.837| 954|media\_encoder.cpp:279 ] av\_write\_frame failed: Input/output error [1468940743.856| 954|media\_encoder.cpp:279 ] av\_write\_frame failed: Input/output error [1468940743.876| 954|media\_encoder.cpp:279 ] av\_write\_frame failed: Input/output error [1468940743.895| 954|media\_encoder.cpp:279 ] av\_write\_frame failed: Input/output error ...