First, regarding the possibility to play audio and video at the same time, SIPp version 3.2 had a bug and it didn't work. I sent a patch to this list a long time ago fixing this problem. I don't know if the latest version had the patch applied or fixed this bug in any other way... I haven't used it yet... Regarding the loop I think it is just a matter of placing the two play_pcap lines in the code I sent.
Patrick On Wed, Nov 6, 2013 at 9:15 AM, Azer, Michael (Michael) **CTR** < [email protected]> wrote: > Hi, > > > > Thanks you for taking your time and helping me with this issue. > > > > This is my script: > > > > </send> > > - <nop> > > - <action> > > <exec play_pcap_audio="G722.pcap" /> > > <exec play_pcap_video="264_SR_15fps.pcap" /> > > </action> > > </nop> > > <pause milliseconds="120000" /> > > > > I am playing video and Audio at the same time, and I need to keep playing > them both of them at same time in a loop mode > > > > Can it be done? > > > > Thanks > > Michael > > > > *From:* Patrick Wakano [mailto:[email protected]] > *Sent:* Wednesday, November 06, 2013 1:09 PM > *To:* Azer, Michael (Michael) **CTR** > *Cc:* [email protected] > *Subject:* Re: [Sipp-users] Run pcap file with Loop > > > > Currently, there is no way to instruct the play_pcap to loop... > > However once I could loop a play_pcap using this piece of xml code. I'm > not sure if you can copy and paste it and it will work right away, cause > actually I never used it in my load tests... It was in one of my old > scripts that I keep for reference.... > > > > <Global variables="speech_continue" /> > > <Global variables="counter" /> > > > > <!-- > > ##### Establish your call ##### > > --> > > <!-- Play g711a.pcap 5 times --> > > <label id="call"/> > > <nop> > > <action> > > <exec play_pcap_audio="pcap/g711a.pcap"/> > > <warning message="playing"/> > > </action> > > </nop> > > <pause milliseconds="12000"/> > > > > <nop> > > <action> > > <test assign_to="speech_continue" variable="counter" > compare="less_than" value="5" /> > > <warning message="speech_continue=[$speech_continue], > counter=[$counter]"/> > > </action> > > </nop> > > <nop> > > <action> > > <add assign_to="counter" value="1" /> > > </action> > > </nop> > > <nop next="call" test="speech_continue"> > > </nop> > > > > <!-- > > ##### Terminate your call ##### > > --> > > > > On Thu, Oct 31, 2013 at 7:20 AM, Azer, Michael (Michael) **CTR** < > [email protected]> wrote: > > Hi, > > > > My name is Michael and and I am using SIPp to test voice and video at my > company. > > I would like to thank you for the powerful free SIPp application. > > > > I am using SIPp to open Video and voice call and to inject pcap files > (Video and Vocie) : > > > > *PCAP play* commands (specified using play_pcap_audio / play_pcap_video > attributes) allow you to send a pre-recorded RTP stream using the pcap > library <http://www.tcpdump.org/pcap3_man.html>. > > Choose *play_pcap_audio* to send the pre-recorded RTP stream using the > "m=audio" SIP/SDP line port as a base for the replay. > > Choose *play_pcap_video* to send the pre-recorded RTP stream using the > "m=video" SIP/SDP line port as a base. > > The play_pcap_audio/video command has the following format: > play_pcap_audio="[file_to_play]" with: > > ยท file_to_play: the pre-recorded pcap file to play > > > > Following your documentation I can play my video/Audio file once only , > and I need the capability to run it with LOOP mode to test Load over my > system. > > > > I checked and found that you have this option with rtp stream : > > <exec rtp_stream="[filename],[loopcount],[payloadtype]" /> > > > > > > > > Do you know if I can run pcap with loop mode or there is any plan to do it > in the future? > > > > > > Best Regards, > > *Michael Azer* > > [image: Description: Description: Description: Description: Description: > Description: rad] > > +972.3.767.9372 office | +972.549701544 mobile | www.radvision.com > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > Sipp-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sipp-users > > >
<<image001.jpg>>
------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
