Does PJ support recording a call until we hit silence ?
15 views
Skip to first unread message
anand prajapati
unread,
May 11, 2017, 4:10:12 AM5/11/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PJSIP experts
Currently I am recording a call in a .wav file based on duration (fixed). But I want to record until I get silence i.e. I don't want to record call audio for a fixed amount of time, instead I want to keep recording until user stops saying anything. At this point I want to stop my recording. Earlier I was thinking to achieve this by recording in .wav file & analyzing the same file to detect when user stops saying, but as I came to know that I can't access any data in the .wav file until we stop the recording by deleting the recorder. Is there any way I could analyze the live audio stream coming from a call and simultaneously record the same and stop the recording based on some condition ?