This post was updated on .
Hi,
I added a custom code in gstsouphttpsrc.c to check for network disconnection.I get the below log continoulsy. /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/ But after network reconnection, I get the following log. GST_EVENT gstpad.c:5693:gst_pad_send_event_unchecked:<queue0:src> have event type qos event: 0x7fe09c3ac2d0, time 99:99:99.999999999, seq-num 496, GstEventQOS, type=(GstQOSType)GST_QOS_TYPE_UNDERFLOW, proportion=(double)56.998611474999997, diff=(gint64)18170138826, timestamp=(guint64)4360000000 The qos overflow log becomes underflow and further logs are not obtained. The video streaming also does not continue. What can be the reason ? -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list gstreamer-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |