<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Juha,</div></div><div>I see the typo, I will correct it next time I improve the module.<br></div><div dir="ltr"><br></div><div dir="ltr"> No Kamailio processes are blocking, one thread is started for each call / media stream the thread is running a "ticker" that is processing all the samples in the audio streams.</div><div dir="ltr"> <br><div>Here is an example of the audio stream running in the thread<br></div><div>transmit :<br></div><div>FilePlayer >> Resampler >> Encoder >> RTP Send</div><div><br></div><div>In the same thread the received stream is runned</div><div>receive :<br></div><div>RTP Received >> Sink<br></div><div><br></div><div><br><span style="font-family:monospace,monospace">5(8631) INFO: rtp_media_server [rms_media.c:244]: rms_start_media(): m[0x7fffef20bf58]call-id[0x7fffef20c158]<br>018-11-14 04:40:31:807 bctbx-message-ms_filter_link: MSFilePlayer:0x7fffef20fc40,0-->MSResample:0x7fffef20fff8,<br>018-11-14 04:40:31:807 bctbx-message-ms_filter_link: MSResample:0x7fffef20fff8,0-->MSUlawEnc:0x7fffef20f468,0<br>018-11-14 04:40:31:807 bctbx-message-ms_filter_link: MSUlawEnc:0x7fffef20f468,0-->MSRtpSend:0x7fffef20f170,0<br>018-11-14 04:40:31:807 bctbx-message-ms_filter_link: MSRtpRecv:0x7fffef20ef88,0-->MSVoidSink:0x7fffef2103c8,0<br>018-11-14 04:40:31:807 bctbx-message-Initializing speex resampler in mode [voip] <br></span><br><span style="font-family:monospace,monospace"></span></div><div><span style="font-family:monospace,monospace">===========================================================<br> AUDIO SESSION'S RTP STATISTICS <br>-----------------------------------------------------------<br>sent                                        341 packets<br>                                              0 duplicated packets<br>                                          58652 bytes  <br>received                                    331 packets<br>                                              0 duplicated packets<br>                                          56772 bytes  <br>incoming delivered to the app             56084 bytes  <br>incoming cumulative lost                      0 packets<br>incoming received too late                    0 packets<br>incoming bad formatted                        0 packets<br>incoming discarded (queue overflow)           0 packets<br>sent rtcp                                     0 packets<br>received rtcp                                 4 packets<br>===========================================================<br>===========================================================<br>                  FILTER USAGE STATISTICS                  <br>Name                Count     Time/tick (ms)      CPU Usage<br>-----------------------------------------------------------<br>MSRtpSend           682       0.0192826           42.1762   <br>MSRtpRecv           682       0.0171714           37.5585   <br>MSFilePlayer        682       0.004722            10.3283   <br>MSUlawEnc           682       0.00381368          8.34154   <br>MSResample          682       0.000403905         0.883448  <br>MSVoidSink          327       0.000677918         0.712085  <br>MSUlawDec           0         0                   0         <br>===========================================================<br></span><br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 13, 2018 at 8:29 PM Juha Heinanen <<a href="mailto:jh@tutpro.com">jh@tutpro.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A small typo here:<br>
<br>
2.1. Kamailio Modules<br>
<br>
   The module depends on the following modules (in the other words the<br>
   listed modules must be loaded before this module):<br>
     * tm - accounting module<br>
<br>
A question:<br>
<br>
Is rms_play() done asynchronously or does it reserve the K process that<br>
handled the request for the duration of the play?<br>
<br>
-- Juha<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Development Mailing List<br>
<a href="mailto:sr-dev@lists.kamailio.org" target="_blank">sr-dev@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</blockquote></div>