* fix typos and add minor details to the docs
* fix the issue #1175 & fix a typo
* fix the issue #1168 & fix a typo
* fix a typo in PR template
* check result data for null in the onPictureResult() callback
* revert unnecessary changes
* improve log message
Co-authored-by: Dmitry Naymushin <d.naymushin@tinkoff.ru>
* Reorder code and add long comments
* Simplify encoders Config
* Fix Audio recording bugs
* Anticipate max length detection
* Anticipate even more
* Estimate video bit rate instead of ugly default
* Fix bugs, better logs and comments
* Fix long standing sync bug
* Make inner classes public
* Remove performance logging code
* Add Audio.MONO and Audio.STEREO
* Add mono and stereo in attrs
* Write zeros when we have gaps
* Improve comments
* Add performance flags
* Move configs to separate classes
* Fix stereo bug
* Add onVideoRecordingEnd
* Add changelog notes
* Address some TODOs
* Refactor tests, add PoolTest
* New getSurfaceSize internal method
* Rename setPreviewSize and all internals to setPreviewStreamSize
* Rename getSurfaceSize to getPreviewSurfaceSize
* New snapshotMaxWidth and snapshotMaxHeight APIs
* Add docs
* Improve rescaling logic
* Add tests