FMLiveSwitchNullViewSink Class Reference

A video view sink that does nothing. More...

Instance Methods

(instancetype) - init
 Initializes a new instance of the FMLiveSwitchNullViewSink`1 class. More...
 
(instancetype) - initWithInputFormat:
 Initializes a new instance of the FMLiveSwitchNullViewSink`1 class. More...
 
(NSString *) - label
 Gets a label that identifies this class. More...
 
(void) - renderBufferWithInputBuffer:
 Renders a video buffer. More...
 
(FMLiveSwitchFuture< id > *) - renderedFramesWithCount:
 Creates a future that resolves when the specified number of frames have been processed. More...
 
(void) - setViewMirror:
 Sets a value indicating whether the view is mirrored. More...
 
(void) - setViewScale:
 Sets the view scale. More...
 
(void) - updateMaxInputBitrate:
 Sets the maximum allowed input bitrate, in kbps. More...
 
(void) - updateMinInputBitrate:
 Sets the minimum allowed input bitrate, in kbps. 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

(FMLiveSwitchNullViewSink *) + nullViewSink
 Initializes a new instance of the FMLiveSwitchNullViewSink`1 class. More...
 
(FMLiveSwitchNullViewSink *) + nullViewSinkWithInputFormat:
 Initializes a new instance of the FMLiveSwitchNullViewSink`1 class. More...
 

Protected Attributes

 __pad0__: FMLiveSwitchViewSink<T>- (long long) frameCount
 

Detailed Description

A video view sink that does nothing.

Method Documentation

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchNullViewSink`1 class.

◆ initWithInputFormat:

- (instancetype) initWithInputFormat: (FMLiveSwitchVideoFormat *)  inputFormat

Initializes a new instance of the FMLiveSwitchNullViewSink`1 class.

Parameters
inputFormatThe input format.

◆ label

- (NSString*) label

Gets a label that identifies this class.

◆ nullViewSink

+ (FMLiveSwitchNullViewSink*) nullViewSink

Initializes a new instance of the FMLiveSwitchNullViewSink`1 class.

◆ nullViewSinkWithInputFormat:

+ (FMLiveSwitchNullViewSink*) nullViewSinkWithInputFormat: (FMLiveSwitchVideoFormat *)  inputFormat

Initializes a new instance of the FMLiveSwitchNullViewSink`1 class.

Parameters
inputFormatThe input format.

◆ renderBufferWithInputBuffer:

- (void) renderBufferWithInputBuffer: (FMLiveSwitchVideoBuffer *)  inputBuffer

Renders a video buffer.

Parameters
inputBufferThe input buffer.

◆ renderedFramesWithCount:

- (FMLiveSwitchFuture<id>*) renderedFramesWithCount: (long long)  count

Creates a future that resolves when the specified number of frames have been processed.

Parameters
count

◆ setViewMirror:

- (void) setViewMirror: (bool)  value

Sets a value indicating whether the view is mirrored.

◆ setViewScale:

- (void) setViewScale: (FMLiveSwitchLayoutScale)  value

Sets the view scale.

◆ updateMaxInputBitrate:

- (void) updateMaxInputBitrate: (int)  maxInputBitrate

Sets the maximum allowed input bitrate, in kbps.

A value of -1 indicates unset (no maximum).

Parameters
maxInputBitrateThe maximum allowed input bitrate, in kbps.

◆ updateMinInputBitrate:

- (void) updateMinInputBitrate: (int)  minInputBitrate

Sets the minimum allowed input bitrate, in kbps.

A value of -1 indicates unset (no minimum).

Parameters
minInputBitrateThe minimum allowed input bitrate, in kbps.

◆ view

- T view

Gets the view.

◆ viewMirror

- (bool) viewMirror

Gets a value indicating whether the view is mirrored.

◆ viewScale

- (FMLiveSwitchLayoutScale) viewScale

Gets the view scale.

Member Data Documentation

◆ __pad0__

- __pad0__
protected