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




_______________________________________________
Linphone-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to