Comments (5)
Possibly #11 would fix this, but until I work out the right way to integrate this, I think in the meantime the way to avoid the error would be to not access this stream until the first event arrives.
from just_audio.
There is no harm in using the code that I proposed. It returns null instead of throwing an exception inside the plugin code. Let the apps deal with the null logic.
from just_audio.
Ultimately I want to implement this so that it is never null (creating less burden on the user), but I think your suggestion is appropriate as something I could do in the short term. I'll have a look when I get home.
from just_audio.
I've committed a temporary workaround, similar to #11 although addressing the issue at the event level which will propagate to the state level. Let me know if it works for you or whether there is still an issue.
from just_audio.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with just_audio.
from just_audio.
Related Issues (20)
- set pitch not working on IOS HOT 3
- Export the native platform instance for more access (especially with plugins) HOT 2
- Does not play .m4a audio files ( (4) Failed to load URL) HOT 2
- Commandline / terminal sound playback HOT 2
- Audio play error in http url and m3u8 format
- often music item doesn't loop well if I am using multiple instances HOT 2
- often music item doesn't loop well if I am using multiple instances HOT 2
- ConcatinatingAudioSource.clear() sets currentIndex to zero HOT 7
- Local Streaming audio is not working in the ios device HOT 2
- Local Streaming audio is not working in the ios device HOT 2
- Local Streaming audio is not working in the ios device HOT 3
- Background audio play in Android 14 HOT 2
- Player controls not working in system tray ( Notification ) Android 10. HOT 1
- Android OutOfMemoryError When Using setAudioSource with Large Audio File (3GB, 56 Hours) HOT 4
- Unable to play song from background notification in android 14 HOT 2
- Path not provided. Stream is not supported. HOT 2
- just_audio + AirPlay - plays as a video (full screen saver) - how to fix? HOT 2
- Bug Report: setUrl or setAudioSource Error on Android 6 HOT 2
- MissingPluginException (MissingPluginException(No implementation found for method init on channel com.ryanheise.just_audio.methods)) HOT 2
- MissingPluginException(No implementation found for method init on channel com.ryanheise.just_audio.methods) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from just_audio.