SIPp支持在通话中同时播放音视频文件吗?谢谢。我能够发起sip音频呼叫。我想要实现的是,在被叫方摘机后,同时播放音视频文件。我想使用命令行参数来实现这一点。以前有人这么做过吗?
发布于 2015-09-02 16:37:06
您应该能够像播放预先录制的音频文件一样执行此操作。请参考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:https://stackoverflow.com/questions/32001504
复制相似问题