dibakarece / dmaudiostreamer Goto Github PK
View Code? Open in Web Editor NEWDMAudioStreamer library help you to integrate audio streaming in your application.
License: Apache License 2.0
DMAudioStreamer library help you to integrate audio streaming in your application.
License: Apache License 2.0
UI does'nt apper in my app
I know some thing missing from my app but i don't know what is it
is that possible play offline?
Hi, thanks for your awesome library.
I can't import your library in my project, I got this error in my gradle console :
failed to resolve: support-core-utils
Am find trouble passing a url string i will be grateful if you could help
`String[] resp = {"", ""};
List listMusic = new ArrayList<>();
@Override
protected Void doInBackground(Void... voids) {
resp = getDataResponse();
//String response = loadJSONFromAsset(context);
//The first string value of the getMusicList
listMusic = getMusicList("", "music");
return null;
}`
Thanks
Hi, I got an issue about the playing radio streaming link.
Radio is playing for the link with SSL but not playing with http://.
May be the links are AAC audio those are not playing. I already added network config rules. But it's not working. May be because of AAC stream audio. Please share your thought to overcome this issue
When I insert the dependency (compile 'com.github.dibakarece:dmaudiostreamer:v1.0.4' ) to build.gradle, it gives an error like below:
Failed to resolve: com.github.dibakarece:dmaudiostreamer:v1.0.4
Sir, Can you please update the code same like code that you have upload to playstore?
because I find the clone code can't play properly and I think it's has some different in the code.
Hi, I just want to ask if how to implement repeat current song and repeat all song. Thank you.
As RemoteControlClient is deprecated in Api level 21, due to this lock screen notification is not showing on most of devices,
Please help.
Thank you for your great lib.
I wanna know how would you load metadata for live broadcast?
Greetings from Brazil, my name is Marcos Melo, I would like to develop a simple app to play live music (Radio on line). I'm looking at your code (https://android-arsenal.com/details/1/6383) and I'm not able to add a url (http://114.stm-ip.com:8308). Can you help me? Unfortunately I do not speak English and I'm using Google Translate.
I have been getting this crash when trying to display notification:
android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service notification: Notification(channel=null pri=0 contentView=com.humancondition.wtm/0x7f0d0044 vibrate=null sound=null defaults=0x0 flags=0x42 color=0x00000000 vis=PRIVATE) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1768) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6494) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
The solution to it is given on this SO post. Can you please update your Notification builder as to solve this crash?
All the best.
I checked in many 8.0+ android devices but media controls in notification not showing. Please solve this issue as soon as possible.
Thanking You!
http://i.prntscr.com/sZLwiZwATYa099EuuVQjzw.png
Am getting alway this error.how can i solve it.?
My URL:
https://www.emenator.com/flash/modules/mp3/get_mobile.php?id=558
Album art url has been provided but still not showing in notification. Also is there a way to dismiss the notification programmatically after the song is done playing?
@OverRide
protected Void doInBackground(Void... voids) {
//resp = getDataResponse();
String response = loadJSONFromAsset(context);
listMusic = getMusicList(response, "music");
return null;
}
I know the code above is for retrieve json data from Assets file "music.json"
now, how to fetch data from json in the server?
please help me sir.
Like current Song in playing 3 minute and i kill app and again open the app and playsong 3 minute is my last song position its possible?
If I want to stream real-time, it will not work because if I pause it and then play it, then it will not buffer to the current stream point but will continue from where I had paused.
In Android 10, media notification is not working, even on lock screen notification widget is not showing on Android 8.1.1.
how to change notification image and style or control button style?
Any one can suggest how to use repeat songs or shuffle
Message{kind=ERROR, text=Program type already present: android.support.v4.media.MediaBrowserCompat$ConnectionCallback$StubApi21, sources=[Unknown source file], tool name=Optional.of(D8)}
Please is there a way to add headers when passing in a URL?
I am trying to access music json file from my own server but its not working only assest file json working. Please give me brief details about this feature or fix this issue thank you!
The play/pause and backward/forward buttons are not working in android 8.0+. However click on the whole notification layout is playing/pausing the song. Please resolve it.
Music player doesn't show up on lock screen, tested on Xiaomi devices.
Hello,
After security update in mobile, I am getting the following error in exoplayer notification.
""
2019-03-20 19:44:14.152 3462-3462/com.abcs.tune E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.abcs.tune, PID: 3462
android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service notification: Notification(channel=tune pri=-1 contentView=null vibrate=null sound=null defaults=0x0 flags=0x42 color=0x00000000 category=transport actions=4 vis=PUBLIC)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6626)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)
""
Could you pls help to fix this. Thank you. regards
First of all, thanks for nice library! Could tell me some idea how avoid this kind of problem?
My situation is such: I have a RecyclerView that loads a great number of different kinds of cells, one of which is audio stream and it is possible to have multiple of these audio cells with their own individual SeekBars and TextViews for duration and current time
For such I have placed the AudioStreamingManager on the Adapter and update the callback to the current holder whenever the play button is pressed.
If I pause one cell, calling onPause and then resume playback later it starts at the proper position.
However, if I play a different track midway from a different cell and then go back to the previous one, it always start from the start and there doesn't seem to be any way to have it start where I left it off from other than manually seeking forward on a SeekBar.
I have tried storing the current time on a variable and then calling onSeekTo it both before and after calling onPlay to no success.
Is there any way to achieve this effect? Am I doing something wrong?
Could you please let me know how to connect, retrieve, update and delete data to android default database table like "ContactsContract.Contacts" using android architecture component using Room and Livedata.
Presently I am using getLoaderManager() with CursorLoader, which is deprecated. I want to update my working code with android architecture components and AndroidX.
A simple example will be very useful.
Thank you.
Awesome project! It looks like it makes something overly complex in Android really simple :)
My use case is for playing a live audio stream. The URL for the stream never changes and provides a constant audio feed. In addition to the auto stream URL, there is another endpoint I can fetch data from about the name, etc of the currently playing show within that stream.
Since I only ever have to play a single audio source, I need a way to update the metadata on it's own if I detect from my endpoint that it has changed (so the system notification updates, etc).
A quick look through the source code makes it seems that updating metadata is only possibly by playing a new item (a new source URL in a new MediaMetaData
). Am I wrong? Is what I want to to already possible?
Notification not showing on Android Pie, what is the solution even when i fork the sample project from the library...notification still not showing on android pie
Notification working on some devices like Samsung, Redmi, Asus, Oppo, etc and not on the Nokia device.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.