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
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 ?
Reply all
Reply to author
Forward
0 new messages