mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-07 06:39:45 +00:00
Rename remoteMediaStream to remoteStream
Align naming to the names used in WebRTC example code and documentation. Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
parent
5580c15ea6
commit
844cf09a2b
@ -76,7 +76,7 @@ public class MagicPeerConnectionWrapper {
|
||||
private final MediaConstraints mediaConstraints;
|
||||
private DataChannel dataChannel;
|
||||
private final MagicSdpObserver magicSdpObserver;
|
||||
private MediaStream remoteMediaStream;
|
||||
private MediaStream remoteStream;
|
||||
|
||||
private boolean remoteVideoOn;
|
||||
private boolean remoteAudioOn;
|
||||
@ -340,7 +340,7 @@ public class MagicPeerConnectionWrapper {
|
||||
if (iceConnectionState.equals(PeerConnection.IceConnectionState.CONNECTED)) {
|
||||
|
||||
if (!isMCUPublisher) {
|
||||
EventBus.getDefault().post(new MediaStreamEvent(remoteMediaStream, sessionId, videoStreamType));
|
||||
EventBus.getDefault().post(new MediaStreamEvent(remoteStream, sessionId, videoStreamType));
|
||||
}
|
||||
|
||||
if (hasInitiated) {
|
||||
@ -384,7 +384,7 @@ public class MagicPeerConnectionWrapper {
|
||||
|
||||
@Override
|
||||
public void onAddStream(MediaStream mediaStream) {
|
||||
remoteMediaStream = mediaStream;
|
||||
remoteStream = mediaStream;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user