After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 740024 - rtspconnection: Need to implement to get current queued messages and amount of bytes
rtspconnection: Need to implement to get current queued messages and amount o...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other All
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 738990 (view as bug list)
Depends on:
Blocks: 738990
 
 
Reported: 2014-11-12 15:48 UTC by Hyunjun Ko
Modified: 2018-11-03 11:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rtspconnection: Get current queued messages and amount of bytes (2.29 KB, patch)
2014-11-12 16:16 UTC, Hyunjun Ko
needs-work Details | Review
Minor fixes update (2.78 KB, patch)
2014-11-24 13:41 UTC, Hyunjun Ko
none Details | Review
rtspconnection: get current queued messages and amount of bytes (3.16 KB, patch)
2015-04-27 11:32 UTC, Hyunjun Ko
none Details | Review
rtspconnection: get current queued messages and amount of bytes (2.87 KB, patch)
2015-04-27 11:37 UTC, Hyunjun Ko
none Details | Review

Description Hyunjun Ko 2014-11-12 15:48:48 UTC
Currently, rtspconnection supports to get maximum bytes and the number of messages in the queue by the function gst_rtsp_watch_get_send_backlog.

But it's not supporred to get current status of the queue.
I think it's needed by user, especially, who needs to know the current status like amount of bytes queued.
If users get it, user could control flow data manually by adjusting bitrate or something like that.

If a function gst_rtsp_watch_get_current_backlog is implemented, it would be good. 
What do you think about this?
Comment 1 Sebastian Dröge (slomo) 2014-11-12 15:51:54 UTC
Also see bug #738990
Comment 2 Hyunjun Ko 2014-11-12 16:02:46 UTC
Oh. There was exactly same issue in gst-rtsp-server.
I think if this function is supported, gst-rtsp-server could use this function to provide current information to user.
Comment 3 Hyunjun Ko 2014-11-12 16:16:39 UTC
Created attachment 290527 [details] [review]
rtspconnection: Get current queued messages and amount of bytes
Comment 4 Luis de Bethencourt 2014-11-18 15:02:24 UTC
Hyunjun's patch looks good to me. Follows the same style as the function gst_rtsp_watch_get_send_backlog() above.

My +1 but will wait for further review.
Comment 5 Reynaldo H. Verdejo Pinochet 2014-11-18 15:33:14 UTC
Comment on attachment 290527 [details] [review]
rtspconnection: Get current queued messages and amount of bytes

Hyunjun: Thanks for your patch. It seems correct but I'm
not the one making a final decision on it. While you wait
for someone else's review please fix the following:

Add the bug # to your patch commit message. You can look
for an example on how to do it from some other patches here
on bugzilla.

Add a "Since:" API marking to your function documentation,
I consulted internally and this one will likely be in for
1.6 so feel free to go with that version.

There are some associated documentation changes missing, run
make check-exports with your patch applied for a hint.

Please submit a new patch after these minor fixes.

Thanks a lot.
Comment 6 Hyunjun Ko 2014-11-19 12:53:41 UTC
Thanks for guide in detail.
I'm going to work on it.
Comment 7 Hyunjun Ko 2014-11-24 13:41:07 UTC
Created attachment 291361 [details] [review]
Minor fixes update
Comment 8 Hyunjun Ko 2015-04-27 11:32:07 UTC
Created attachment 302436 [details] [review]
rtspconnection: get current queued messages and amount of bytes

Rebased on git master
It's needed to get current status, such like the issue https://bugzilla.gnome.org/show_bug.cgi?id=738990
Comment 9 Hyunjun Ko 2015-04-27 11:37:54 UTC
Created attachment 302438 [details] [review]
rtspconnection: get current queued messages and amount of bytes

Sorry. Rebased.
Comment 10 Sebastian Dröge (slomo) 2018-07-23 15:06:43 UTC
*** Bug 738990 has been marked as a duplicate of this bug. ***
Comment 11 GStreamer system administrator 2018-11-03 11:32:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/142.