on-bye-ssrc not implemented?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

on-bye-ssrc not implemented?

Dirk Griffioen-2
Hi,

I have a small python-gst app based on
http://blog.abourget.net/2009/6/14/gstreamer-rtp-and-live-streaming.

This works great!

However, when I implement a callback for the 'on-bye-ssrc' like

def on_bye_ssrc(self, session, ssrc, userdata):
        print 'bye', session, ssrc

self.rtpbin.connect('on-new-ssrc', self.on_new_ssrc)

it is never called when the rtp producer leaves the scene (killing it or
stopping the producing pipeline programatically by calling
udpsink_rtcpout.set_locked_state(gst.STATE_NULL)).

I believe it should be called as rfc 3550 states '

A site sends the RTCP BYE packet (Section 6.6) when it leaves the conference.


What am I doing wrong? As on-new-ssrc does get called  ...

Thanks in advance!

Dirk


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: on-bye-ssrc not implemented?

Dirk Griffioen-2
Sorry, wrong example. I meant:

def on_bye_ssrc(self, session, ssrc, userdata):
      print 'bye', session, ssrc

rtpbin.connect('on-bye-ssrc', on_bye_ssrc)
     
Best, Dirk

> Hi,
>
> I have a small python-gst app based on
> http://blog.abourget.net/2009/6/14/gstreamer-rtp-and-live-streaming.
>
> This works great!
>
> However, when I implement a callback for the 'on-bye-ssrc' like
>
> def on_bye_ssrc(self, session, ssrc, userdata):
>         print 'bye', session, ssrc
>
> self.rtpbin.connect('on-new-ssrc', self.on_new_ssrc)
>
> it is never called when the rtp producer leaves the scene (killing it or
> stopping the producing pipeline programatically by calling
> udpsink_rtcpout.set_locked_state(gst.STATE_NULL)).
>
> I believe it should be called as rfc 3550 states '
>
> A site sends the RTCP BYE packet (Section 6.6) when it leaves the conference.
>
>
> What am I doing wrong? As on-new-ssrc does get called  ...
>
> Thanks in advance!
>
> Dirk
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel