EricssonResearch / EricssonResearch/openwebrtc-examples

Android NativeCall demo got "disconnected from server"

Open
#190 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
336
Forks
209
PR merge metrics
No merged PRs in 30d

Description

I built the android NativeCall example project (running on real device Android 4.0.4 / API 15,) after clicking Join to the demo.openwebrtc.org, I failed with "Disconnected from server", apparently reaching the callback method:

``` java
@Override
public void onDisconnect() {
Toast.makeText(this, "Disconnected from server", Toast.LENGTH_LONG).show();
updateVideoView(false);
mStreamSet = null;
if (mRtcSession != null) { // I also encountered an NPE here if not protected by the condition
mRtcSession.stop();
mRtcSession = null;
}
mSignalingChannel = null;
}
```

Any clue?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.