linphone-users
[Top][All Lists]
Advanced

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

[Linphone-users] Re: [Linphone-developers] callback function when audio


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

Hi,

Have a look at ring_start_with_cb() in audiostream.c
It places a notification callback on the player filter.
                ms_filter_set_notify_callback(stream->source,func,user_data);

Simon

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
> http://lists.nongnu.org/mailman/listinfo/linphone-developers






reply via email to

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