VideoCodecConfig
Instantiates a VideoCodecConfig instance from profile and level.
If you don't know how to set profile and level, use VideoCodecConfig without profile and level parameters.
Parameters
Video encoder mime type.
Video encoder bitrate in bits/s.
Video output resolution in pixel.
Video framerate.
Video encoder I-frame interval in seconds.
Video encoder profile. Encoders may not support requested profile. In this case, StreamPack fallbacks to encoder default profile.
Video encoder level. Encoders may not support requested level. In this case, StreamPack fallbacks to encoder default level.
A callback to be invoked when the media format is generated.
Instantiates a VideoCodecConfig instance from VideoProfileLevelColor.Builder.
Parameters
Video encoder mime type.
Video encoder bitrate in bits/s.
Video output resolution in pixel.
Video framerate.
Video encoder I-frame interval in seconds.
A builder to create VideoProfileLevelColor.
A callback to be invoked when the media format is generated.