GNOME Bugzilla – Bug 667848
rtpsession: Add thread safe method to retrieve sdes and stats from source.
Last modified: 2018-11-03 14:45:14 UTC
Created attachment 205169 [details] [review] patch The previous way of retrieving stats/sdes was by first getting a ref to the rtpsource and then querying the property on the source. That is unsafe as there are no locks in rtpsource, the rtpsession needs to be locked. So add accessible function to access the properties of the rtpsource through the rtpsession.
Pascal is raising a very good point, we should probably deprecate the rtpsource exposing API with a big fat warning and expose a safer API. The probation property on the source should also be made safer somehow also. I also still think that having to fish out the rtpsession from the rtpbin is a pretty terrible API for the stats, we should have something on rtpbin.
This bug is still valid... But no one else has complained in years. Is someone using something similar? Havard: Are you using this at pexip?
-- 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-good/issues/54.