Fix NPE after call failure.
This commit is contained in:
parent
0269a3eb6f
commit
7e9e2fead2
1 changed files with 1 additions and 0 deletions
|
@ -924,6 +924,7 @@ public class WebRtcCallService extends Service implements CallManager.Observer,
|
||||||
callManager.setVideoEnable(enable);
|
callManager.setVideoEnable(enable);
|
||||||
} catch (CallException e) {
|
} catch (CallException e) {
|
||||||
callFailure("setVideoEnable() failed: ", e);
|
callFailure("setVideoEnable() failed: ", e);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
localCameraState = camera.getCameraState();
|
localCameraState = camera.getCameraState();
|
||||||
|
|
Loading…
Add table
Reference in a new issue