VideoConfig
Video configuration class. If you don't know how to set class members, Video encoding recommendations should give you hints.
See also
Constructors
Properties
Get default encoder name. If name is null, it won't be possible to start a stream.
The dynamic range profile. It is deduced from the profile. See Also: DynamicRangeProfiles
Video encoder I-frame interval in seconds. This is a best effort as few camera can not generate a fixed framerate. For live streaming, I-frame interval should be really low. For recording, I-frame interval should be higher. A value of 0 means that each frame is an I-frame. On device with API < 25, this value will be rounded to an integer. So don't expect a precise value and any value < 0.5 will be considered as 0.
Check if this configuration is supported by the default encoder. If format is not supported, it won't be possible to start a stream.
Video encoder level. Encoders may not support requested level. In this case, StreamPack fallbacks to default level. ** See ** MediaCodecInfo.CodecProfileLevel
The encoder mime type. Only MediaFormat.MIMETYPE_AUDIO_AAC is supported yet.
Video output resolution in pixel.
The encoder bitrate in bits/s.