FMLiveSwitchCocoaOpenGLSink 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) - initWithViewScale:
 
(instancetype) - initWithViewScale:input:
 
(instancetype) - initWithViewScale:inputs:
 
(instancetype) - initWithView:
 
(instancetype) - initWithView:input:
 
(instancetype) - initWithView:inputs:
 
(void) - renderBufferWithInputBuffer:
 Renders the buffer. More...
 
- 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) + openGLSink
 
(instancetype) + openGLSinkWithInput:
 
(instancetype) + openGLSinkWithInputs:
 
(instancetype) + openGLSinkWithViewScale:
 
(instancetype) + openGLSinkWithViewScale:input:
 
(instancetype) + openGLSinkWithViewScale:inputs:
 
(instancetype) + openGLSinkWithView:
 
(instancetype) + openGLSinkWithView:input:
 
(instancetype) + openGLSinkWithView: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

FMLiveSwitchCocoaOpenGLView_view
 
- Protected Attributes inherited from FMLiveSwitchViewSink
 __pad0__: FMLiveSwitchVideoSink<FMLiveSwitchIViewSink>- (void) doDestroy
 

Method Documentation

◆ 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: (FMLiveSwitchCocoaOpenGLView *)  view

◆ initWithView:input:

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

◆ initWithView:inputs:

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

◆ initWithViewScale:

- (instancetype) initWithViewScale: (FMLiveSwitchLayoutScale)  viewScale

◆ initWithViewScale:input:

- (instancetype) initWithViewScale: (FMLiveSwitchLayoutScale)  viewScale
input: (NSObject<FMLiveSwitchIVideoOutput> *)  input 

◆ initWithViewScale:inputs:

- (instancetype) initWithViewScale: (FMLiveSwitchLayoutScale)  viewScale
inputs: (NSMutableArray *)  inputs 

◆ openGLSink

+ (instancetype) openGLSink

◆ openGLSinkWithInput:

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

◆ openGLSinkWithInputs:

+ (instancetype) openGLSinkWithInputs: (NSMutableArray *)  inputs

◆ openGLSinkWithView:

+ (instancetype) openGLSinkWithView: (FMLiveSwitchCocoaOpenGLView *)  view

◆ openGLSinkWithView:input:

+ (instancetype) openGLSinkWithView: (FMLiveSwitchCocoaOpenGLView *)  view
input: (NSObject<FMLiveSwitchIVideoOutput> *)  input 

◆ openGLSinkWithView:inputs:

+ (instancetype) openGLSinkWithView: (FMLiveSwitchCocoaOpenGLView *)  view
inputs: (NSMutableArray *)  inputs 

◆ openGLSinkWithViewScale:

+ (instancetype) openGLSinkWithViewScale: (FMLiveSwitchLayoutScale)  viewScale

◆ openGLSinkWithViewScale:input:

+ (instancetype) openGLSinkWithViewScale: (FMLiveSwitchLayoutScale)  viewScale
input: (NSObject<FMLiveSwitchIVideoOutput> *)  input 

◆ openGLSinkWithViewScale:inputs:

+ (instancetype) openGLSinkWithViewScale: (FMLiveSwitchLayoutScale)  viewScale
inputs: (NSMutableArray *)  inputs 

◆ renderBufferWithInputBuffer:

- (void) renderBufferWithInputBuffer: (FMLiveSwitchVideoBuffer *)  inputBuffer

Renders the buffer.

Parameters
inputBufferThe input buffer.

Implements FMLiveSwitchViewSink.

Member Data Documentation

◆ _view

- (FMLiveSwitchCocoaOpenGLView*) _view
protected