Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2017-12-07 21:36:38 +01:00
parent 38285cdea2
commit 1811d9bdfa

View file

@ -52,7 +52,7 @@ public class MagicPeerConnectionWrapper {
private List<PeerConnection.IceServer> iceServers; private List<PeerConnection.IceServer> iceServers;
private String sessionId; private String sessionId;
private String localSession; private String localSession;
private String nick = ""; private String nick;
private MediaConstraints mediaConstraints; private MediaConstraints mediaConstraints;
private DataChannel magicDataChannel; private DataChannel magicDataChannel;
private MagicSdpObserver magicSdpObserver; private MagicSdpObserver magicSdpObserver;
@ -133,7 +133,11 @@ public class MagicPeerConnectionWrapper {
} }
public String getNick() { public String getNick() {
if (nick != null) {
return nick; return nick;
} else {
return "";
}
} }
public void setNick(String nick) { public void setNick(String nick) {