diff --git a/app/src/main/java/com/banuba/example/integrationapp/VideoEditorModule.kt b/app/src/main/java/com/banuba/example/integrationapp/VideoEditorModule.kt index 3e13e3b8..80b0a98e 100644 --- a/app/src/main/java/com/banuba/example/integrationapp/VideoEditorModule.kt +++ b/app/src/main/java/com/banuba/example/integrationapp/VideoEditorModule.kt @@ -4,14 +4,17 @@ import android.content.Context import androidx.fragment.app.Fragment import com.banuba.sdk.arcloud.data.source.ArEffectsRepositoryProvider import com.banuba.sdk.arcloud.di.ArCloudKoinModule +import com.banuba.sdk.audiobrowser.autocut.AutoCutTrackLoaderSoundstripe import com.banuba.sdk.audiobrowser.di.AudioBrowserKoinModule import com.banuba.sdk.audiobrowser.domain.AudioBrowserMusicProvider import com.banuba.sdk.core.data.TrackData +import com.banuba.sdk.core.data.autocut.AutoCutTrackLoader import com.banuba.sdk.core.ui.ContentFeatureProvider import com.banuba.sdk.effectplayer.adapter.BanubaEffectPlayerKoinModule import com.banuba.sdk.export.di.VeExportKoinModule import com.banuba.sdk.gallery.di.GalleryKoinModule import com.banuba.sdk.playback.di.VePlaybackSdkKoinModule +import com.banuba.sdk.ve.data.autocut.AutoCutConfig import com.banuba.sdk.ve.di.VeSdkKoinModule import com.banuba.sdk.ve.flow.di.VeFlowKoinModule import com.banuba.sdk.veui.di.VeUiSdkKoinModule @@ -63,5 +66,19 @@ private class SampleIntegrationKoinModule { ) { AudioBrowserMusicProvider() } + + // Specify AutoCut dependencies + single { + AutoCutConfig( + audioDataUrl = "https://ve-autocut-v2-ap-south-1.s3.ap-south-1.amazonaws.com/index.zip", + audioTracksUrl = "" + ) + } + + single { + AutoCutTrackLoaderSoundstripe( + soundstripeApiService = get() + ) + } } }