Inherits from C2ExpandViewController
Conforms to UIGestureRecognizerDelegate
Declared in SCVideoCallController.h

Overview

Presents the standard C2Call SDK Video Call Controller.

The Video Call Controller shows the actual video call.

Properties

backgroundView

Background Image.

@property (nonatomic, weak) IBOutlet UIImageView *backgroundView

Declared In

SCVideoCallController.h

connectionQualityImage

Connection Quality Image.

@property (nonatomic, weak) IBOutlet UIImageView *connectionQualityImage

Declared In

SCVideoCallController.h

controlsView

UIView reference to the embeeded screen controls.

@property (nonatomic, weak) IBOutlet UIView *controlsView

Declared In

SCVideoCallController.h

eaglViewController

References to the OpenGles View Controller.

@property (nonatomic, strong) IBOutlet EAGLViewController *eaglViewController

Declared In

SCVideoCallController.h

innerView

UIView Rreference to the inner view.

@property (nonatomic, weak) IBOutlet UIView *innerView

Declared In

SCVideoCallController.h

previewView

The own camera view.

@property (nonatomic, weak) IBOutlet UIView *previewView

Declared In

SCVideoCallController.h

screenControls

References to the Screen Controls.

@property (nonatomic, strong) IBOutlet ScreenControls *screenControls

Declared In

SCVideoCallController.h

useLetterboxFormat

Use letterboxFormat for Video which doesn’t fit the aspect ratio

@property (nonatomic) BOOL useLetterboxFormat

Declared In

SCVideoCallController.h

videoView

The actual remote video view.

@property (nonatomic, weak) IBOutlet EAGLView *videoView

Declared In

SCVideoCallController.h

Instance Methods

captureImage

Capture Image of current VideoCall

- (UIImage *)captureImage

Return Value

Image of the call

Declared In

SCVideoCallController.h

hangUp:

HangUp.

- (IBAction)hangUp:(id)sender

Parameters

sender
  • The initiator of the action

Declared In

SCVideoCallController.h

hideScreenControls

Hides ScreenControls view.

- (void)hideScreenControls

Declared In

SCVideoCallController.h

muteMic:

Mutes the Mic.

- (IBAction)muteMic:(id)sender

Parameters

sender
  • The initiator of the action

Declared In

SCVideoCallController.h

resize

Resizes Video View (fo example on rotate).

- (void)resize

Declared In

SCVideoCallController.h

setCompletionHandler:

Set the completion handling.

- (void)setCompletionHandler:(id)handler

Parameters

handler
  • Code Block to execute when the call is finished

Discussion

Set your own code block to initate action after the call has been finished. Typically, the video controller will be removed from the UI.

Declared In

SCVideoCallController.h

showScreenControls

Shows ScreenControls view.

- (void)showScreenControls

Declared In

SCVideoCallController.h

stop

Stop the video player

- (void)stop

Discussion

After stopping, the VideoController will be disposed and the completion handler will be excecuted. It will not hang up the actual call.

Declared In

SCVideoCallController.h

switchCamera:

Switches Camera.

- (IBAction)switchCamera:(id)sender

Parameters

sender
  • The initiator of the action

Discussion

Front / Rear / NO Camera

Declared In

SCVideoCallController.h

toggleVideoScreen:

Expands / Collapses Video Screen (for iPad only).

- (IBAction)toggleVideoScreen:(id)sender

Parameters

sender
  • The initiator of the action

Declared In

SCVideoCallController.h