mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-21 12:39:58 +01:00
Hide and delete no longer needed public methods
Although the rest of the methods are no longer needed since the handling of WebRTC messages was moved to PeerConnectionWrapper "setSessionId()" was not needed even before that. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
4dffd29ceb
commit
0e36002036
@ -169,7 +169,7 @@ public class PeerConnectionWrapper {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void drainIceCandidates() {
|
private void drainIceCandidates() {
|
||||||
|
|
||||||
if (peerConnection != null) {
|
if (peerConnection != null) {
|
||||||
for (IceCandidate iceCandidate : iceCandidates) {
|
for (IceCandidate iceCandidate : iceCandidates) {
|
||||||
@ -180,11 +180,7 @@ public class PeerConnectionWrapper {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public MagicSdpObserver getMagicSdpObserver() {
|
private void addCandidate(IceCandidate iceCandidate) {
|
||||||
return magicSdpObserver;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void addCandidate(IceCandidate iceCandidate) {
|
|
||||||
if (peerConnection != null && peerConnection.getRemoteDescription() != null) {
|
if (peerConnection != null && peerConnection.getRemoteDescription() != null) {
|
||||||
peerConnection.addIceCandidate(iceCandidate);
|
peerConnection.addIceCandidate(iceCandidate);
|
||||||
} else {
|
} else {
|
||||||
@ -224,10 +220,6 @@ public class PeerConnectionWrapper {
|
|||||||
return sessionId;
|
return sessionId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setSessionId(String sessionId) {
|
|
||||||
this.sessionId = sessionId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getNick() {
|
public String getNick() {
|
||||||
if (!TextUtils.isEmpty(nick)) {
|
if (!TextUtils.isEmpty(nick)) {
|
||||||
return nick;
|
return nick;
|
||||||
@ -236,7 +228,7 @@ public class PeerConnectionWrapper {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setNick(String nick) {
|
private void setNick(String nick) {
|
||||||
this.nick = nick;
|
this.nick = nick;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user