ACSVideoStreamFormat Class

Declaration

@interface ACSVideoStreamFormat : NSObject;

Description

Describes details of the video frame content that the application is capable of generating. ACS Calling SDK will dynamically select the VideoStreamFormat best matching with network conditions at runtime.

Methods

init

Default constructor

-(instancetype)init;

Properties

width

Total width-wise count of pixels of the video frame. It must be greater or equal to 240 and less or equal to 1920. Values greater than 1280 and aspect ratios other than 16:9 or 4:3 might be adjusted by the SDK consuming extra resources.

@property int width;

height

Total height-wise count of pixels of the video frame. It must be greater or equal to 180 and less or equal to 1080. Values greater than 720 and aspect ratios other than 16:9 or 4:3 might be adjusted by the SDK consuming extra resources.

@property int height;

resolution

Width and height to be used from a known video resolution standard

@property ACSVideoStreamResolution resolution;

pixelFormat

Informs how the content of the video frame is encoded.

@property ACSVideoStreamPixelFormat pixelFormat;

framesPerSecond

Informs how many frames per second the virtual video device will be sending to remote participants. It must be greater or equal to 1 and lower or equal to 30. The following values are preferable 7.5, 15 or 30.

@property float framesPerSecond;

stride1

Informs the stride in bytes for the first plane of the video frame content when RawVideoFrameType is VideoSoftware. It must be greater or equal to the count of bytes required for the first plane of the selected VideoStreamPixelFormat.

@property int stride1;

stride2

For VideoFormats with more than one plane, informs the stride in bytes for the second plane of the video frame content when RawVideoFrameType is VideoSoftware. It must be greater or equal to the count of bytes required for the second plane of the selected VideoStreamPixelFormat.

@property int stride2;

stride3

For VideoFormats with more than two planes, informs the stride in bytes for the third plane of the video frame content when RawVideoFrameType is VideoSoftware. It must be greater or equal to the count of bytes required for the third plane of the selected VideoStreamPixelFormat.

@property int stride3;