qos event does not appear

Nicolas Dufresne nicolas at ndufresne.ca
Thu Jul 16 18:41:54 UTC 2020


Le jeudi 16 juillet 2020 à 09:25 -0500, nishitha a écrit :
> Hi,
> 
> I added a custom code in gstsouphttpsrc.c to check for network
> disconnection.The code detects a network reconnection, but after the
> reconnection, I does not see qos event from downstream elements.
> 
> /0:00:10.459556441 15872 0x5577a069ae30 DEBUG                basesrc
> gstbasesrc.c:2360:gst_base_src_do_sync:<souphttpsrc0> no sync needed
> 0:00:10.459586754 15872 0x5577a069ae30 DEBUG                basesrc
> gstbasesrc.c:2597:gst_base_src_get_range:<souphttpsrc0> buffer ok
> 0:00:10.459637516 15872 0x5577a069ae30 DEBUG                basesrc
> gstbasesrc.c:2399:gst_base_src_update_length:<souphttpsrc0> reading offset
> 328655, length 4096, size -1, segment.stop -1, maxsize -1
> 0:00:10.459667130 15872 0x5577a069ae30 DEBUG                basesrc
> gstbasesrc.c:2506:gst_base_src_get_range:<souphttpsrc0> calling create
> offset 328655 length 4096, time 0
> 0:00:10.478846599 15872 0x5577a069af70 DEBUG                basesrc
> gstbasesrc.c:2027:gst_base_src_default_event:<souphttpsrc0> handle event qos
> event: 0x7f663c019ac0, time 99:99:99.999999999, seq-num 633, GstEventQOS,
> type=(GstQOSType)GST_QOS_TYPE_OVERFLOW,
> proportion=(double)0.055292011905242383, diff=(gint64)-37472482,
> timestamp=(guint64)7200000000;
> Read 1344 bytes of size : 4096/
> 
> 
> The log is obtained before network disconnection. Once connection is lost
> and reconnected, the QOS event log is not obtained. 

QOS events are sent by sink when something is renders, so that upstream element
can gain awarness of the render position. There is not relationship with network
disconnect, in fact, QoS event are not used with compress data.

> 
> What can be the reason ?
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list