Disabling synchronization in udpsink for reverse playback

dv dv at pseudoterminal.org
Fri Sep 21 02:39:32 PDT 2012


On 2012-09-21 11:36, Wim Taymans wrote:
> On 09/21/2012 10:45 AM, Muzzu Daniela wrote:
>>
>> Hi,
>>
>> I have a question related to the following bug (marked as INVALID),
>> where it was proposed to disable sync in udpsink for live streams:
>>
>> https://bugzilla.gnome.org/show_bug.cgi?id=665435
>>
>> It has been replied that sync should be set to TRUE in all cases.
>>
>> But, what about reverse playback? The server has to send chunks in
>> reverse order, with a non-regular increase of timestamps. Does it make
>> sense to set sync property to FALSE in this case?
>>
> No, the running-time (what udpsink synchronizes to) increases
> monotonically in all cases. There is no need to disable
> sync on udpsink in any case.
>
> Wim
>>
>> Thanks,
>>
>> Daniela
>>
>>
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

I'm curious - what is the benefit of leaving sync on with udpsink? The 
only reason I can think of is to prevent 100% CPU usage on the sender 
side and flooding the network, but if there is something that holds the 
sender back (for example, an alsasrc), then what other reason is there?


More information about the gstreamer-devel mailing list