rotateDegreesFromNaturalOrientation

fun VideoCodecConfig.rotateDegreesFromNaturalOrientation(context: Context, @IntRange(from = 0, to = 359) rotationDegrees: Int): VideoCodecConfig(source)

Rotates video configuration to rotationDegrees from device natural orientation.