Udp 如何使用gstreamer多路复用两个x-rtp流?

Udp 如何使用gstreamer多路复用两个x-rtp流?,udp,gstreamer,h.264,rtp,Udp,Gstreamer,H.264,Rtp,我想使用udpsink通过同一端口传输音频和视频。这可能吗 我试过这个管道: gst-launch \ rtpmux name=mux ! udpsink clients=[client IP]:[client port] sync=false async=false -v \ videotestsrc ! ffenc_h264 ! rtph264pay ! mux.sink_0 \ audiotestsrc is-live=true ! mad ! rtpmpapay ! mux.sin

我想使用udpsink通过同一端口传输音频和视频。这可能吗

我试过这个管道:

gst-launch \

rtpmux name=mux ! udpsink clients=[client IP]:[client port] sync=false async=false -v \

videotestsrc ! ffenc_h264 ! rtph264pay ! mux.sink_0 \

audiotestsrc is-live=true ! mad ! rtpmpapay ! mux.sink_1
但它不起作用。有什么建议吗?

只有在两个流具有完全相同的时钟频率时才有效
rtph264支付
传递至少为
90000
的时钟频率,我几乎可以保证您的音频流不匹配