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 746747 - rtpsession: Also report internal sources in on-new-ssrc and on-ssrc-active
rtpsession: Also report internal sources in on-new-ssrc and on-ssrc-active
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other All
: Normal normal
: 1.7.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 753787 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-03-25 14:28 UTC by Sebastian Dröge (slomo)
Modified: 2015-10-02 13:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rtpsession: Also report internal sources in on-new-ssrc and on-ssrc-active (2.04 KB, patch)
2015-03-25 14:28 UTC, Sebastian Dröge (slomo)
rejected Details | Review
rtpmanager: add new on-new-sender-ssrc, on-sender-ssrc-active signals (14.02 KB, patch)
2015-08-20 04:47 UTC, Hyunjun Ko
none Details | Review
stream: listen to sender ssrc signals (3.11 KB, patch)
2015-08-20 04:57 UTC, Hyunjun Ko
none Details | Review
rtpmanager: add new on-new-sender-ssrc, on-sender-ssrc-active signals (14.02 KB, patch)
2015-08-20 07:25 UTC, Hyunjun Ko
none Details | Review
rtpmanager: add new on-new-sender-ssrc, on-sender-ssrc-active signals (14.02 KB, patch)
2015-10-02 08:01 UTC, Hyunjun Ko
committed Details | Review
stream: listen to sender ssrc signals (3.11 KB, patch)
2015-10-02 08:01 UTC, Hyunjun Ko
committed Details | Review

Description Sebastian Dröge (slomo) 2015-03-25 14:28:48 UTC
See commit message :)
Comment 1 Sebastian Dröge (slomo) 2015-03-25 14:28:53 UTC
Created attachment 300280 [details] [review]
rtpsession: Also report internal sources in on-new-ssrc and on-ssrc-active

Without this it seems impossible for an application to easily get notified
about the internal ssrcs that are created, e.g. sender sources, and also
to know when they are active and produce RTCP packets.
Comment 2 Sebastian Dröge (slomo) 2015-03-26 11:15:52 UTC
The use case here is to get the sender ssrc, and then whenever on-ssrc-active is emitted get the rtp stats from the source that corresponds to that ssrc.

I don't see how this is easily possible otherwise currently. Distinguishing sender from non-sender ssrcs can be done by checking the "is-sender" property on the source if that is necessary for something.
Comment 3 Sebastian Dröge (slomo) 2015-05-06 09:22:01 UTC
commit d22ec496328e6ba8edbf2d071d5608b2af2831e8
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Wed Mar 25 15:27:34 2015 +0100

    rtpsession: Also report internal sources in on-new-ssrc and on-ssrc-active
    
    Without this it seems impossible for an application to easily get notified
    about the internal ssrcs that are created, e.g. sender sources, and also
    to know when they are active and produce RTCP packets.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746747
Comment 4 Sebastian Dröge (slomo) 2015-05-07 12:53:21 UTC
commit 27729a2960763411362623d71ee05b734f325305
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Thu May 7 14:51:45 2015 +0200

    Revert "rtpsession: Also report internal sources in on-new-ssrc and on-ssrc-active"
    
    This reverts commit d22ec496328e6ba8edbf2d071d5608b2af2831e8.
    
    Application code might expect that it only gets external sources on those
    signals, and get confused by this. If anything we would need to add new
    signals.
Comment 5 Hyunjun Ko 2015-08-19 08:05:46 UTC
*** Bug 753787 has been marked as a duplicate of this bug. ***
Comment 6 Hyunjun Ko 2015-08-19 08:08:42 UTC
Sebastian,
so, we can add new signal for this?

One more question, 
It's same reason for why PROP_INTERNAL_SSRC and PROP_INTERNAL_SOURCE ared deprecated?
Comment 7 Olivier Crête 2015-08-19 15:44:37 UTC
We could add a "on-new-sender-ssrc" and "on-sender-ssrc-active" ?
Comment 8 Sebastian Dröge (slomo) 2015-08-19 18:21:26 UTC
Yeah, sounds like the best approach
Comment 9 Hyunjun Ko 2015-08-20 04:47:06 UTC
Created attachment 309668 [details] [review]
rtpmanager: add new on-new-sender-ssrc, on-sender-ssrc-active signals
Comment 10 Hyunjun Ko 2015-08-20 04:57:02 UTC
Created attachment 309669 [details] [review]
stream: listen to sender ssrc signals

Listen new signals in gst-rtsp-server
Comment 11 Sebastian Dröge (slomo) 2015-08-20 07:18:49 UTC
Comment on attachment 309668 [details] [review]
rtpmanager: add new on-new-sender-ssrc, on-sender-ssrc-active signals

Looks good but please update the Since markers to 1.8
Comment 12 Hyunjun Ko 2015-08-20 07:25:57 UTC
Created attachment 309677 [details] [review]
rtpmanager: add new on-new-sender-ssrc, on-sender-ssrc-active signals

Changes marker to 1.8
Comment 13 Hyunjun Ko 2015-10-02 08:01:08 UTC
Created attachment 312546 [details] [review]
rtpmanager: add new on-new-sender-ssrc, on-sender-ssrc-active signals

Rebased on the latest master
Comment 14 Hyunjun Ko 2015-10-02 08:01:49 UTC
Created attachment 312547 [details] [review]
stream: listen to sender ssrc signals

Rebased on the latest master
Comment 15 Sebastian Dröge (slomo) 2015-10-02 13:41:16 UTC
commit 2b1f52755df222d56f1e9c4a52826539e8f9c062
Author: Hyunjun Ko <zzoon.ko@samsung.com>
Date:   Fri Oct 2 16:16:32 2015 +0900

    rtpmanager: add new on-new-sender-ssrc, on-sender-ssrc-active signals
    
    Allows for applications to get internal source's RTP statistics.
    (eg. sender sources for a server/client)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746747


commit a51337974cdb1aa56db5e4ef87a1bb52a7423979
Author: Hyunjun Ko <zzoon.ko@samsung.com>
Date:   Fri Oct 2 16:11:05 2015 +0900

    stream: listen to sender ssrc signals
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746747