linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Event when hold wav file ends


From: Simon Morlat
Subject: Re: [Linphone-developers] Event when hold wav file ends
Date: Wed, 17 Nov 2010 22:31:56 +0100

Hi,

The file is started playing in linphonecall.c ,
_linphone_call_start_media_streams(). 
There is no liblinphone public API to get notified of end of play for
wav file.

Simon

Le vendredi 12 novembre 2010 à 15:38 +0100, Matteo Fortini a écrit :
> Hi,
> I need to play an attention sound to the callee at some point during a 
> call. I found that I can use play, then pause to do it.
> 
> However, I'd need to know when the file ends, so that I can resume the 
> call. If I resume earlier, in fact, the file gets truncated.
> 
> Is there a quick way of having a callback when the file is EOF, or maybe 
> building some command in which it resumes automatically the call as soon 
> as the wave file ends?
> 
> Even after some research, I couldn't find the place where the file is 
> started playing in at the Pause event...
> 
> Thank you,
> Matteo
> 
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers





reply via email to

[Prev in Thread] Current Thread [Next in Thread]