Problems with recording to file

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

 



You may just need to disconnect the recorder from the conference  
bridge when the call terminates in your on_call_state function.

Norman Franke
ASD, Inc.

On Dec 7, 2007, at 10:17 AM, frank wrote:

> Hi,
>
> I have been playing around with the pjsua sample to have it record  
> calls by using the --rec-file and --auto-rec commandline switches.  
> In essence this works fine, but after having terminated a call, the  
> recording still continues. The specified file keeps growing in size  
> and this doesn't stop until I actually quit the application. It  
> seems that this is caused by not calling pjsua_recorder_destroy  
> when the call terminates. I.e. I think it might be a good idea to  
> add this function somewhere in the on_call_media_state function.  
> E.g. when the media state changes to PJSUA_CALL_MEDIA_NONE.
>
> Any thoughts on this?
>
> Cheers,
>
> Frank
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org





[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