jagaryousef / chatvoiceplayer Goto Github PK
View Code? Open in Web Editor NEWAn Android library to make the implementation of voice/audio messages' playing easier
License: MIT License
An Android library to make the implementation of voice/audio messages' playing easier
License: MIT License
Add support for RTL layouts
I don't know how to do it. i've tried a lot. Is that ok for you if you add voice notes in my android code? i will pay for it. Thanks a lot sir
I have implemented the ChatVoicePlayer successfully. At first I could see the progress bar, then I couldn't. I didn't make changes to the XML. Any idea what could be causing this?
To add, it still works, I can move it up and down, and I can also see the click animation on it.
when I add the library to dependencies I get this error "when building Manifest merger failed with multiple errors, see logs"
This error only appears when I pass the Firebase audio url to the setAudio()
method.
i want to play one audio in recycle view and stop others
I don't know how to do it. i've tried a lot. Is that ok for you if you add voice notes in my android code? i will pay for it. Thanks a lot sir
How can I play audio ,when i calling this function anyone help me
holder.voicePlayerView.setImgPlayClickListener {
Log.e("TAG", "onBindViewHolder: Play Audio")
}
hi, i have multi cell as VoicePlayerView, and i saw that took a lot of time to display all? Do you have any solution?
ChatVoicePlayer lacks an important functionality of limiting the record time.
A new function should be created which allows to provide the record time limit until which to record and then automatically calls the onFinish function of onRecordListener.
I would like a more concise timer.
00: 00: 00/00: 00: 00 - very long and not very beautiful.
For example, it would be prettier like this:
// =========================================
Second point:
The time counter, it seems to me, will look better here (see the picture)
App Crashing when using large files like 2gp mp3 files
Anyone tell me, how can i Audio Play and Pause using Programing (Java code)
I have 20 audio files in Recyclerview,
but 2 audio play together
anyone tell me
I've integrated ChatVoicePlayer into a chat recycler view.
I have a method that checks the content in each recycler view item to be able to handle it in a specific way. However, any item that contains the ChatVoicePlayer calls this method continuously once play is pressed, and even after paused, or even the activity closed.
Is there anything under the hood of the ChatVoicePlayer that could be triggering this?
Hey I am getting issue, when I am trying to record audio in android 13 it is crashing.
hey brother! i have a question regarding callbacks. is there any callback when we tap on play button or pause button? i want to perform some action on these button
there is a glitch in the seek bar when played multiple times
Recylcerview is lagging as you put more and more ChatVoicePlayer objects in it. that is already reported, but still it is there. Thanks for the great stuff.
i use this library in adapter when i press back the sound didn't stop
can this library be used to play audio from http/https source?
I put the ChatVoicePlayer inside RecyclerView.ViewHolder and it is laggy.
hi, i see you using stream in FileUtils
public static byte[] fileToBytes(File file) {
int size = (int) file.length();
byte[] bytes = new byte[size];
try {
BufferedInputStream buf = new BufferedInputStream(new FileInputStream(file));
buf.read(bytes, 0, bytes.length);
buf.close();
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
return bytes;
}
i want to ask if I using url from network, and my recyclerview have many voice, so did it block main thread and cause delay? Thanks
i can't use it setImgPauseClickListener and setImgPlayClickListener when i click it not happing anything
```
holder.voicePlayerView.setImgPauseClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Log.d(TAG, "onClick: pausiiiiiii");
}
});
holder.voicePlayerView.setImgPlayClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Log.d(TAG, "onClick: playyyyyyed");
Log.d(TAG, "onClick: message : "+mss.getMessage());
}
});
I want to play only 1 audio by one not all in the same time because now I can run all audio players in the same time that is not good I want to run audio 1 and the other audio player paused so I need these features so response me too fast thanks
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.