[Top][All Lists]

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

Re: [Linphone-developers] callback function when audio file get finished

From: Simon Morlat
Subject: Re: [Linphone-developers] callback function when audio file get finished
Date: Tue, 27 Apr 2010 15:56:45 +0200


Have a look at ring_start_with_cb() in audiostream.c
It places a notification callback on the player filter.


Le lundi 26 avril 2010 à 16:01 +0530, Parveen Jain a écrit :
> Hi All,
>   In mediaStreamer2 library,  APIs are provided for playing the
> wave(or pcm file) file over rtp.Does library also provides the
> mechanism of knowing(any callback function) when media files gets
> finished.As of now I am using "audio_stream_start_full", using which
> the file is getting played in repeat mode.
> I had seen the function, "audio_stream_alive", which is used for
> knowing whether the rtp stream is alive or not , and that again seems
> to be checking only the receiving rtp bytes.Here in my case I wanted
> to know whether the sending side is active(when it is sending the rtp
> steram) or not using some callback function.
> (Though I had seen the structure rtpstat, but I was expecting some
> inbuilt function which can notify the application , when rtp media is
> stopped from sending side)
> Please suggest!
> Best Regards,
> Parveen Jain
> ______________________________________________________________________
> All the post budget analysis and implications Sign up now.
> _______________________________________________
> Linphone-developers mailing list
> address@hidden

reply via email to

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