Skip to content

Instantly share code, notes, and snippets.

View ravisorathiya's full-sized avatar

Ravi Sorathiya ravisorathiya

  • Surat Gujarat India
View GitHub Profile
import android.app.Application
import android.content.Context
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.MainCoroutineDispatcher
@ravisorathiya
ravisorathiya / FFMpegConfig.kt
Created November 25, 2021 09:40
FFmpeg Congiration checking compatabilty of device
package com.example.fastsaveapp.ffmpeg
import android.content.Context
import com.example.fastsaveapp.logger
import com.github.hiteshsondhi88.libffmpeg.FFmpeg
import com.github.hiteshsondhi88.libffmpeg.LoadBinaryResponseHandler
import com.github.hiteshsondhi88.libffmpeg.exceptions.FFmpegNotSupportedException
object FFMpegConfig {