FMLiveSwitchCocoaImageViewSink Class Reference

Instance Methods

(instancetype) - init
 Initializes a new instance of the FMLiveSwitchViewSink`1 class. More...
 
(instancetype) - initWithInput:
 Initializes a new instance of the FMLiveSwitchViewSink`1 class. More...
 
(instancetype) - initWithInputs:
 Initializes a new instance of the FMLiveSwitchViewSink`1 class. More...
 
(instancetype) - initWithView:
 
(instancetype) - initWithView:input:
 
(instancetype) - initWithView:inputs:
 
(void) - renderBufferWithInputBuffer:
 Renders the buffer. More...
 
(void) - renderImage:
 
- Instance Methods inherited from FMLiveSwitchViewSink
(void) - doProcessFrame:inputBuffer:
 Processes a frame. More...
 
(instancetype) - initWithInputFormat:
 Initializes a new instance of the FMLiveSwitchViewSink`1 class. More...
 
(bool) - isRecording
 Gets a value indicating whether a recording icon should be displayed. More...
 
(void) - setIsRecording:
 Sets a value indicating whether a recording icon should be displayed. More...
 
(void) - setViewMirror:
 Sets a value indicating whether the view is mirrored. More...
 
(void) - setViewScale:
 Sets the view scale. More...
 
(T) - view
 Gets the view. More...
 
(bool) - viewMirror
 Gets a value indicating whether the view is mirrored. More...
 
(FMLiveSwitchLayoutScale) - viewScale
 Gets the view scale. More...
 

Class Methods

(instancetype) + imageViewSink
 
(instancetype) + imageViewSinkWithInput:
 
(instancetype) + imageViewSinkWithInputs:
 
(instancetype) + imageViewSinkWithView:
 
(instancetype) + imageViewSinkWithView:input:
 
(instancetype) + imageViewSinkWithView:inputs:
 
- Class Methods inherited from FMLiveSwitchViewSink
(FMLiveSwitchViewSink *) + viewSink
 Initializes a new instance of the FMLiveSwitchViewSink`1 class. More...
 
(FMLiveSwitchViewSink *) + viewSinkWithInput:
 Initializes a new instance of the FMLiveSwitchViewSink`1 class. More...
 
(FMLiveSwitchViewSink *) + viewSinkWithInputFormat:
 Initializes a new instance of the FMLiveSwitchViewSink`1 class. More...
 
(FMLiveSwitchViewSink *) + viewSinkWithInputs:
 Initializes a new instance of the FMLiveSwitchViewSink`1 class. More...
 

Protected Attributes

FM_IMAGE_VIEW_view
 
FMLiveSwitchLayoutScale _viewScale
 
bool _viewMirror
 
- Protected Attributes inherited from FMLiveSwitchViewSink
 __pad0__: FMLiveSwitchVideoSink<FMLiveSwitchIViewSink>- (void) doDestroy
 

Method Documentation

◆ imageViewSink

+ (instancetype) imageViewSink

◆ imageViewSinkWithInput:

+ (instancetype) imageViewSinkWithInput: (NSObject<FMLiveSwitchIVideoOutput> *)  input

◆ imageViewSinkWithInputs:

+ (instancetype) imageViewSinkWithInputs: (NSMutableArray *)  inputs

◆ imageViewSinkWithView:

+ (instancetype) imageViewSinkWithView: (FM_IMAGE_VIEW *)  view

◆ imageViewSinkWithView:input:

+ (instancetype) imageViewSinkWithView: (FM_IMAGE_VIEW *)  view
input: (NSObject<FMLiveSwitchIVideoOutput> *)  input 

◆ imageViewSinkWithView:inputs:

+ (instancetype) imageViewSinkWithView: (FM_IMAGE_VIEW *)  view
inputs: (NSMutableArray *)  inputs 

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchViewSink`1 class.

Implements FMLiveSwitchViewSink.

◆ initWithInput:

- (instancetype) initWithInput: (NSObject< FMLiveSwitchIVideoOutput > *)  input

Initializes a new instance of the FMLiveSwitchViewSink`1 class.

Parameters
inputThe input.

Implements FMLiveSwitchViewSink.

◆ initWithInputs:

- (instancetype) initWithInputs: (NSMutableArray *)  inputs

Initializes a new instance of the FMLiveSwitchViewSink`1 class.

Parameters
inputsThe inputs.

Implements FMLiveSwitchViewSink.

◆ initWithView:

- (instancetype) initWithView: (FM_IMAGE_VIEW *)  view

◆ initWithView:input:

- (instancetype) initWithView: (FM_IMAGE_VIEW *)  view
input: (NSObject<FMLiveSwitchIVideoOutput> *)  input 

◆ initWithView:inputs:

- (instancetype) initWithView: (FM_IMAGE_VIEW *)  view
inputs: (NSMutableArray *)  inputs 

◆ renderBufferWithInputBuffer:

- (void) renderBufferWithInputBuffer: (FMLiveSwitchVideoBuffer *)  inputBuffer

Renders the buffer.

Parameters
inputBufferThe input buffer.

Implements FMLiveSwitchViewSink.

◆ renderImage:

- (void) renderImage: (FM_IMAGE *)  image

Member Data Documentation

◆ _view

- (FM_IMAGE_VIEW*) _view
protected

◆ _viewMirror

- (bool) _viewMirror
protected

◆ _viewScale

- (FMLiveSwitchLayoutScale) _viewScale
protected