rotateDegreesFromNaturalOrientation

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

Rotatse video configuration to rotationDegrees from device natural orientation.