In Android API 23, the MediaFormat.KEY_ROTATION field has been entered. Is there a way to change the rotation in MediaFormat on earlier versions of Android?
I found a working solution:
MediaFormat mediaformat; // ... mediaformat.setInteger("rotation-degrees", 0)
Source: https://habr.com/ru/post/1612237/More articles:Как изменить значения от символа до числа, используя операторы if и for? - rHow to get client secret in Youtube API for iOS client? - iosActual interceptor for console.log in javascript - javascriptBest way to check javascript response from my server (s)? - javascriptEditing MP4 metadata using MediaCodec API - androidKDB: select the first n lines from each group - kdbEfficient bit usage in python3 - pythonRcpp and the default C ++ compiler are rUnable to control servos through 32-servo controller on Aurduino Duamilanove - arduinodownload rpivotTable in brilliant - rAll Articles