Created
September 24, 2016 21:23
-
-
Save Lirrec/30b124b104600c437de12d05020ce153 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gstreamer command: | |
gst-launch-0.10 gstrtpbin name=rtpbin \ | |
v4l2src ! video/x-raw-yuv,width=640,height=480,framerate=30/1 ! ffmpegcolorspace ! ffenc_mpeg4 ! rtpmp4vpay send-config=true ! rtpbin.send_rtp_sink_0 \ | |
rtpbin.send_rtp_src_0 ! udpsink host=192.168.1.12 port=5000 \ | |
rtpbin.send_rtcp_src_0 ! udpsink host=192.168.1.12 port=5001 sync=false async=false \ | |
udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0 \ | |
alsasrc ! audio/x-raw-int,rate=16000 ! ffenc_aac ! rtpmp4apay ! rtpbin.send_rtp_sink_1 \ | |
rtpbin.send_rtp_src_1 ! udpsink host=192.168.1.12 port=5002 \ | |
rtpbin.send_rtcp_src_1 ! udpsink host=192.168.1.12 port=5003 sync=false async=false \ | |
udpsrc port=5007 ! rtpbin.recv_rtcp_sink_1 | |
Contents of the .sdp file: | |
v=0 | |
m=video 5000 RTP/AVP 96 | |
c=IN IP4 192.168.1.13 | |
a=rtpmap:96 MP4V-ES/90000 | |
a=rtcp:5001 IN IP4 192.168.1.13 | |
m=audio 5002 RTP/AVP 96 | |
a=rtpmap:96 MP4A-LATM/16000 | |
a=rtcp:5003 IN IP4 192.168.1.13 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment