如何在SIPp中一起播放音频和视频文件

时间:2015-08-14 02:46:35

标签: sip

SIPp是否支持在通话中一起播放音频和视频文件?谢谢。 我能够发起一个SIP音频通话。我想要实现的是,在被叫方接听电话后,一起播放音频和视频文件。 我想使用命令行参数来实现这一点。有人曾经这样做过吗?

1 个答案:

答案 0 :(得分:0)

您应该能够像播放预先录制的音频文件一样进行。请参阅SIPp文档中的相关部分:

PCAP (media) commands

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.
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:
相关问题