Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Release mode fails on android #7

Closed
arashbi opened this issue Apr 8, 2021 · 4 comments
Closed

Release mode fails on android #7

arashbi opened this issue Apr 8, 2021 · 4 comments

Comments

@arashbi
Copy link

arashbi commented Apr 8, 2021

When I try to run the example application on android in release mode - flutter run --release; it gives me an exception

Flutter run key commands.
h Repeat this help message.
c Clear the screen
q Quit (terminate the application on the device).
I/flutter ( 7589): MissingPluginException(No implementation found for method listen on channel compression/stream)
I/flutter ( 7589): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156)
I/flutter ( 7589):
I/flutter ( 7589): #1 EventChannel.receiveBroadcastStream. (package:flutter/src/services/platform_channel.dart:545)
I/flutter ( 7589):

And the application freezes after selecting a video

@AbedElazizShe
Copy link
Owner

@arashbi have you tried to add the following to app/build.gradle release build type configuration ?
shrinkResources false
minifyEnabled false

@arashbi
Copy link
Author

arashbi commented Apr 11, 2021

No, I was just trying to see what is the maximum speed I can get from it. It doesn't seem too fast. A one minute video takes like 40 second to finish compression.
I wonder how telegram application manages to compress video in a short time

@AbedElazizShe
Copy link
Owner

Last time I checked, Telegram does not compress the videos, is there some kind of settings in Telegram to compress? So I can test the speed.

This library does not give good performance when the video is long in duration or small in bitrate (possible when the video has been compressed before by whatsapp for example).

@arashbi
Copy link
Author

arashbi commented Apr 30, 2021 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants