use of eu.siacs.conversations.xmpp.jingle.JingleRtpConnection in project Conversations by siacs.
the class RtpSessionActivity method onStop.
@Override
public void onStop() {
mHandler.removeCallbacks(mTickExecutor);
binding.remoteVideo.release();
binding.remoteVideo.setOnAspectRatioChanged(null);
binding.localVideo.release();
final WeakReference<JingleRtpConnection> weakReference = this.rtpConnectionReference;
final JingleRtpConnection jingleRtpConnection = weakReference == null ? null : weakReference.get();
if (jingleRtpConnection != null) {
releaseVideoTracks(jingleRtpConnection);
}
releaseProximityWakeLock();
super.onStop();
}
Aggregations