Skip to content

Commit

Permalink
Video compression change size to 720 x 480
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarty committed Oct 25, 2024
1 parent 5d64f59 commit d6e3c8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class VideoCompressor @Inject constructor(
val future = Transcoder.into(tmpFile.path)
.setVideoTrackStrategy(
DefaultVideoStrategy.Builder()
.addResizer(AtMostResizer(1920, 1080))
.addResizer(AtMostResizer(720, 480))
.build()
)
.addDataSource(context, uri)
Expand Down

0 comments on commit d6e3c8f

Please sign in to comment.