hi all,
I am using gstrtpbin for a conference. i am trying to get the cname of a gstreamer to differentiate participants in multi party conference to identify audio and video of a particular participant. but i didn't get it how to get it. i have tried to get it by the possible various callbacks available(pad-added,pad-added,on-ssrc-sdes) but no luck. we can get by adding a add_watch as a message but i wanted it before/at the time pad-added getting called. i have seen a similar post(link below) in but my requirement is different i don't want to wait till message to come on bus as i needed it before. http://gstreamer-devel.966125.n4.nabble.com/Gstrtpbin-one-RtpSession-several-quot-on-new-ssrc-quot-calls-td3815649.html how can i get it please help guys. thanks, bujji |
hi all,
me again... i could not able to get relation between ssrc and cname. is there any mechanism(api) to find cname by ssrc or ssrc by cname in gsrtpbin ? i could not differentiate which ssrc is related to which cname when more participants are there in conference. please help me thanks, bujji |
Hi,
have you ever managed to do what you wanted? I am currently stuck with the exact same problem (also developing a conferencing solution). I need to distinguish the sending hosts to send each of them a different audio back (each participant should hear everybody but himself of course). Your help is greatly appreciated!! |
try using on-ssrc-sdes callback i am putting python code here change accordingly in C if you want def rtpbin_ssrc_sdes(self, rtpbin, sessid,ssrc):
session = rtpbin.emit("get-internal-session", sessid) source = session.emit("get-source-by-ssrc", ssrc) sdes = source.get_property('sdes')
cname = str(sdes['cname']) thanks, bujji On Wed, Feb 22, 2012 at 10:01 PM, minimalniemand <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Finally!! Thank you so much!!
I will try this immediately! On Thu, Feb 23, 2012 at 6:05 AM, B U J J I <[hidden email]> wrote:
-- Michael Niemand Albusstr. 17
60313 Frankfurt/M Germany Tel.: +49 (0) 69 200 130 60 _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Wow, this is WAY more complicated in java. You have to use the low level API since there is no get-internal-session function. Maybe this should be implemented for more convenience?
I can hardly imagine that getting the socket of a connected client is a task that is only rarely used ... On Thu, Feb 23, 2012 at 9:17 AM, Michael Niemand <[hidden email]> wrote: Finally!! Thank you so much!! -- Michael Niemand Albusstr. 17
60313 Frankfurt/M Germany Tel.: +49 (0) 69 200 130 60 _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |