mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-23 13:40:43 +01:00
Make fields final
Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
parent
5e778c94fb
commit
557602d1bf
@ -66,26 +66,27 @@ import autodagger.AutoInjector;
|
|||||||
|
|
||||||
@AutoInjector(NextcloudTalkApplication.class)
|
@AutoInjector(NextcloudTalkApplication.class)
|
||||||
public class MagicPeerConnectionWrapper {
|
public class MagicPeerConnectionWrapper {
|
||||||
|
|
||||||
private static final String TAG = MagicPeerConnectionWrapper.class.getCanonicalName();
|
private static final String TAG = MagicPeerConnectionWrapper.class.getCanonicalName();
|
||||||
|
|
||||||
private List<IceCandidate> iceCandidates = new ArrayList<>();
|
private List<IceCandidate> iceCandidates = new ArrayList<>();
|
||||||
private PeerConnection peerConnection;
|
private PeerConnection peerConnection;
|
||||||
private String sessionId;
|
private String sessionId;
|
||||||
private String nick;
|
private String nick;
|
||||||
private MediaConstraints sdpConstraints;
|
private final MediaConstraints sdpConstraints;
|
||||||
private DataChannel magicDataChannel;
|
private DataChannel magicDataChannel;
|
||||||
private MagicSdpObserver magicSdpObserver;
|
private final MagicSdpObserver magicSdpObserver;
|
||||||
private MediaStream remoteMediaStream;
|
private MediaStream remoteMediaStream;
|
||||||
|
|
||||||
private boolean remoteVideoOn;
|
private boolean remoteVideoOn;
|
||||||
private boolean remoteAudioOn;
|
private boolean remoteAudioOn;
|
||||||
|
|
||||||
private boolean hasInitiated;
|
private final boolean hasInitiated;
|
||||||
|
|
||||||
private MediaStream localStream;
|
private final MediaStream localStream;
|
||||||
private boolean isMCUPublisher;
|
private final boolean isMCUPublisher;
|
||||||
private boolean hasMCU;
|
private boolean hasMCU;
|
||||||
private String videoStreamType;
|
private final String videoStreamType;
|
||||||
|
|
||||||
private int connectionAttempts = 0;
|
private int connectionAttempts = 0;
|
||||||
private PeerConnection.IceConnectionState peerIceConnectionState;
|
private PeerConnection.IceConnectionState peerIceConnectionState;
|
||||||
|
Loading…
Reference in New Issue
Block a user