mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-22 21:15:30 +03:00
Replace concrete implementation with interface
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
e4e9a51889
commit
faf25f8071
1 changed files with 3 additions and 3 deletions
|
@ -59,8 +59,8 @@ import java.io.IOException;
|
|||
import java.nio.ByteBuffer;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
@ -364,9 +364,9 @@ public class PeerConnectionWrapper {
|
|||
}
|
||||
} else {
|
||||
if (dataChannelMessage.getPayload() != null) {
|
||||
HashMap<String, String> payloadHashMap = (HashMap<String, String>) dataChannelMessage.getPayload();
|
||||
Map<String, String> payloadMap = (Map<String, String>) dataChannelMessage.getPayload();
|
||||
EventBus.getDefault().post(new PeerConnectionEvent(PeerConnectionEvent.PeerConnectionEventType
|
||||
.NICK_CHANGE, sessionId, payloadHashMap.get("name"), null, videoStreamType));
|
||||
.NICK_CHANGE, sessionId, payloadMap.get("name"), null, videoStreamType));
|
||||
}
|
||||
}
|
||||
} else if ("audioOn".equals(dataChannelMessage.getType())) {
|
||||
|
|
Loading…
Reference in a new issue