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