Well, there is one option:

you can create a pcap-file containing _both_ audio and video.

Then you can use
<nop>
  <action>
    <exec play_pcap_audio="audiovideo.pcap"/>
  </action>
</nop>

This worked in 90% of all test-pcaps. Sometimes we (our students)
noticed, that it does only work if the first packet in the pcap-file is
an audio packet,

br
Michael

Am 12/21/2011 02:56 PM, schrieb Greg Thomas:
> You can only play one pcap file at a time; so you'll need to put a
> delay between the first and second ones to give the first one time to
> complete. e.g.
> 
> <nop>
>   <action>
>     <exec play_pcap_audio="g711t2.pcap"/>
>   </action>
> </nop>
> <pause milliseconds="25000"/> <!-- or however long is required -->
> <nop>
>   <action>
>     <exec play_pcap_video="263.cap"/>
>   </action>
> </nop>
> 
> Greg
> 
> 2011/12/21 做些什么好呢 <123544...@qq.com>:
>> in my uac xml with sipp ,I want to play audio and video pcap file same time
>> ,like following:
>>
>> <nop>
>>   <action>
>>    <exec play_pcap_audio="g711t2.pcap"/>
>>     <exec play_pcap_video="263.cap"/>
>>         </action>
>>   </nop>
>>
>> I found sipp only plays the video file . If i erase the '    <exec
>> play_pcap_video="263.cap"/>
>> ' ,the audio file can be played successfully,so the two media file are both
>> ok.
>>
>> so ,what can i do to play the two file same time.
>>
>> tks for your answer ,thank you!

-- 
Michael Hirschbichler, Mag. Dipl.-Ing.
Institute of Telecommunications
Vienna University of Technology
A-1040 Wien, Favoritenstr. 9-11/388
Phone: +43 1 58801 38846

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to