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 794363 - webrtc: Some API fixup
webrtc: Some API fixup
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other All
: Normal blocker
: 1.14.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-03-15 15:32 UTC by Sebastian Dröge (slomo)
Modified: 2018-03-16 08:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
webrtc: Add some locks to setters and remove non-existing functions from headers (6.22 KB, patch)
2018-03-15 15:33 UTC, Sebastian Dröge (slomo)
committed Details | Review
webrtc: Remove unused parameter from rtpsender constructor (1.44 KB, patch)
2018-03-15 15:33 UTC, Sebastian Dröge (slomo)
committed Details | Review

Description Sebastian Dröge (slomo) 2018-03-15 15:32:59 UTC
.
Comment 1 Sebastian Dröge (slomo) 2018-03-15 15:33:03 UTC
Created attachment 369739 [details] [review]
webrtc: Add some locks to setters and remove non-existing functions from headers
Comment 2 Sebastian Dröge (slomo) 2018-03-15 15:33:08 UTC
Created attachment 369740 [details] [review]
webrtc: Remove unused parameter from rtpsender constructor
Comment 3 Nirbheek Chauhan 2018-03-15 15:36:11 UTC
(In reply to Sebastian Dröge (slomo) from comment #2)
> Created attachment 369740 [details] [review] [review]
> webrtc: Remove unused parameter from rtpsender constructor

This looks like a placeholder so that it can be used in the future, maybe we want to add G_GNUC_UNUSED to it instead?
Comment 4 Sebastian Dröge (slomo) 2018-03-15 15:36:51 UTC
I'm not entirely sure how this API is supposed to be used though. Should one look at the struct fields directly (in that case we should really add getters/setters for that).

Also in the ICE transport the setters could be GObject properties, I believe?
Comment 5 Sebastian Dröge (slomo) 2018-03-15 15:38:09 UTC
(In reply to Nirbheek Chauhan from comment #3)
> (In reply to Sebastian Dröge (slomo) from comment #2)
> > Created attachment 369740 [details] [review] [review] [review]
> > webrtc: Remove unused parameter from rtpsender constructor
> 
> This looks like a placeholder so that it can be used in the future, maybe we
> want to add G_GNUC_UNUSED to it instead?

I think all this API will change quite a bit. It seems better to not have an unused parameter there that people might think has an effect
Comment 6 Matthew Waters (ystreet00) 2018-03-16 00:36:05 UTC
Review of attachment 369739 [details] [review]:

Ack
Comment 7 Matthew Waters (ystreet00) 2018-03-16 00:36:21 UTC
Review of attachment 369740 [details] [review]:

Ack
Comment 8 Sebastian Dröge (slomo) 2018-03-16 08:37:51 UTC
Attachment 369739 [details] pushed as 950ead9 - webrtc: Add some locks to setters and remove non-existing functions from headers
Attachment 369740 [details] pushed as b1ca763 - webrtc: Remove unused parameter from rtpsender constructor