Android - Play beep sound during call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hello sir,

I have PJSIP working library in my android project. I can make the calls and record calls. Now i want to add a beep sound during call to notify the users that they are being recorded. I have also change audio file format and sample rate 8000

I have tried to play a wav file using following code,

AudioMediaPlayer player;
AudioMedia& play_dev_med = Endpoint::instance().audDevManager().getPlaybackDevMedia();
try {
} catch(Error& err) {

Please help this above code is not playing wav file.

Visit our blog:

pjsip mailing list

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux