mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
More cleanup
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
0ecd90a45c
commit
b2d15dcce7
@ -272,7 +272,6 @@ public class CallActivity extends AppCompatActivity {
|
||||
// can add our renderer to the VideoTrack.
|
||||
localVideoTrack.addRenderer(localRenderer);
|
||||
|
||||
//we already have video and audio tracks. Now create peerconnections
|
||||
iceServers = new ArrayList<>();
|
||||
iceServers.add(new PeerConnection.IceServer("stun:stun.nextcloud.com:443"));
|
||||
|
||||
@ -518,7 +517,6 @@ public class CallActivity extends AppCompatActivity {
|
||||
}
|
||||
|
||||
|
||||
|
||||
private PeerConnectionWrapper alwaysGetPeerConnectionWrapperForSessionId(String sessionId, boolean isLocalPeer) {
|
||||
PeerConnectionWrapper peerConnectionWrapper;
|
||||
if ((peerConnectionWrapper = getPeerConnectionWrapperForSessionId(sessionId)) != null) {
|
||||
@ -699,6 +697,7 @@ public class CallActivity extends AppCompatActivity {
|
||||
|
||||
ncApi.sendSignalingMessages(credentials, ApiHelper.getUrlForSignaling(userEntity.getBaseUrl()),
|
||||
strings.toString())
|
||||
.retry(3)
|
||||
.subscribeOn(Schedulers.newThread())
|
||||
.subscribe(new Observer<SignalingOverall>() {
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user