/** You probably don't need to use that directly, use the {@link SessionBuilder}. */ void removeVideoTrack() { if (mVideoStream != null) { mVideoStream.stopPreview(); mVideoStream = null; } }
/** You probably don't need to use that directly, use the {@link SessionBuilder}. */ void addVideoTrack(VideoStream track) { removeVideoTrack(); mVideoStream = track; }