On Sun, 2016-09-25 at 03:30 -0700, BogdanS wrote:
> I have two apps.
> One takes audio from some source, rtp payload and sends it to udpsink.
> Second takes video from another source, rtp payload and sends to udpsink.
>
> On reciever side I recive two streams and save them to pcap's.
>
> My problem that sometimes I turn off for sec audio source, and sometimes
> videosource.
> When I try to convert pcap to avi, it's not synchronized.
>
> How I can to do synchronization( when saving to file) when I receive from
> two different sources?
> Usually what way people uses?
There are no means for synchronization between different streams in RTP
alone, only for a single stream by itself. You need additional
information from elsewhere to do that.
This is provided by RTCP for example, or a higher-level protocol like
RTSP. Just dumping different RTP streams to a PCAP will not preserve
any of this information.
--
Sebastian Dröge, Centricular Ltd ·
http://www.centricular.com_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel