diff --git a/app/build.gradle b/app/build.gradle index eef3c78..ec1d6b5 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -52,7 +52,7 @@ dependencies { implementation 'androidx.core:core-ktx:1.15.0' // Banuba Face AR SDK dependencies - def banubaSdkVersion = '1.46.0' + def banubaSdkVersion = '1.47.0' implementation "com.banuba.sdk:ffmpeg:5.3.0" implementation "com.banuba.sdk:core-sdk:${banubaSdkVersion}" implementation "com.banuba.sdk:ve-sdk:${banubaSdkVersion}" diff --git a/app/src/main/java/com/banuba/example/videoeditor/export/ExportViewModel.kt b/app/src/main/java/com/banuba/example/videoeditor/export/ExportViewModel.kt index 955f701..2cf5279 100644 --- a/app/src/main/java/com/banuba/example/videoeditor/export/ExportViewModel.kt +++ b/app/src/main/java/com/banuba/example/videoeditor/export/ExportViewModel.kt @@ -72,7 +72,8 @@ class ExportViewModel( musicEffects = emptyList(), videoVolume = 1F, coverFrameSize = coverFrameSize, - aspect = aspectRatioProvider.provide() //by default provided aspect ratio = 9.0 / 16 + aspect = aspectRatioProvider.provide(), //by default provided aspect ratio = 9.0 / 16 + startFromEditor = true ) startExportInternal(params, inForeground) @@ -154,7 +155,8 @@ class ExportViewModel( musicEffects = listOf(musicEffect), videoVolume = 1F, coverFrameSize = videoFHD, - aspect = aspectRatioProvider.provide() //by default provided aspect ratio = 9.0 / 16 + aspect = aspectRatioProvider.provide(), //by default provided aspect ratio = 9.0 / 16 + startFromEditor = true ) startExportInternal(params, inForeground) diff --git a/mddocs/export/ve-export-sdk/com.banuba.sdk.export.data/-export-task-params/-export-task-params.md b/mddocs/export/ve-export-sdk/com.banuba.sdk.export.data/-export-task-params/-export-task-params.md index 54639d5..4dd8a6f 100644 --- a/mddocs/export/ve-export-sdk/com.banuba.sdk.export.data/-export-task-params/-export-task-params.md +++ b/mddocs/export/ve-export-sdk/com.banuba.sdk.export.data/-export-task-params/-export-task-params.md @@ -9,15 +9,16 @@ fun [ExportTaskParams](-export-task-params.md)(videoRanges: VideoRangeList, effe androidJvm -| | | -|---|---| -| videoRanges | VideoRangeList object containing video clips | -| effects | Effects visual and time effects to apply to the exported video | -| musicEffects | list of music effects applied to the exported video | -| videoVolume | volume of exported video specified in float number from 0 to 1 | -| coverUri | Uri of the cover image file | -| coverFrameSize | size of the cover image | -| aspect | aspect ratio applied to the exported video | -| videoResolution | optional VideoResolution value applied to the exported video. By default the optimal size will be set automatically (it is calculated with taking into account capabilities of the device) | -| additionalExportData | any Parcelable object that may be received in [ExportResult.Success.additionalExportData](../-export-result/-success/additional-export-data.md) parameter | -| doOnStart | lambda the will be invoked in the very beginning of the export process | +| | | +|----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| videoRanges | VideoRangeList object containing video clips | +| effects | Effects visual and time effects to apply to the exported video | +| musicEffects | list of music effects applied to the exported video | +| videoVolume | volume of exported video specified in float number from 0 to 1 | +| coverUri | Uri of the cover image file | +| coverFrameSize | size of the cover image | +| aspect | aspect ratio applied to the exported video | +| videoResolution | optional VideoResolution value applied to the exported video. By default the optimal size will be set automatically (it is calculated with taking into account capabilities of the device) | +| additionalExportData | any Parcelable object that may be received in [ExportResult.Success.additionalExportData](../-export-result/-success/additional-export-data.md) parameter | +| doOnStart | lambda the will be invoked in the very beginning of the export process | +| startFromEditor | Defines whether the export process should begin directly from the Editor. | diff --git a/mddocs/overview.md b/mddocs/overview.md index 4f740aa..adca5c9 100644 --- a/mddocs/overview.md +++ b/mddocs/overview.md @@ -78,7 +78,7 @@ allprojects { Next, add a list of API dependencies in [app/build.gradle](app/build.gradle#L47) file. ```groovy - def banubaSdkVersion = '1.46.0' + def banubaSdkVersion = '1.47.0' implementation "com.banuba.sdk:ffmpeg:5.3.0" implementation "com.banuba.sdk:core-sdk:${banubaSdkVersion}" implementation "com.banuba.sdk:ve-sdk:${banubaSdkVersion}"