标签:测试 rtp 命令 latency location 远程 port dia files
是通过gst-launch进行测试的命令。
发送端:
daniel@ubuntu:~$ gst-launch-1.0 -v filesrc location = bg.mp3 ! decodebin ! audioconvert ! rtpL16pay ! udpsink host=127.0.0.1 port=5000
接收端:
daniel@ubuntu:~$ gst-launch-1.0 udpsrc port=5000 caps=‘application/x-rtp, media=(string)audio, clock-rate=(int)44100, channels=(int)2‘ ! rtpjitterbuffer latency=400 ! rtpL16depay ! pulsesink
【Gstreamer】 Gstreamer中通过UDP(RTP)远程播放MP3
标签:测试 rtp 命令 latency location 远程 port dia files
原文地址:http://www.cnblogs.com/XiaodongZhang/p/6609967.html