Open RishabJaiswal opened 2 years ago
Thank you for reporting this! We will look into it.
I think we should open a FileOutputStream or provide FileDescriptor just like the android-transcoder library does. Please find it here
Yes, I am planning to use a FileDescriptor
as well.
There is a PR in flight, that should help. We already use FileDescriptor
in MediaMuxerTarget
but it was not exposed via transform
method. It is now: https://github.com/linkedin/LiTr/pull/182
Let me know if this solves your issue.
Thank you so much! Are we expecting a new release for the SDK with this fix?
Yes. We are preparing a new release.
Meanwhile, you can try a snapshot release by adding following to your gradle build files (I didn't try it myself yet):
repositories { maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } }
Thank you !
Can't find the snapshot. Please help.
Version 1.5.0 is being released now. Let me know if it fixes your issue.
I am getting the following error
java.io.FileNotFoundException: /storage/emulated/0/Movies/MyApp/video.mp4: open failed: EEXIST (File exists)
This happens while using the below api specifically on Android Devices above Android 10. It works fine below Android 10.
Inside the above api MediaTargetException is thrown
I believe this might have to do with the new File system changes introduced from Android 10