PJSIP Callbacks issue on ARM processor

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

 



Hi,



Currently facing an issue regarding PaRecorderPlayerCallback in pa_dev.c of
pjmedia on ARM processor board.

We have two sound devices hw:0,0 and hw:0,1. hw:0,1 is connected to a
speaker/microphone and hw:0,0 will communicte with a module using m2m.


The problem is at hw00.When a call session is established between the User
agent on ARM board and another User Agent on a linux system, they are
unable to comunicate.

But the above is working fine on hw01 i.e.were able to send and receive
voice data on speaker/microphone .


For testing purpose, flags had been set which gets incremented whenever
PaPlayercallback and PaRecordercallback function is called in pa_dev.c



In case a, when pjsip is configured as hw:0,1 ,

The callbacks are being called along with sound being played on speaker
when a session is established to another UserAgent(UA) (Linux system) which
is playing a wav file.

The flag is getting incremented as long as the file is being played by UA.


But In case b, when the configuration is default hw:0,0,

Callback functions are called as the flag are incremented, but after a
certain period , it remains constant pointing that callbacks are not
getting called.

Hence the data flow might be getting disrupted. Not able to get any signal
on the m2m device.



One observation can be related to the above is regarding the playfile
executable.
Playing a local wav file using the playfile , were able to receive the data
on both hw:0,1 and hw:0,0.

Can anyone please guide on how to proceed on the issue.

Regards,
Varun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120928/b0aa7d98/attachment-0001.html>


[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