Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue #254 #256

Merged
merged 5 commits into from Mar 30, 2020
Merged

Fix issue #254 #256

merged 5 commits into from Mar 30, 2020

Conversation

Larpoux
Copy link
Collaborator

@Larpoux Larpoux commented Mar 29, 2020

This will probably fix #254

@hyochan
Copy link
Collaborator

hyochan commented Mar 29, 2020

@Larpoux Would you like to change the license?

@Larpoux
Copy link
Collaborator Author

Larpoux commented Mar 29, 2020

Oh, yesssssss! Pleeeeease. If you do not mind, of course.

@hyochan
Copy link
Collaborator

hyochan commented Mar 29, 2020

I dont mind with your opinion since u r the core contributor~ You can change the license in this PR with the readme!

@Larpoux
Copy link
Collaborator Author

Larpoux commented Mar 29, 2020

I am currently finishing #232 and #250. I hope it will be finished in a few hours.
But probably you will be in bed at this timer 👀

@hyochan
Copy link
Collaborator

hyochan commented Mar 30, 2020

@Larpoux So how is this now?

@Larpoux
Copy link
Collaborator Author

Larpoux commented Mar 30, 2020

I sent a new PR #257 .
This is a major re-design of the architecture. Backward compatibility is respected.

I am currently working on Pause/Resume during recording.
I think I will finish this evening, or tomorrow.
This feature is really wanted by many developers.

@hyochan
Copy link
Collaborator

hyochan commented Mar 30, 2020

Thanks again for your concern 👍 So may I merge this without and changes in the license?

@Larpoux
Copy link
Collaborator Author

Larpoux commented Mar 30, 2020 via email

@hyochan
Copy link
Collaborator

hyochan commented Mar 30, 2020

Well but I can't see any changes in license in this PR.

@Larpoux
Copy link
Collaborator Author

Larpoux commented Mar 30, 2020 via email

@hyochan
Copy link
Collaborator

hyochan commented Mar 30, 2020

image

Above is only file changes I can see in this PR. Am I seeing something different?

@Larpoux
Copy link
Collaborator Author

Larpoux commented Mar 30, 2020

I was talking about #257. Which is a really great change.
#256 is just a very little patch to fix #254 .
You can apply #256 without any doubt.
#257 is more serious job.

Copy link
Collaborator

@hyochan hyochan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got it~!

@hyochan hyochan merged commit 4c135dc into Canardoux:master Mar 30, 2020
@hyochan hyochan added the bugfix label Mar 30, 2020
hyochan pushed a commit that referenced this pull request Apr 1, 2020
* OGG/OPUS support on iOS

* Small fix in README

* Small fix in README

* Small modifications after Hyo review

* A notice that ffmpeg needs a minSDK 24 or later, on Android

* Throw an exception if the native plugin return an error, instead of trying to return an exception as a String

* Compatibility with Flutter Embeded V2

* README : flutter_sound has depencie on permission_handler plugin

* Merge with flutter_sound Master Branch

* flutter_ffmpeg LTS Release - minAndroidSdk 16 (instead of 24)

* removed .history.

* added missing packages.

* removed dependency that wasn't required.

* removed unused import.

* removed an unnecessary dependency.

* removed warnings and unnecessary awaits.

* removed unused import.

* removed code generating warnings.

* Just one example is enough. There are problems with flutter IDE when two app in the same plugin directory.

* - There was a crash when calling onPlayerStateChanged and _playerController was null
- StartPlayerFromBuffer tested _audioState too late
- Do not throw an exception when calling stopPlayer and the Player is already stopped

* There was a crash in onRecorderStateChanged when _recorderController was null. Return null now

* Issue 213

* Do not throw an exception when startPlayer() and _audioState is not "IS_STOPPED". Just stop the player silently

* Sound volume with device buttons

* Audio Focus control

* Flutter embedded V2 does not work

* intermediate, before merging Salvatore

* Flauto for iOS

* Saving state before my vacations

* Working on #227

* #227 fix

* Delete unwanted objects

* Working on Android

* Notifications are shown on Android

* Icon sur le lock-screen d android

* Duck others on Android

* Ready for a pull request to the Master branch

* Icon on Android Example was incorrect. Now show the flutter_sound Logo

* Track.albumArtAsset

* Android < 26 must be supported

* Fix a bug on the lock-screen between two songs : we want to kip canPause, canSkipForward and canSkipBackward

* Protection when flutter_sound is called in a bad state

* LGPL-3

* LGPL-3

* 3.0.0+2

* Readme

* Add API verbs : getLastFFmpegReturnCode() and getLastFFmpegCommandOutput()

* .

* FlutterSound module is now split into FlautoRecorder and FlautoPlayer on iOS

* FlutterSound module is now split into FlautoRecorder and FlautoPlayer on Android

* Messages are correctly multiplexed on the 3 channels, on IOS

* Messages are correctly multiplexed on the 3 channels, on Android

* Messages are correctly multiplexed on the 3 channels, on Android

* Example does not use any more deprecated interface

* Ready for sa merge to flutter_sound master branch

* pauseRecorder() and resumeRecorder()

* Ready to merge with "beta"

* Resolve conflict with dooboolab

* Add pauseRecorder() and resumeRecorder()  in flutter_sound compatibility module

* flutter_sound is now compatible with permission_handler 5.x.x [#259]

* flutterSound.duration() and flutterSound.FFmpegGetMediaInformation()

* flutterSound.duration() and flutterSound.FFmpegGetMediaInformation()

* CHANGELOG for 3.1.0

* CHANGELOG for 3.1.0

* CHANGELOG for 3.1.0

* xyz.canardoux.flauto -> com.dooboolab.flutter_sound  -  FlautoRecorder -> FlutterSoundRecorder  -  FlautoPlayer -> FlutterSoundPlayer

* #254 #256 #260

* #254 #256 #260

* #254 #256 #260

* #242

* minSdk = 16  instead of 28

* #260

* Notice in README that pauseRecorder() and resumeRecorder on Android needs at least API24

* #242 : conflits in temporary files when several FlutterSoundRecorder and several FlutterSoundPlayer

* Channels are com.dooboolab.flutter_sound_player, com.dooboolab.flutter_sound_recorder and com.dooboolab.flutter_sound_track_player

* Seek player on iOS

* Rename modules -> FlutterSoundPlayer and -> FlutterSoundRecorder

* Check null exception to prevent throwing (null safe)'

* Rename serviceSuccessConnectionCallback

* Seek player correctly in TrackPlayer

Co-authored-by: bsutton <bsutton@noojee.com.au>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object
2 participants