mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-08 23:19:55 +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 final MediaConstraints mediaConstraints;
|
||||||
private DataChannel dataChannel;
|
private DataChannel dataChannel;
|
||||||
private final MagicSdpObserver magicSdpObserver;
|
private final MagicSdpObserver magicSdpObserver;
|
||||||
private MediaStream remoteMediaStream;
|
private MediaStream remoteStream;
|
||||||
|
|
||||||
private boolean remoteVideoOn;
|
private boolean remoteVideoOn;
|
||||||
private boolean remoteAudioOn;
|
private boolean remoteAudioOn;
|
||||||
@ -340,7 +340,7 @@ public class MagicPeerConnectionWrapper {
|
|||||||
if (iceConnectionState.equals(PeerConnection.IceConnectionState.CONNECTED)) {
|
if (iceConnectionState.equals(PeerConnection.IceConnectionState.CONNECTED)) {
|
||||||
|
|
||||||
if (!isMCUPublisher) {
|
if (!isMCUPublisher) {
|
||||||
EventBus.getDefault().post(new MediaStreamEvent(remoteMediaStream, sessionId, videoStreamType));
|
EventBus.getDefault().post(new MediaStreamEvent(remoteStream, sessionId, videoStreamType));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasInitiated) {
|
if (hasInitiated) {
|
||||||
@ -384,7 +384,7 @@ public class MagicPeerConnectionWrapper {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onAddStream(MediaStream mediaStream) {
|
public void onAddStream(MediaStream mediaStream) {
|
||||||
remoteMediaStream = mediaStream;
|
remoteStream = mediaStream;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user