public RecordResponseManager(VideoRecorderActivitiy act, UserResponse _userResponse) { activity = act; ORIENTATIONS.Append((int)SurfaceOrientation.Rotation0, 90); ORIENTATIONS.Append((int)SurfaceOrientation.Rotation90, 0); ORIENTATIONS.Append((int)SurfaceOrientation.Rotation180, 270); ORIENTATIONS.Append((int)SurfaceOrientation.Rotation270, 180); userResponse = _userResponse; if (_userResponse == UserResponse.Video) { surfaceTextureListener = new MySurfaceTextureListener(this); stateListener = new MyCameraStateCallback(act, this); } else if (_userResponse == UserResponse.Audio) { SetUpRecoder(); } }
public UserResponseLiveDescription(Context context) { mainContext = context; videoRecord = (VideoRecorderActivitiy)context; }
public PreviewCaptureStateCallback(VideoRecorderActivitiy act, RecordResponseManager _manager) { activity = act; manager = _manager; }
public MyCameraStateCallback(VideoRecorderActivitiy act, RecordResponseManager _recordManager) { activity = act; recordManager = _recordManager; }